[Libreoffice-commits] core.git: unotest/source
Stephan Bergmann
sbergman at redhat.com
Mon Oct 21 23:55:52 PDT 2013
unotest/source/cpp/filters-test.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 30823bce29b4e5007cf045e9923a2f2e749ab091
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Oct 22 08:55:24 2013 +0200
Improve test assertion
Change-Id: If1f41f9c25600199ba4fb8c2f75ddd7c8ce8c8b3
diff --git a/unotest/source/cpp/filters-test.cxx b/unotest/source/cpp/filters-test.cxx
index 4aa0510..a14fa67 100644
--- a/unotest/source/cpp/filters-test.cxx
+++ b/unotest/source/cpp/filters-test.cxx
@@ -111,7 +111,7 @@ void FiltersTest::recursiveScan(filterStatus nExpected,
sal_uInt32 nEndTime = osl_getGlobalTimer();
if (bEncrypted)
- CPPUNIT_ASSERT(osl::FileBase::E_None == osl::File::remove(sTmpFile));
+ CPPUNIT_ASSERT_EQUAL(osl::FileBase::E_None, osl::File::remove(sTmpFile));
fprintf(stderr, "%s,%" SAL_PRIuUINT32"\n",
bRes?"Pass":"Fail",nEndTime-nStartTime);
More information about the Libreoffice-commits
mailing list