diff options
author | David Tardon <dtardon@redhat.com> | 2016-12-02 15:07:40 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2016-12-05 10:41:54 +0100 |
commit | 01c75db710126c88bcb6823386a8286a2a0de6fc (patch) | |
tree | 3b114811ae6f1147389b0a37b419de4c032e7f62 /writerperfect/qa/unit | |
parent | e60a60f570ec04eb1c0f94fe43675400f71c786f (diff) |
convert test helper library to dynamic
Change-Id: I5992cc7ac9ffb3974fa49bb7feec4b0212032386
Diffstat (limited to 'writerperfect/qa/unit')
-rw-r--r-- | writerperfect/qa/unit/WpftFilterFixture.hxx | 4 | ||||
-rw-r--r-- | writerperfect/qa/unit/WpftFilterTestBase.hxx | 4 | ||||
-rw-r--r-- | writerperfect/qa/unit/WpftLoader.hxx | 4 | ||||
-rw-r--r-- | writerperfect/qa/unit/wpftqahelperdllapi.h | 24 |
4 files changed, 33 insertions, 3 deletions
diff --git a/writerperfect/qa/unit/WpftFilterFixture.hxx b/writerperfect/qa/unit/WpftFilterFixture.hxx index 4e45a3845220..fe8acc2a0133 100644 --- a/writerperfect/qa/unit/WpftFilterFixture.hxx +++ b/writerperfect/qa/unit/WpftFilterFixture.hxx @@ -12,6 +12,8 @@ #include "config_writerperfect.h" +#include "wpftqahelperdllapi.h" + #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Sequence.hxx> @@ -63,7 +65,7 @@ namespace writerperfect namespace test { -class WpftFilterFixture : public ::test::BootstrapFixture +class WPFTQAHELPER_DLLPUBLIC WpftFilterFixture : public ::test::BootstrapFixture { public: virtual void setUp() override; diff --git a/writerperfect/qa/unit/WpftFilterTestBase.hxx b/writerperfect/qa/unit/WpftFilterTestBase.hxx index 7042daaadf47..34aa728eaa61 100644 --- a/writerperfect/qa/unit/WpftFilterTestBase.hxx +++ b/writerperfect/qa/unit/WpftFilterTestBase.hxx @@ -10,6 +10,8 @@ #ifndef INCLUDED_WRITERPERFECT_QA_UNIT_WPFTFILTERTESTBASE_HXX #define INCLUDED_WRITERPERFECT_QA_UNIT_WPFTFILTERTESTBASE_HXX +#include "wpftqahelperdllapi.h" + #include <unordered_map> #include <com/sun/star/uno/Reference.hxx> @@ -41,7 +43,7 @@ namespace test typedef std::unordered_map<rtl::OUString, bool, rtl::OUStringHash> WpftOptionalMap_t; -class WpftFilterTestBase +class WPFTQAHELPER_DLLPUBLIC WpftFilterTestBase : public ::test::FiltersTest , public WpftFilterFixture { diff --git a/writerperfect/qa/unit/WpftLoader.hxx b/writerperfect/qa/unit/WpftLoader.hxx index a854a531d5db..97f2987ba548 100644 --- a/writerperfect/qa/unit/WpftLoader.hxx +++ b/writerperfect/qa/unit/WpftLoader.hxx @@ -10,6 +10,8 @@ #ifndef INCLUDED_WRITERPERFECT_QA_UNIT_WPFTLOADER_HXX #define INCLUDED_WRITERPERFECT_QA_UNIT_WPFTLOADER_HXX +#include "wpftqahelperdllapi.h" + #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Sequence.hxx> @@ -55,7 +57,7 @@ namespace writerperfect namespace test { -class WpftLoader +class WPFTQAHELPER_DLLPUBLIC WpftLoader { public: WpftLoader( diff --git a/writerperfect/qa/unit/wpftqahelperdllapi.h b/writerperfect/qa/unit/wpftqahelperdllapi.h new file mode 100644 index 000000000000..9f19a29729c2 --- /dev/null +++ b/writerperfect/qa/unit/wpftqahelperdllapi.h @@ -0,0 +1,24 @@ +/* -*- 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/. + */ + +#ifndef INCLUDED_WRITERPERFECT_QA_UNIT_WPFTQAHELPERDLLAPI_H +#define INCLUDED_WRITERPERFECT_QA_UNIT_WPFTQAHELPERDLLAPI_H + +#include <sal/types.h> + +#if defined(WPFTQAHELPER_DLLIMPLEMENTATION) +#define WPFTQAHELPER_DLLPUBLIC SAL_DLLPUBLIC_EXPORT +#else +#define WPFTQAHELPER_DLLPUBLIC SAL_DLLPUBLIC_IMPORT +#endif +#define WPFTQAHELPER_DLLPRIVATE SAL_DLLPRIVATE + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |