| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
|
| |
Reviewed-by: Trust Me
(cherry picked from commit ac5c099cc3c5b8c7eec7a49fdeb8a21037230350)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QScriptValue autotest suite compile 24 minutes on MSVS2008 which is
unacceptable. Modification tries to reduce the compilation time.
Temples were changed to use static arrays of data; instead of inserting
values directly, they are inserted in a loop (less code to optimize).
Generated code were separated into several files (better usage of
distributed compiling).
Reviewed-by: Kent Hansen
|
|
|
|
|
|
|
| |
New tests data was added. The tests cover a qscriptvalue created by
QScriptEngine newQMetaObject(), newVariant() and newQObject() functions.
Reviewed-by: Kent Hansen
|
|
|
|
|
|
|
|
| |
Few test cases were added. They test values returned from
QScriptEngine functions; evaluate(), newDate(), newObject() and
newArray().
Reviewed-by: Kent Hansen
|
|
|
|
|
|
|
|
|
| |
Each generated test case should check if a result is deterministic. The
future generation of QScriptValue will be based on a state machine. The
state might be changed after each function call, so it is worth of
testing if result is always the same.
Reviewed-by: Kent Hansen
|
|
|
|
|
|
| |
Fix license template inside the qscriptvalue autotest generator.
Reviewed-by: TrustMe
|
|
|
|
|
|
|
| |
Two new values were added; results from QScriptEngine::nullValue() and
QScriptEngine::undefinedValue().
Reviewed-by: Kent Hansen
|
|
|
|
|
|
|
|
|
| |
$QT_END_LICENSE was interpreted as a template key by Template() object,
causing substitute() call to throw a KeyError exception.
The bug was introduced in 9962e2d96a212c518054220167eb6f61e1052bcc.
Reviewed-by: TrustMe
|
| |
|
| |
|
|
The patch contain the QScriptValue autotest suite generator. Based on an
input it can generate expected tests results and simple tests cases.
The results are kept inside generated autotest implementation file
(cpp), which could be included by main test file (tst_qscriptvalue.cpp).
Generator gives great coverage for isXXX, toXXX, comparison methods.
The generator should be used manually and it is not compiled by default.
Reviewed-by: Kent Hansen
|