Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
01c75db7
Kaydet (Commit)
01c75db7
authored
Ara 02, 2016
tarafından
David Tardon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert test helper library to dynamic
Change-Id: I5992cc7ac9ffb3974fa49bb7feec4b0212032386
üst
e60a60f5
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
50 additions
and
26 deletions
+50
-26
Repository.mk
Repository.mk
+1
-0
CppunitTest_writerperfect_calc.mk
writerperfect/CppunitTest_writerperfect_calc.mk
+1
-4
CppunitTest_writerperfect_draw.mk
writerperfect/CppunitTest_writerperfect_draw.mk
+1
-4
CppunitTest_writerperfect_impress.mk
writerperfect/CppunitTest_writerperfect_impress.mk
+1
-4
CppunitTest_writerperfect_writer.mk
writerperfect/CppunitTest_writerperfect_writer.mk
+1
-4
Library_wpftqahelper.mk
writerperfect/Library_wpftqahelper.mk
+11
-6
Module_writerperfect.mk
writerperfect/Module_writerperfect.mk
+1
-1
WpftFilterFixture.hxx
writerperfect/qa/unit/WpftFilterFixture.hxx
+3
-1
WpftFilterTestBase.hxx
writerperfect/qa/unit/WpftFilterTestBase.hxx
+3
-1
WpftLoader.hxx
writerperfect/qa/unit/WpftLoader.hxx
+3
-1
wpftqahelperdllapi.h
writerperfect/qa/unit/wpftqahelperdllapi.h
+24
-0
No files found.
Repository.mk
Dosyayı görüntüle @
01c75db7
...
...
@@ -499,6 +499,7 @@ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_NONE, \
vclbootstrapprotector \
scqahelper \
unowinreg \
wpftqahelper \
$(if $(filter MSC,$(COM)),cli_cppuhelper) \
$(if $(filter $(OS),ANDROID),lo-bootstrap) \
$(if $(filter $(OS),MACOSX),OOoSpotlightImporter) \
...
...
writerperfect/CppunitTest_writerperfect_calc.mk
Dosyayı görüntüle @
01c75db7
...
...
@@ -24,13 +24,10 @@ $(eval $(call gb_CppunitTest_use_libraries,writerperfect_calc,\
tl \
ucbhelper \
unotest \
wpftqahelper \
$(gb_UWINAPI) \
))
$(eval $(call gb_CppunitTest_use_static_libraries,writerperfect_calc,\
writerperfect_filtertestbase \
))
$(eval $(call gb_CppunitTest_use_ure,writerperfect_calc))
$(eval $(call gb_CppunitTest_use_vcl,writerperfect_calc))
...
...
writerperfect/CppunitTest_writerperfect_draw.mk
Dosyayı görüntüle @
01c75db7
...
...
@@ -24,13 +24,10 @@ $(eval $(call gb_CppunitTest_use_libraries,writerperfect_draw,\
tl \
ucbhelper \
unotest \
wpftqahelper \
$(gb_UWINAPI) \
))
$(eval $(call gb_CppunitTest_use_static_libraries,writerperfect_draw,\
writerperfect_filtertestbase \
))
$(eval $(call gb_CppunitTest_use_ure,writerperfect_draw))
$(eval $(call gb_CppunitTest_use_vcl,writerperfect_draw))
...
...
writerperfect/CppunitTest_writerperfect_impress.mk
Dosyayı görüntüle @
01c75db7
...
...
@@ -24,13 +24,10 @@ $(eval $(call gb_CppunitTest_use_libraries,writerperfect_impress,\
tl \
ucbhelper \
unotest \
wpftqahelper \
$(gb_UWINAPI) \
))
$(eval $(call gb_CppunitTest_use_static_libraries,writerperfect_impress,\
writerperfect_filtertestbase \
))
$(eval $(call gb_CppunitTest_use_ure,writerperfect_impress))
$(eval $(call gb_CppunitTest_use_vcl,writerperfect_impress))
...
...
writerperfect/CppunitTest_writerperfect_writer.mk
Dosyayı görüntüle @
01c75db7
...
...
@@ -24,13 +24,10 @@ $(eval $(call gb_CppunitTest_use_libraries,writerperfect_writer,\
tl \
ucbhelper \
unotest \
wpftqahelper \
$(gb_UWINAPI) \
))
$(eval $(call gb_CppunitTest_use_static_libraries,writerperfect_writer,\
writerperfect_filtertestbase \
))
$(eval $(call gb_CppunitTest_use_ure,writerperfect_writer))
$(eval $(call gb_CppunitTest_use_vcl,writerperfect_writer))
...
...
writerperfect/
StaticLibrary_writerperfect_filtertestbase
.mk
→
writerperfect/
Library_wpftqahelper
.mk
Dosyayı görüntüle @
01c75db7
...
...
@@ -7,28 +7,33 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_
StaticLibrary_StaticLibrary,writerperfect_filtertestbase
))
$(eval $(call gb_
Library_Library,wpftqahelper
))
$(eval $(call gb_
StaticLibrary_set_include,writerperfect_filtertestbase
,\
$(eval $(call gb_
Library_set_include,wpftqahelper
,\
-I$(SRCDIR)/writerperfect/qa/unit \
$$(INCLUDE) \
))
$(eval $(call gb_StaticLibrary_use_externals,writerperfect_filtertestbase,\
$(eval $(call gb_Library_add_defs,wpftqahelper,\
-DWPFTQAHELPER_DLLIMPLEMENTATION \
))
$(eval $(call gb_Library_use_externals,wpftqahelper,\
boost_headers \
cppunit \
))
$(eval $(call gb_
StaticLibrary_use_sdk_api,writerperfect_filtertestbase
))
$(eval $(call gb_
Library_use_sdk_api,wpftqahelper
))
$(eval $(call gb_
StaticLibrary_use_libraries,writerperfect_filtertestbase
,\
$(eval $(call gb_
Library_use_libraries,wpftqahelper
,\
cppu \
sal \
test \
ucbhelper \
unotest \
))
$(eval $(call gb_
StaticLibrary_add_exception_objects,writerperfect_filtertestbase
,\
$(eval $(call gb_
Library_add_exception_objects,wpftqahelper
,\
writerperfect/qa/unit/WpftFilterFixture \
writerperfect/qa/unit/WpftFilterTestBase \
writerperfect/qa/unit/WpftLoader \
...
...
writerperfect/Module_writerperfect.mk
Dosyayı görüntüle @
01c75db7
...
...
@@ -41,7 +41,7 @@ $(eval $(call gb_Module_add_slowcheck_targets,writerperfect,\
CppunitTest_writerperfect_draw \
CppunitTest_writerperfect_impress \
CppunitTest_writerperfect_writer \
StaticLibrary_writerperfect_filtertestbase
\
Library_wpftqahelper
\
))
# vim: set noet sw=4 ts=4:
writerperfect/qa/unit/WpftFilterFixture.hxx
Dosyayı görüntüle @
01c75db7
...
...
@@ -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
W
PFTQAHELPER_DLLPUBLIC
W
pftFilterFixture
:
public
::
test
::
BootstrapFixture
{
public
:
virtual
void
setUp
()
override
;
...
...
writerperfect/qa/unit/WpftFilterTestBase.hxx
Dosyayı görüntüle @
01c75db7
...
...
@@ -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
W
PFTQAHELPER_DLLPUBLIC
W
pftFilterTestBase
:
public
::
test
::
FiltersTest
,
public
WpftFilterFixture
{
...
...
writerperfect/qa/unit/WpftLoader.hxx
Dosyayı görüntüle @
01c75db7
...
...
@@ -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
W
PFTQAHELPER_DLLPUBLIC
W
pftLoader
{
public
:
WpftLoader
(
...
...
writerperfect/qa/unit/wpftqahelperdllapi.h
0 → 100644
Dosyayı görüntüle @
01c75db7
/* -*- 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: */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment