[Libreoffice-commits] core.git: sc/qa
Mike Kaganski (via logerrit)
logerrit at kemper.freedesktop.org
Mon Apr 15 06:39:36 UTC 2019
sc/qa/extras/macros-test.cxx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 9cd36c589b51aa2b4b18534cd4f7d282827c9466
Author: Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Mon Apr 15 08:36:47 2019 +0200
Commit: Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Mon Apr 15 08:38:37 2019 +0200
Report failing document in ScMacrosTest::testVba
Change-Id: I7ce2e8ab0bdc4b6799cd351828b7b3c24ebb1a96
Reviewed-on: https://gerrit.libreoffice.org/70757
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
Tested-by: Mike Kaganski <mike.kaganski at collabora.com>
diff --git a/sc/qa/extras/macros-test.cxx b/sc/qa/extras/macros-test.cxx
index c801415fd2a5..de71456f1b79 100644
--- a/sc/qa/extras/macros-test.cxx
+++ b/sc/qa/extras/macros-test.cxx
@@ -335,7 +335,10 @@ void ScMacrosTest::testVba()
OUString aStringRes;
aRet >>= aStringRes;
CPPUNIT_ASSERT_EQUAL_MESSAGE(
- "script reported failure", OUString("OK"), aStringRes);
+ OUString("script reported failure in file " + testInfo[i].sFileBaseName + "xls")
+ .toUtf8()
+ .getStr(),
+ OUString("OK"), aStringRes);
pFoundShell->DoClose();
if ( bWorkbooksHandling )
{
More information about the Libreoffice-commits
mailing list