From 8d3ffe0553eb99cba615ef21c63bbc1b3fbc16e2 Mon Sep 17 00:00:00 2001 From: Klemens David Morgenstern Date: Wed, 30 Jan 2019 23:45:46 +0800 Subject: [PATCH] broke the build --- test/test_one.hpp | 7 +++---- test/test_two.hpp | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/test/test_one.hpp b/test/test_one.hpp index bd3c4aa..8579278 100644 --- a/test/test_one.hpp +++ b/test/test_one.hpp @@ -8,7 +8,7 @@ class MyFirstTest: public QObject private: bool myCondition() { - return true; + return false; } private slots: @@ -19,14 +19,13 @@ private slots: void myFirstTest() { - QVERIFY(true); // check that a condition is satisfied - QCOMPARE(2, 2); // compare two values + QVERIFY(false); // check that a condition is satisfied + QCOMPARE(1, 2); // compare two values } void mySecondTest() { QVERIFY(myCondition()); - QVERIFY(1 != 2); } void cleanupTestCase() diff --git a/test/test_two.hpp b/test/test_two.hpp index 54951ff..06295f2 100644 --- a/test/test_two.hpp +++ b/test/test_two.hpp @@ -9,6 +9,6 @@ private slots: void someTest() { - QVERIFY2(3, "Some message"); + QVERIFY2(0, "Some message"); } }; \ No newline at end of file