[Libreoffice-commits] core.git: test/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Nov 30 17:15:07 UTC 2018


 test/source/container/xenumerationaccess.cxx |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit c95f919756b5b45cbea1d37a9cb232c7f20a5f1d
Author:     Jens Carl <j.carl43 at gmx.de>
AuthorDate: Fri Nov 30 07:07:07 2018 +0000
Commit:     Jens Carl <j.carl43 at gmx.de>
CommitDate: Fri Nov 30 18:14:36 2018 +0100

    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 at gmx.de>

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: */


More information about the Libreoffice-commits mailing list