summaryrefslogtreecommitdiff
path: root/test/source/container
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2018-11-30 07:07:07 +0000
committerJens Carl <j.carl43@gmx.de>2018-11-30 18:14:36 +0100
commitc95f919756b5b45cbea1d37a9cb232c7f20a5f1d (patch)
tree8c221ac7e977f4b20bd400f40c4fd843b2f0e8e7 /test/source/container
parentdcd4add8e0e918fea26e00613b8d9ed762144d5a (diff)
Give CPPUNIT_ASSERT_MESSAGE a more meaningful message
Change-Id: Ia83a4403243a2b2ab98c2b0e6a28213ce6fe1269 Reviewed-on: https://gerrit.libreoffice.org/64314 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'test/source/container')
-rw-r--r--test/source/container/xenumerationaccess.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/source/container/xenumerationaccess.cxx b/test/source/container/xenumerationaccess.cxx
index 2de4999f3525..316a25e361d9 100644
--- a/test/source/container/xenumerationaccess.cxx
+++ b/test/source/container/xenumerationaccess.cxx
@@ -24,9 +24,8 @@ void XEnumerationAccess::testCreateEnumeration()
{
uno::Reference<container::XEnumerationAccess> xEnumerationAccess(init(), UNO_QUERY_THROW);
- CPPUNIT_ASSERT_MESSAGE("Successfully able to Create Enumeration",
- xEnumerationAccess->createEnumeration());
-}
+ CPPUNIT_ASSERT_MESSAGE("Unable to create enumeration", xEnumerationAccess->createEnumeration());
}
+} // namespace apitest
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */