Use CHECK() instead of CPPUNIT_ASSERT_EQUAL(), i.e. REQUIRE()

Perform all the checks, even if one (or more) of them fails.
This commit is contained in:
Vadim Zeitlin
2019-10-12 17:45:41 +02:00
parent 97b3e6e50b
commit ddd7ef45d0

View File

@@ -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
}