diff options
Diffstat (limited to 'tests/client')
-rw-r--r-- | tests/client/actiongrouptest.cpp | 1 | ||||
-rw-r--r-- | tests/client/convertertest.cpp | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/client/actiongrouptest.cpp b/tests/client/actiongrouptest.cpp index 425f97c..3ab329c 100644 --- a/tests/client/actiongrouptest.cpp +++ b/tests/client/actiongrouptest.cpp @@ -43,7 +43,6 @@ private: // Get Action QVariant action = m_model.data(m_model.index(index, 0), QMenuModel::Action); QVERIFY(action.isValid()); - printf("aCTION IS %s\n",action.toString().toUtf8().data()); *act = m_actionGroup.action(action.toString()); QVERIFY(act); } diff --git a/tests/client/convertertest.cpp b/tests/client/convertertest.cpp index ddb6aa2..636c299 100644 --- a/tests/client/convertertest.cpp +++ b/tests/client/convertertest.cpp @@ -158,7 +158,7 @@ private Q_SLOTS: QTest::newRow("double from int") << QVariant::fromValue<int>(1) << "d"; // convert to string - QTest::newRow("string") << QVariant::fromValue<QString>("FoooBar") << "x"; + QTest::newRow("string") << QVariant::fromValue<QString>("FoooBar") << "s"; QTest::newRow("string from int") << QVariant::fromValue<int>(1) << "s"; QTest::newRow("string from double") << QVariant::fromValue<double>(1.1) << "s"; @@ -190,7 +190,7 @@ private Q_SLOTS: QFETCH(QVariant, value); QFETCH(QString, schema); - compareWithSchema(value, schema); + QVERIFY(compareWithSchema(value, schema)); } }; |