diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-05-03 12:06:09 +1000 |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2011-05-18 11:02:59 +1000 |
commit | f9d986da6c6f7d12a9819dde7de6445e336d10a1 (patch) | |
tree | c6484315dab106630cde1d0021f6f8b7b2e51253 /src/scripttools/debugging/qscriptbreakpointsmodel.cpp | |
parent | 4fa2c1676a76b6f16e25ed8938475613401c9b44 (diff) | |
download | qtscript-f9d986da6c6f7d12a9819dde7de6445e336d10a1.tar.gz |
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
(cherry picked from commit a7acd7e0a09d89647abb9ff91b1bcb55d1a7a849)
Diffstat (limited to 'src/scripttools/debugging/qscriptbreakpointsmodel.cpp')
0 files changed, 0 insertions, 0 deletions