Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
5 : * This Source Code Form is subject to the terms of the Mozilla Public
6 : * License, v. 2.0. If a copy of the MPL was not distributed with this
7 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 : */
9 :
10 : #include "WpftImportTestBase.hxx"
11 :
12 : namespace
13 : {
14 :
15 2 : class WpftImpressFilterTest : public writerperfect::test::WpftImportTestBase
16 : {
17 : public:
18 : WpftImpressFilterTest();
19 :
20 : void test();
21 :
22 2 : CPPUNIT_TEST_SUITE(WpftImpressFilterTest);
23 1 : CPPUNIT_TEST(test);
24 5 : CPPUNIT_TEST_SUITE_END();
25 : };
26 :
27 1 : WpftImpressFilterTest::WpftImpressFilterTest()
28 1 : : writerperfect::test::WpftImportTestBase("private:factory/simpress")
29 : {
30 1 : }
31 :
32 1 : void WpftImpressFilterTest::test()
33 : {
34 1 : doTest("org.libreoffice.comp.Impress.KeynoteImportFilter", "/writerperfect/qa/unit/data/impress/libetonyek/");
35 1 : doTest("com.sun.star.comp.Impress.MWAWPresentationImportFilter", "/writerperfect/qa/unit/data/impress/libmwaw/");
36 1 : }
37 :
38 1 : CPPUNIT_TEST_SUITE_REGISTRATION(WpftImpressFilterTest);
39 :
40 : }
41 :
42 4 : CPPUNIT_PLUGIN_IMPLEMENT();
43 :
44 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|