summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJedrzej Nowacki <jedrzej.nowacki@nokia.com>2010-02-25 10:36:59 (GMT)
committerJedrzej Nowacki <jedrzej.nowacki@nokia.com>2010-02-25 12:01:02 (GMT)
commit0e9c766829b9271c4f226b99b1484be944ffe493 (patch)
tree76a0f4fd191193581b7d3dbd78020f75b70a04b1 /tests
parent40e6d23243acbed2705bd53cd1e634697ba99ac2 (diff)
downloadQt-0e9c766829b9271c4f226b99b1484be944ffe493.zip
Qt-0e9c766829b9271c4f226b99b1484be944ffe493.tar.gz
Qt-0e9c766829b9271c4f226b99b1484be944ffe493.tar.bz2
New data set for QScriptValue autotest generator.
New tests data was added. The tests cover a qscriptvalue created by QScriptEngine newQMetaObject(), newVariant() and newQObject() functions. Reviewed-by: Kent Hansen
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qscriptvalue/testgen/data.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qscriptvalue/testgen/data.txt b/tests/auto/qscriptvalue/testgen/data.txt
index 2ab2fc9..73677ec 100644
--- a/tests/auto/qscriptvalue/testgen/data.txt
+++ b/tests/auto/qscriptvalue/testgen/data.txt
@@ -153,3 +153,9 @@ engine->newObject()
engine->newArray()
engine->newArray(10)
engine->newDate(QDateTime())
+engine->newQMetaObject(&QObject::staticMetaObject)
+engine->newVariant(QVariant())
+engine->newVariant(QVariant(123))
+engine->newVariant(QVariant(false))
+engine->newQObject(0)
+engine->newQObject(engine) \ No newline at end of file