diff options
author | David Tardon <dtardon@redhat.com> | 2014-06-04 13:57:30 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2014-06-04 15:48:39 +0200 |
commit | ccb51e13ed8602d4b394c99116a41e53a22403f2 (patch) | |
tree | d257ebd9f793fa97a28001461e665301a651e6fe | |
parent | 07123dc81558fbd21a7403f410ca326a457aca97 (diff) |
move CppUnit plugin def. to separate source file
Change-Id: Id946419274728f96e1de41cffe84280e37e87ab3
-rw-r--r-- | writerperfect/CppunitTest_writerperfect_stream.mk | 1 | ||||
-rw-r--r-- | writerperfect/qa/unit/WPXSvStreamTest.cxx | 3 | ||||
-rw-r--r-- | writerperfect/qa/unit/stream.cxx | 16 |
3 files changed, 17 insertions, 3 deletions
diff --git a/writerperfect/CppunitTest_writerperfect_stream.mk b/writerperfect/CppunitTest_writerperfect_stream.mk index 337d6f1b480d..eef10ee20ba6 100644 --- a/writerperfect/CppunitTest_writerperfect_stream.mk +++ b/writerperfect/CppunitTest_writerperfect_stream.mk @@ -52,6 +52,7 @@ $(eval $(call gb_CppunitTest_use_components,writerperfect_stream,\ )) $(eval $(call gb_CppunitTest_add_exception_objects,writerperfect_stream,\ + writerperfect/qa/unit/stream \ writerperfect/qa/unit/WPXSvStreamTest \ )) diff --git a/writerperfect/qa/unit/WPXSvStreamTest.cxx b/writerperfect/qa/unit/WPXSvStreamTest.cxx index 0b6ea5db364b..7fad6239e857 100644 --- a/writerperfect/qa/unit/WPXSvStreamTest.cxx +++ b/writerperfect/qa/unit/WPXSvStreamTest.cxx @@ -14,7 +14,6 @@ #include <boost/shared_ptr.hpp> #include <cppunit/extensions/HelperMacros.h> -#include <cppunit/plugin/TestPlugIn.h> #include "com/sun/star/io/XInputStream.hpp" #include "com/sun/star/ucb/XSimpleFileAccess.hpp" @@ -354,6 +353,4 @@ CPPUNIT_TEST_SUITE_REGISTRATION(WPXSvStreamTest); } -CPPUNIT_PLUGIN_IMPLEMENT(); - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/writerperfect/qa/unit/stream.cxx b/writerperfect/qa/unit/stream.cxx new file mode 100644 index 000000000000..168967728366 --- /dev/null +++ b/writerperfect/qa/unit/stream.cxx @@ -0,0 +1,16 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#include <cppunit/plugin/TestPlugIn.h> + +#include <sal/types.h> + +CPPUNIT_PLUGIN_IMPLEMENT(); + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |