summaryrefslogtreecommitdiff
path: root/chart2/qa/extras/chart2dump
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/qa/extras/chart2dump')
-rw-r--r--chart2/qa/extras/chart2dump/chart2dump.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/qa/extras/chart2dump/chart2dump.cxx b/chart2/qa/extras/chart2dump/chart2dump.cxx
index a03f98a0527d..faf8ead6256a 100644
--- a/chart2/qa/extras/chart2dump/chart2dump.cxx
+++ b/chart2/qa/extras/chart2dump/chart2dump.cxx
@@ -150,7 +150,7 @@ protected:
std::string sTemp;
getline(m_aReferenceFile, sTemp);
OString sAssertMessage =
- OString("The reference file does not contain the right content. Maybe it needs an update:")
+ "The reference file does not contain the right content. Maybe it needs an update:"
+ OUStringToOString(m_sTestFileName, RTL_TEXTENCODING_UTF8);
CPPUNIT_ASSERT_EQUAL_MESSAGE(sAssertMessage.getStr(), OUString("// " + sCheck), OUString(sTemp.data(), sTemp.length(), RTL_TEXTENCODING_UTF8));
getline(m_aReferenceFile, sTemp);
@@ -172,7 +172,7 @@ protected:
std::string sTemp;
getline(m_aReferenceFile, sTemp);
OString sAssertMessage =
- OString("The reference file does not contain the right content. Maybe it needs an update:")
+ "The reference file does not contain the right content. Maybe it needs an update:"
+ OUStringToOString(m_sTestFileName, RTL_TEXTENCODING_UTF8);
CPPUNIT_ASSERT_EQUAL_MESSAGE(sAssertMessage.getStr(), OUString("/// " + sNote), OUString(sTemp.data(), sTemp.length(), RTL_TEXTENCODING_UTF8));
}