summaryrefslogtreecommitdiff
path: root/writerfilter/qa
diff options
context:
space:
mode:
authorElton Chung <elton@layerjet.com>2012-02-19 16:59:40 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-02-19 17:07:46 +0400
commitd30b4e9fb66f377295d8eeea8c1b1cf879aecdf6 (patch)
treea99079bda02a9d8dd5bd0d54666164f362314c52 /writerfilter/qa
parent704c9477039e37b4910db6aa8dd644751dd5e6a5 (diff)
Get rid of size() == 0
Diffstat (limited to 'writerfilter/qa')
-rw-r--r--writerfilter/qa/cppunittests/odiapi/testProperty.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/writerfilter/qa/cppunittests/odiapi/testProperty.cxx b/writerfilter/qa/cppunittests/odiapi/testProperty.cxx
index 3ec344848b74..dc8d519a622a 100644
--- a/writerfilter/qa/cppunittests/odiapi/testProperty.cxx
+++ b/writerfilter/qa/cppunittests/odiapi/testProperty.cxx
@@ -207,7 +207,7 @@ public:
pb->clear();
- CPPUNIT_ASSERT_MESSAGE("Clearing property bag failed", pb->size() == 0);
+ CPPUNIT_ASSERT_MESSAGE("Clearing property bag failed", pb->empty());
}
void testSortPropertyBag()
@@ -393,7 +393,7 @@ public:
PropertyBag_Pointer_t pb = createPropertyBag();
PropertyPoolHandle_Pointer_t ph = pool->insert(pb);
- CPPUNIT_ASSERT_MESSAGE("Inserting empty property bag failed", ph->getPropertyBag()->size() == 0);
+ CPPUNIT_ASSERT_MESSAGE("Inserting empty property bag failed", ph->getPropertyBag()->empty());
}
void testDumpPropertyPool()