From ddd7ef45d08e3a8b06c0b8c1a3064a8c4cfc24de Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 12 Oct 2019 17:45:41 +0200 Subject: [PATCH] Use CHECK() instead of CPPUNIT_ASSERT_EQUAL(), i.e. REQUIRE() Perform all the checks, even if one (or more) of them fails. --- tests/controls/gridtest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/controls/gridtest.cpp b/tests/controls/gridtest.cpp index 6e6a0da108..bae013388d 100644 --- a/tests/controls/gridtest.cpp +++ b/tests/controls/gridtest.cpp @@ -205,9 +205,9 @@ void GridTestCase::CellEdit() CHECK(m_grid->GetCellValue(1, 1) == "abab"); - CPPUNIT_ASSERT_EQUAL(1, created.GetCount()); - CPPUNIT_ASSERT_EQUAL(1, changing.GetCount()); - CPPUNIT_ASSERT_EQUAL(1, changed.GetCount()); + CHECK(created.GetCount() == 1); + CHECK(changing.GetCount() == 1); + CHECK(changed.GetCount() == 1); #endif }