summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-10-12 15:19:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-10-15 12:18:44 +0100
commitdb5a5ffa82f835c81cf9a411d24f4cb0b1bb8fa5 (patch)
tree0e320d48ea2ce24a87f33095d2959919333c0b5c /svtools
parent528a225ddb1d429eeb048626d5e9e045118bad2e (diff)
split bootstrapfixture and move test-filters class for sot test
sot is below vcl, but is a filters test, we can split bootstrapfixture into a vcl needing bit and and non-vcl bit and filters test api can be standalone and combined with whichever bit in order to form pre and post vcl filters test
Diffstat (limited to 'svtools')
-rw-r--r--svtools/CppunitTest_svtools_filters_test.mk3
-rw-r--r--svtools/qa/cppunit/filters-test.cxx9
2 files changed, 8 insertions, 4 deletions
diff --git a/svtools/CppunitTest_svtools_filters_test.mk b/svtools/CppunitTest_svtools_filters_test.mk
index 8f4cd6a21559..3ccbd5d06c30 100644
--- a/svtools/CppunitTest_svtools_filters_test.mk
+++ b/svtools/CppunitTest_svtools_filters_test.mk
@@ -35,13 +35,14 @@ $(eval $(call gb_CppunitTest_add_exception_objects,svtools_filters_test, \
))
$(eval $(call gb_CppunitTest_add_linked_libs,svtools_filters_test, \
- test \
comphelper \
cppu \
cppuhelper \
sal \
svt \
+ test \
tl \
+ unotest \
vcl \
$(gb_STDLIBS) \
))
diff --git a/svtools/qa/cppunit/filters-test.cxx b/svtools/qa/cppunit/filters-test.cxx
index a216bc629a3a..a1c4a44947fd 100644
--- a/svtools/qa/cppunit/filters-test.cxx
+++ b/svtools/qa/cppunit/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 <osl/file.hxx>
#include <osl/process.h>
@@ -38,10 +39,12 @@ using namespace ::com::sun::star;
/* Implementation of Filters test */
-class SvtoolsFiltersTest : public test::FiltersTest
+class SvtoolsFiltersTest
+ : public test::FiltersTest
+ , public test::BootstrapFixture
{
public:
- SvtoolsFiltersTest() : FiltersTest(true, false) {}
+ SvtoolsFiltersTest() : BootstrapFixture(true, false) {}
virtual bool load(const rtl::OUString &, const rtl::OUString &rURL, const rtl::OUString &);