diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-08-22 17:58:44 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-08-22 17:58:44 +0200 |
commit | 4e85d4ba5fc0c301fa656dd2d2d26255fe9c6f6e (patch) | |
tree | d2770f4c46fadb8466ef2d6be26270fa793e46e5 /test/source | |
parent | 54ad8ad0f0ce22299d28b4ec09eea26ad2691642 (diff) |
Fix test assertion message
Change-Id: Ifd9f50a68e5dd40003cd1bd32a5b806b0282ce44
Diffstat (limited to 'test/source')
-rw-r--r-- | test/source/screenshot_test.cxx | 2 |
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); |