Remove Q_ASSERT's from qdbustype autotest
Change-Id: I276750d8acda3744ee8a9c424b2da0a08e8c7461 Task-number: QTBUG-17582 Reviewed-by: Rohan McGovernbb10
parent
49babe02f0
commit
871e8fe8dc
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue