diff options
author | Jens Carl <j.carl43@gmx.de> | 2019-04-24 21:10:00 +0000 |
---|---|---|
committer | Jens Carl <j.carl43@gmx.de> | 2019-04-25 01:18:08 +0200 |
commit | 47e094c3b14f19fe719d4de56f1f14606efe4885 (patch) | |
tree | bd581d1a479cff8c8fdd6798d0e95b87c7e4f173 /test/source | |
parent | 30a1114efa381967e70d862ac0fa47bf2f8f836b (diff) |
Improve error messages
Change-Id: I08d5b060b6756a89972eeec57c1f9c85e6f65500
Reviewed-on: https://gerrit.libreoffice.org/71262
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'test/source')
-rw-r--r-- | test/source/beans/xpropertyset.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
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); |