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:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user