summaryrefslogtreecommitdiffstats
path: root/tests/auto/qscriptvalue/testgen
Commit message (Collapse)AuthorAgeFilesLines
* Change to release license header.Jason McDonald2011-02-164-78/+78
| | | | Reviewed-by: Trust Me
* Update copyright year to 2011.Jason McDonald2011-01-114-6/+6
| | | | | Reviewed-by: Trust Me (cherry picked from commit ac5c099cc3c5b8c7eec7a49fdeb8a21037230350)
* Optimize QScriptValue autotest generator.Jedrzej Nowacki2010-03-043-173/+245
| | | | | | | | | | | | | 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 data set for QScriptValue autotest generator.Jedrzej Nowacki2010-02-251-0/+6
| | | | | | | New tests data was added. The tests cover a qscriptvalue created by QScriptEngine newQMetaObject(), newVariant() and newQObject() functions. Reviewed-by: Kent Hansen
* New autotests cases for QScriptValue autotests generator.Jedrzej Nowacki2010-02-241-1/+36
| | | | | | | | Few test cases were added. They test values returned from QScriptEngine functions; evaluate(), newDate(), newObject() and newArray(). Reviewed-by: Kent Hansen
* QScriptValue autotest generator templates change.Jedrzej Nowacki2010-02-241-0/+8
| | | | | | | | | 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.Jedrzej Nowacki2010-02-241-2/+1
| | | | | | Fix license template inside the qscriptvalue autotest generator. Reviewed-by: TrustMe
* Add new test values to QScriptValue test generator.Jedrzej Nowacki2010-02-101-0/+4
| | | | | | | Two new values were added; results from QScriptEngine::nullValue() and QScriptEngine::undefinedValue(). Reviewed-by: Kent Hansen
* Fix an unhandled exception in QScriptValue's test generator.Jedrzej Nowacki2010-02-101-1/+1
| | | | | | | | | $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
* Autotest: to be sure, generate .cpp files with the proper headers tooThiago Macieira2010-02-031-17/+40
|
* Fix license headers on these new files (and the generator).Thiago Macieira2010-02-024-86/+190
|
* Introduce of QScriptValue autotest generator.Jedrzej Nowacki2010-02-026-0/+1076
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