diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-03-04 17:11:46 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-03-04 18:43:38 +0100 |
commit | f17c5c77a65d466d0b436f7efb68823520528776 (patch) | |
tree | 3c54d1ef76102193ac87cf9dad6d5731b5b2937f /sd | |
parent | f566585f0882e65778c424640b9312cb19b007b9 (diff) |
use CPPUNIT_ASSERT_EQUAL to improve error message
Change-Id: I946f4177bef82bbac8058640f216a294582c24a3
Diffstat (limited to 'sd')
-rw-r--r-- | sd/qa/unit/import-tests.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx index ad01585c18c1..486f7f32e5da 100644 --- a/sd/qa/unit/import-tests.cxx +++ b/sd/qa/unit/import-tests.cxx @@ -356,7 +356,7 @@ void SdFiltersTest::testN828390_5() const EditTextObject& aEdit = pTxtObj->GetOutlinerParaObject()->GetTextObject(); const SvxNumBulletItem *pNumFmt = dynamic_cast<const SvxNumBulletItem *>(aEdit.GetPool()->GetItem2(EE_PARA_NUMBULLET, 5)); CPPUNIT_ASSERT( pNumFmt ); - CPPUNIT_ASSERT_MESSAGE( "Bullet's relative size is wrong!", pNumFmt->GetNumRule()->GetLevel(1).GetBulletRelSize() == 75 ); // != 25 + CPPUNIT_ASSERT_EQUAL_MESSAGE( "Bullet's relative size is wrong!", pNumFmt->GetNumRule()->GetLevel(1).GetBulletRelSize(), sal_uInt16(75) ); // != 25 } } |