diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-05-03 02:06:09 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2011-05-04 05:23:07 (GMT) |
commit | a7acd7e0a09d89647abb9ff91b1bcb55d1a7a849 (patch) | |
tree | b1a5480665fb78923450da1c28a89eb6ac80d588 /tools | |
parent | 324b9db856f00a82d7fd3426d9b698211290efaa (diff) | |
download | Qt-a7acd7e0a09d89647abb9ff91b1bcb55d1a7a849.zip Qt-a7acd7e0a09d89647abb9ff91b1bcb55d1a7a849.tar.gz Qt-a7acd7e0a09d89647abb9ff91b1bcb55d1a7a849.tar.bz2 |
Remove Q_ASSERT's from QScriptable autotest
The helper class expects a valid script engine to be available and
attempted to verify this with Q_ASSERT (which does nothing in release
mode) and QVERIFY (which should only be used directly in test
functions). This commit makes the helper class avoid using an invalid
engine and catches the problem later by verifying that the last script
engine used by the scriptable class was valid.
Change-Id: I849df32b141b7801b9b5a92f44ff325397e32f2d
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions