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");
|
CHECK(m_grid->GetCellValue(1, 1) == "abab");
|
||||||
|
|
||||||
CPPUNIT_ASSERT_EQUAL(1, created.GetCount());
|
CHECK(created.GetCount() == 1);
|
||||||
CPPUNIT_ASSERT_EQUAL(1, changing.GetCount());
|
CHECK(changing.GetCount() == 1);
|
||||||
CPPUNIT_ASSERT_EQUAL(1, changed.GetCount());
|
CHECK(changed.GetCount() == 1);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user