| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
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
|