summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-08-22 17:58:44 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-08-22 17:58:44 +0200
commit4e85d4ba5fc0c301fa656dd2d2d26255fe9c6f6e (patch)
treed2770f4c46fadb8466ef2d6be26270fa793e46e5 /test
parentEPUB export: initial table support (diff)
downloadcore-4e85d4ba5fc0c301fa656dd2d2d26255fe9c6f6e.tar.gz
core-4e85d4ba5fc0c301fa656dd2d2d26255fe9c6f6e.zip
Fix test assertion message
Change-Id: Ifd9f50a68e5dd40003cd1bd32a5b806b0282ce44
Diffstat (limited to 'test')
-rw-r--r--test/source/screenshot_test.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/screenshot_test.cxx b/test/source/screenshot_test.cxx
index 909368657961..e5cc0e56c861 100644
--- a/test/source/screenshot_test.cxx
+++ b/test/source/screenshot_test.cxx
@@ -74,7 +74,7 @@ void ScreenshotTest::implSaveScreenshot(const Bitmap& rScreenshot, const OString
OUString aFullPath = m_directories.getPathFromWorkdir(OUStringToOString(aDirname + "/" + aBasename + ".png",RTL_TEXTENCODING_UTF8).getStr());
SvFileStream aNew(aFullPath, StreamMode::WRITE | StreamMode::TRUNC);
- CPPUNIT_ASSERT_MESSAGE(OUStringToOString("Failed to open " + OUString::number(sal_uInt32(aNew.GetErrorCode())), RTL_TEXTENCODING_UTF8).getStr(), aNew.IsOpen());
+ CPPUNIT_ASSERT_MESSAGE(OUStringToOString("Failed to open <" + aFullPath + ">: " + OUString::number(sal_uInt32(aNew.GetErrorCode())), RTL_TEXTENCODING_UTF8).getStr(), aNew.IsOpen());
vcl::PNGWriter aPNGWriter(rScreenshot);
aPNGWriter.Write(aNew);