| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
Using Q_ASSERT does nothing in release-mode builds, and in debug builds
it causes tests to terminate prematurely. It is much better to use
QVERIFY or QCOMPARE.
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit 3475168550c1a804f04f2a4edfeb30c04cd36551)
|
|
|
|
|
|
|
|
|
|
|
| |
Report a fatal error if an unknown type of comparison is requested
rather than failing silently in non-debug builds. Also fixes the
misspelled parameter name.
Change-Id: I84bd018aa99e99a98d97c43343032b38ca9cbccb
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit fe170938cf963e0a0a20b19f97ee6e18b6808a90)
|
|
|
|
|
|
|
|
|
|
| |
Report a fatal error if an empty test is generated rather than failing
silently in non-debug builds.
Change-Id: I79aa7a9eb09e387cef1960816a4bcce7b1af282d
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit a4f105070799d4b4362b80b77c5960b364f77000)
|
|
|
|
|
|
|
|
|
|
| |
Report a fatal error if there are problems reading from the input data
stream rather than failing silently in non-debug builds.
Change-Id: I7a913bf47dccb37bab09e1cd79e5022b04e42c27
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit 385107ebc71a74dae031b713ea5a9c54635eeff8)
|
|
|
|
|
|
|
|
|
|
|
| |
Report a fatal error when the realFail() function is missing or
misbehaving rather than silently ignoring the failure in non-debug
builds.
Change-Id: I8b27aeb1c9dab5752a5dbedafc4d420bb4121d2b
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit 20512cdab97b530ee8ec767254e553d80164b3c6)
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
(cherry picked from commit 3b7f3757efb038fe523a00d474d1b92920f9abe8)
|
|
|
|
|
|
|
|
|
|
| |
The previous change to tst_qscriptv8testsuite.cpp introduced a compile
error due to insufficient parameters to QTest::qVerify().
Change-Id: I9ea9462d830b9d796676947a3598e3c066b29180
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit 5b044c36d0d7671c8ff9776822cf0f1ad7eeec79)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
| |
Replace Q_ASSERT with QTest::qVerify, in line with the rest of this test
function.
Change-Id: Ia39e62efb9945f72a6a93fddddf36488cd456965
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit 3ba55189d9aa7d9d7c2087071dcb4d338c0feab8)
|
|
|
|
|
|
|
|
|
|
| |
Allow the extension() function to return a null QVariant, which will
cause the test to fail gracefully.
Change-Id: Ide9ef69c48f4bdd5a000f525fe9f395c27854da9
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit 8b95b4b5c09bf31f813fe39a3eec611c9daddb98)
|
|
|
|
|
|
|
|
| |
Remove code made obsolete by 2d1839e850ac632a13ff0ac3096d8419bff5082d.
Change-Id: Ic889c81f0507eb91028fa6b6c4cbf6ae71a728b0
Reviewed-by: Rohan McGovern
(cherry picked from commit 4b5a7eeacee997f0129354c9669b8e0d66ca4efa)
|
|
|
|
|
|
|
| |
This test uses private headers, so it must do QT+=script-private
Reviewed-by: Jason McDonald
Change-Id: I689ea3b6e90b2e695c4bce3fee2d6ce8a1e98cdf
|
|
|
|
|
|
|
| |
This test uses private symbols.
Reviewed-by: Jason McDonald
Change-Id: I76a07e8366bcfc0bfb3d782311799921f85893fa
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Now it reads the test cases from text files in each repository
instead.
|
|
This is the beginning of revision history for this module. If you
want to look at revision history older than this, please refer to the
Qt Git wiki for how to use Git history grafting. At the time of
writing, this wiki is located here:
http://qt.gitorious.org/qt/pages/GitIntroductionWithQt
If you have already performed the grafting and you don't see any
history beyond this commit, try running "git log" with the "--follow"
argument.
Branched from the monolithic repo, Qt master branch, at commit
896db169ea224deb96c59ce8af800d019de63f12
|