[Libreoffice-commits] core.git: 2 commits - sw/qa unotest/source
Caolán McNamara
caolanm at redhat.com
Wed Nov 19 03:07:02 PST 2014
sw/qa/core/data/html/pass/EDB-35279-1.html |binary
unotest/source/cpp/filters-test.cxx | 3 ++-
2 files changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 36feeb1eab0165137087f909698ee208e397cdcf
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Nov 19 11:04:32 2014 +0000
tweak the assert message so its readable when an errors happens
Change-Id: Ib4f262f4c8cffc9790001618ce8050eda75ae559
diff --git a/unotest/source/cpp/filters-test.cxx b/unotest/source/cpp/filters-test.cxx
index 436c6dd..035a9af 100644
--- a/unotest/source/cpp/filters-test.cxx
+++ b/unotest/source/cpp/filters-test.cxx
@@ -122,7 +122,8 @@ void FiltersTest::recursiveScan(filterStatus nExpected,
bRes?"Pass":"Fail",nEndTime-nStartTime);
if (nExpected == test::indeterminate)
continue;
- CPPUNIT_ASSERT_MESSAGE(aRes.getStr(), bRes == (nExpected == test::pass));
+ filterStatus nResult = bRes ? test::pass : test::fail;
+ CPPUNIT_ASSERT_MESSAGE(aRes.getStr(), nResult == nExpected);
}
}
CPPUNIT_ASSERT(osl::FileBase::E_None == aDir.close());
commit d1e2335584c4723e3f0560b52a3113fd94f4f169
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Nov 18 10:19:03 2014 +0000
add EDB-35279 test-case
Change-Id: I9fb6e1e33f6b67342c8b407eafc9882ee44f4b46
diff --git a/sw/qa/core/data/html/pass/EDB-35279-1.html b/sw/qa/core/data/html/pass/EDB-35279-1.html
new file mode 100644
index 0000000..77e476a
Binary files /dev/null and b/sw/qa/core/data/html/pass/EDB-35279-1.html differ
More information about the Libreoffice-commits
mailing list