summaryrefslogtreecommitdiff
path: root/sot/qa
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 /sot/qa
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 'sot/qa')
-rw-r--r--sot/qa/cppunit/data/pass/fdo41642-2.compoundbin0 -> 35335 bytes
-rw-r--r--sot/qa/cppunit/test_sot.cxx16
2 files changed, 6 insertions, 10 deletions
diff --git a/sot/qa/cppunit/data/pass/fdo41642-2.compound b/sot/qa/cppunit/data/pass/fdo41642-2.compound
new file mode 100644
index 000000000000..b1ae6dd63046
--- /dev/null
+++ b/sot/qa/cppunit/data/pass/fdo41642-2.compound
Binary files differ
diff --git a/sot/qa/cppunit/test_sot.cxx b/sot/qa/cppunit/test_sot.cxx
index 39d86cb71c9d..b695e8076e65 100644
--- a/sot/qa/cppunit/test_sot.cxx
+++ b/sot/qa/cppunit/test_sot.cxx
@@ -26,7 +26,8 @@
* instead of those above.
*/
-#include <test/filters-test.hxx>
+#include <unotest/filters-test.hxx>
+#include <unotest/bootstrapfixturebase.hxx>
#include <osl/file.hxx>
#include <osl/process.h>
@@ -36,12 +37,12 @@ using namespace ::com::sun::star;
namespace
{
- class SotTest : public test::FiltersTest
+ class SotTest
+ : public test::FiltersTest
+ , public test::BootstrapFixtureBase
{
public:
- SotTest() : FiltersTest(false, false) {}
-
- virtual void setUp();
+ SotTest() {}
virtual bool load(const rtl::OUString &,
const rtl::OUString &rURL, const rtl::OUString &);
@@ -53,11 +54,6 @@ namespace
CPPUNIT_TEST_SUITE_END();
};
- void SotTest::setUp()
- {
- test::FiltersTest::setUp();
- }
-
bool SotTest::load(const rtl::OUString &,
const rtl::OUString &rURL, const rtl::OUString &)
{