summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/CppunitTest_sw_filters_test.mk5
-rw-r--r--sw/qa/core/filters-test.cxx9
2 files changed, 9 insertions, 5 deletions
diff --git a/sw/CppunitTest_sw_filters_test.mk b/sw/CppunitTest_sw_filters_test.mk
index 720adae32a90..7726115a3624 100644
--- a/sw/CppunitTest_sw_filters_test.mk
+++ b/sw/CppunitTest_sw_filters_test.mk
@@ -43,15 +43,16 @@ $(eval $(call gb_CppunitTest_add_exception_objects,sw_filters_test, \
$(call gb_CxxObject_get_target,sw/qa/core/filters-test): $(WORKDIR)/AllLangRes/sw
$(eval $(call gb_CppunitTest_add_linked_libs,sw_filters_test, \
- test \
sw \
sfx \
svl \
svt \
- vcl \
+ test \
tl \
ucbhelper \
+ unotest \
utl \
+ vcl \
i18nisolang1 \
comphelper \
cppu \
diff --git a/sw/qa/core/filters-test.cxx b/sw/qa/core/filters-test.cxx
index 84bb4be3f8fd..cd63ebec9909 100644
--- a/sw/qa/core/filters-test.cxx
+++ b/sw/qa/core/filters-test.cxx
@@ -27,7 +27,8 @@
* instead of those above.
*/
-#include <test/filters-test.hxx>
+#include <unotest/filters-test.hxx>
+#include <test/bootstrapfixture.hxx>
#include <sfx2/app.hxx>
#include <sfx2/docfilt.hxx>
@@ -48,7 +49,9 @@ using namespace ::com::sun::star;
/* Implementation of Filters test */
-class SwFiltersTest : public test::FiltersTest
+class SwFiltersTest
+ : public test::FiltersTest
+ , public test::BootstrapFixture
{
public:
bool load(const rtl::OUString &rFilter, const rtl::OUString &rURL, const rtl::OUString &rUserData);
@@ -92,7 +95,7 @@ void SwFiltersTest::testCVEs()
void SwFiltersTest::setUp()
{
- test::FiltersTest::setUp();
+ test::BootstrapFixture::setUp();
//This is a bit of a fudge, we do this to ensure that SwGlobals::ensure,
//which is a private symbol to us, gets called