tweak the assert message so its readable when an errors happens
Change-Id: Ib4f262f4c8cffc9790001618ce8050eda75ae559
This commit is contained in:
parent
d1e2335584
commit
36feeb1eab
1 changed files with 2 additions and 1 deletions
|
@ -122,7 +122,8 @@ void FiltersTest::recursiveScan(filterStatus nExpected,
|
|||
bRes?"Pass":"Fail",nEndTime-nStartTime);
|
||||
if (nExpected == test::indeterminate)
|
||||
continue;
|
||||
CPPUNIT_ASSERT_MESSAGE(aRes.getStr(), bRes == (nExpected == test::pass));
|
||||
filterStatus nResult = bRes ? test::pass : test::fail;
|
||||
CPPUNIT_ASSERT_MESSAGE(aRes.getStr(), nResult == nExpected);
|
||||
}
|
||||
}
|
||||
CPPUNIT_ASSERT(osl::FileBase::E_None == aDir.close());
|
||||
|
|
Loading…
Reference in a new issue