summaryrefslogtreecommitdiffstats
path: root/tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-05-09 14:52:46 +1000
committerJason McDonald <jason.mcdonald@nokia.com>2011-05-09 18:39:41 +1000
commit3b7f3757efb038fe523a00d474d1b92920f9abe8 (patch)
tree418ac08323458c227a96429d430e18d39167824a /tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp
parent00f724c943b83f10f9ca9475570708536947538e (diff)
Remove Q_ASSERT from qscriptengine autotest
Rather than aborting in debug builds and failing silently in release builds, output a meaningful warning message and return a null QScriptValue which will cause the "isQObject" check in the testfunction to fail. Change-Id: I69fd9c15a69924d0abfde6710ea6ae4bf7e013fa Task-number: QTBUG-17582 Reviewed-by: Rohan McGovern
Diffstat (limited to 'tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp')
0 files changed, 0 insertions, 0 deletions