summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-24 21:18:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-25 10:11:31 +0100
commit52cf287f690e37251f1ba3be6436d02370328bb8 (patch)
tree3fa75d089cbef6480d5f3be6b4b1547f4e75a121
parent2ecb0e6a1e9d9f58a3df151d9792202bef7deea2 (diff)
add the legacy windows-only path utils test
-rwxr-xr-xtools/CppunitTest_tools_test.mk1
-rw-r--r--tools/qa/cppunit/test_pathutils.cxx (renamed from tools/qa/test_pathutils.cxx)8
2 files changed, 2 insertions, 7 deletions
diff --git a/tools/CppunitTest_tools_test.mk b/tools/CppunitTest_tools_test.mk
index ce4a7b4d309f..52d0b7019055 100755
--- a/tools/CppunitTest_tools_test.mk
+++ b/tools/CppunitTest_tools_test.mk
@@ -31,6 +31,7 @@ $(eval $(call gb_CppunitTest_CppunitTest,tools_test))
$(eval $(call gb_CppunitTest_add_exception_objects,tools_test, \
tools/qa/cppunit/test_reversemap \
+ tools/qa/cppunit/test_pathutils \
))
$(eval $(call gb_CppunitTest_add_api,tools_test, \
diff --git a/tools/qa/test_pathutils.cxx b/tools/qa/cppunit/test_pathutils.cxx
index 99046a6211c9..842e65951ee0 100644
--- a/tools/qa/test_pathutils.cxx
+++ b/tools/qa/cppunit/test_pathutils.cxx
@@ -27,14 +27,10 @@
************************************************************************/
#include "precompiled_tools.hxx"
-#include "sal/config.h"
+#include <sal/cppunit.h>
#include <cwchar>
-#include <cppunit/TestFixture.h>
-#include <cppunit/extensions/HelperMacros.h>
-#include <cppunit/plugin/TestPlugIn.h>
-
#include "tools/pathutils.hxx"
namespace {
@@ -77,6 +73,4 @@ CPPUNIT_TEST_SUITE_REGISTRATION(Test);
}
-CPPUNIT_PLUGIN_IMPLEMENT();
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */