test/source/beans/xpropertyset.cxx |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

New commits:
commit 47e094c3b14f19fe719d4de56f1f14606efe4885
Author:     Jens Carl <j.car...@gmx.de>
AuthorDate: Wed Apr 24 21:10:00 2019 +0000
Commit:     Jens Carl <j.car...@gmx.de>
CommitDate: Thu Apr 25 01:18:08 2019 +0200

    Improve error messages
    
    Change-Id: I08d5b060b6756a89972eeec57c1f9c85e6f65500
    Reviewed-on: https://gerrit.libreoffice.org/71262
    Tested-by: Jenkins
    Reviewed-by: Jens Carl <j.car...@gmx.de>

diff --git a/test/source/beans/xpropertyset.cxx 
b/test/source/beans/xpropertyset.cxx
index 993b609ec4b4..f8ac7d17f206 100644
--- a/test/source/beans/xpropertyset.cxx
+++ b/test/source/beans/xpropertyset.cxx
@@ -244,8 +244,12 @@ bool XPropertySet::isPropertyValueChangeable(const 
OUString& rName)
         }
         else
         {
-            std::cout << type.getTypeName() << std::endl;
-            std::cout << rName << std::endl;
+            std::cout << "Unknown type:\n"
+                         "Type: "
+                      << type.getTypeName()
+                      << "\n"
+                         "Name: "
+                      << rName << "\n";
             CPPUNIT_ASSERT_MESSAGE(
                 "XPropertySet::isPropertyValueChangeable: unknown type in Any 
tested.", false);
         }
@@ -255,6 +259,7 @@ bool XPropertySet::isPropertyValueChangeable(const 
OUString& rName)
     }
     catch (const uno::Exception&)
     {
+        std::cout << "Exception thrown while retrieving with property: " << 
rName << "\n";
         CPPUNIT_ASSERT_MESSAGE("XPropertySet::isPropertyValueChangeable: 
exception thrown while "
                                "retrieving the property value.",
                                false);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to