improve test failure message
Change-Id: I71d6b65b046bfc31692ba12423288c55fccb2d02
This commit is contained in:
parent
597189f481
commit
7e3f0824a1
@ -171,8 +171,8 @@ void test::BootstrapFixture::validate(const OUString& rPath, test::ValidationFor
|
||||
|
||||
int returnValue = system(OUStringToOString(aCommand, RTL_TEXTENCODING_UTF8).getStr());
|
||||
CPPUNIT_ASSERT_EQUAL_MESSAGE(
|
||||
OUStringToOString(aCommand, RTL_TEXTENCODING_UTF8).getStr(), 0,
|
||||
returnValue);
|
||||
OUStringToOString(OUString("failed to execute: ") + aCommand,
|
||||
RTL_TEXTENCODING_UTF8).getStr(), 0, returnValue);
|
||||
|
||||
OString aContentString = loadFile(aOutput.GetURL());
|
||||
OUString aContentOUString = OStringToOUString(aContentString, RTL_TEXTENCODING_UTF8);
|
||||
|
Loading…
x
Reference in New Issue
Block a user