diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-05-18 12:04:14 +1000 |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2011-05-18 16:11:33 +1000 |
commit | 871e8fe8dc562b77e759ac876f1c7d17cac1a81f (patch) | |
tree | a4aa59a09802930296fe9c6b9dddc9a6442b9ce5 /tests | |
parent | 49babe02f0a00fe2baff3950fbdcb725ce20d772 (diff) |
Remove Q_ASSERT's from qdbustype autotest
Change-Id: I276750d8acda3744ee8a9c424b2da0a08e8c7461
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qdbustype/tst_qdbustype.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/qdbustype/tst_qdbustype.cpp b/tests/auto/qdbustype/tst_qdbustype.cpp index 676a9040be..2a10fe1886 100644 --- a/tests/auto/qdbustype/tst_qdbustype.cpp +++ b/tests/auto/qdbustype/tst_qdbustype.cpp @@ -185,8 +185,8 @@ void tst_QDBusType::isValidFixedType() QFETCH(QString, data); QFETCH(bool, result); QFETCH(bool, isValid); - Q_ASSERT_X(data.length() == 1, "tst_QDBusType", "Test is malformed, this function must test only one-letter types"); - Q_ASSERT(isValid || (!isValid && !result)); + QVERIFY2(data.length() == 1, "Test is malformed, this function must test only one-letter types"); + QVERIFY(isValid || (!isValid && !result)); int type = data.at(0).unicode(); if (isValid) @@ -207,8 +207,8 @@ void tst_QDBusType::isValidBasicType() QFETCH(QString, data); QFETCH(bool, result); QFETCH(bool, isValid); - Q_ASSERT_X(data.length() == 1, "tst_QDBusType", "Test is malformed, this function must test only one-letter types"); - Q_ASSERT(isValid || (!isValid && !result)); + QVERIFY2(data.length() == 1, "Test is malformed, this function must test only one-letter types"); + QVERIFY(isValid || (!isValid && !result)); int type = data.at(0).unicode(); if (isValid) |