summaryrefslogtreecommitdiff
path: root/unotest
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-09-27 15:07:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-09-27 15:17:28 +0200
commit95f56095a903fac5d6c1271a2e6229f6de89384c (patch)
tree8190d1abcb2e07feb140d09b1a7c02cadf576aa8 /unotest
parent337e983a0eec62a69297df7f7c611ca3a9fdbb14 (diff)
Can use CppUnit assert functionality here
Change-Id: Iecc42e79b72e99f9222ba2419226b0f655a5af7d
Diffstat (limited to 'unotest')
-rw-r--r--unotest/source/cpp/bootstrapfixturebase.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/unotest/source/cpp/bootstrapfixturebase.cxx b/unotest/source/cpp/bootstrapfixturebase.cxx
index 74fb3ab189dc..fff21d4d85b7 100644
--- a/unotest/source/cpp/bootstrapfixturebase.cxx
+++ b/unotest/source/cpp/bootstrapfixturebase.cxx
@@ -9,8 +9,6 @@
#include "sal/config.h"
-#include <cassert>
-
#include <unotest/bootstrapfixturebase.hxx>
#include <osl/file.hxx>
#include <rtl/strbuf.hxx>
@@ -29,7 +27,7 @@ namespace {
OUString getFileURLFromSystemPath(OUString const & path) {
OUString url;
osl::FileBase::RC e = osl::FileBase::getFileURLFromSystemPath(path, url);
- assert(e == osl::FileBase::E_None);
+ CPPUNIT_ASSERT_EQUAL(osl::FileBase::E_None, e);
if (!url.endsWith("/")) {
url += "/";
}