diff options
author | Eike Rathke <erack@redhat.com> | 2016-07-26 22:06:23 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-07-26 22:14:38 +0200 |
commit | 4097b95d62db14f738f69e3bb4d1162739f3a06a (patch) | |
tree | bf712d4db8543864b879149c85de21175748aecb /svl/qa/unit | |
parent | 17fb4d43e86bd9622fb1b2c4378ab1e63a0025f0 (diff) |
display data on test failure
Change-Id: I432ba81929dd0badd48d2bd7b4344ceed4df2b43
Diffstat (limited to 'svl/qa/unit')
-rw-r--r-- | svl/qa/unit/svl.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx index efdef68e57ad..040d47be281a 100644 --- a/svl/qa/unit/svl.cxx +++ b/svl/qa/unit/svl.cxx @@ -1007,7 +1007,8 @@ void Test::checkDateInput( SvNumberFormatter& rFormatter, const char* pTimezone, sal_uInt32 nIndex = 0; double fVal = 0.0; bool bVal = rFormatter.IsNumberFormat( aDate, nIndex, fVal); - CPPUNIT_ASSERT_MESSAGE("Date not recognized.", bVal); + CPPUNIT_ASSERT_MESSAGE( OString("Date not recognized: " + + OString(pTimezone) + " " + OString(pIsoDate)).getStr(), bVal); CPPUNIT_ASSERT_MESSAGE("Format parsed is not date.", (rFormatter.GetType(nIndex) & css::util::NumberFormat::DATE)); OUString aOutString; |