summaryrefslogtreecommitdiff
path: root/smoketestoo_native
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-09-12 14:41:08 +0200
committerStephan Bergmann <sbergman@redhat.com>2011-09-12 22:47:48 +0200
commit30ad5e9d87adec68971464d49c733e29fc643847 (patch)
treef181812ee1946eb2c5e755569fa6c2a333716357 /smoketestoo_native
parent2b39501b8ec6affb8afa9c6b93dff434b075e211 (diff)
sb140: #i117694# some CppUnit related cleanup
Diffstat (limited to 'smoketestoo_native')
-rwxr-xr-xsmoketestoo_native/makefile.mk4
-rw-r--r--smoketestoo_native/smoketest.cxx7
-rw-r--r--smoketestoo_native/version.map34
3 files changed, 4 insertions, 41 deletions
diff --git a/smoketestoo_native/makefile.mk b/smoketestoo_native/makefile.mk
index 799fe9c221ca..999d209c2a85 100755
--- a/smoketestoo_native/makefile.mk
+++ b/smoketestoo_native/makefile.mk
@@ -28,6 +28,7 @@ PRJNAME = smoketestoo_native
TARGET = smoketest
ENABLE_EXCEPTIONS = TRUE
+VISIBILITY_HIDDEN = TRUE
ABORT_ON_ASSERTION = TRUE
@@ -37,11 +38,12 @@ CFLAGSCXX += $(CPPUNIT_CFLAGS)
SLOFILES = $(SHL1OBJS)
+SHL1IMPLIB = i$(SHL1TARGET)
SHL1TARGET = smoketest
SHL1OBJS = $(SLO)/smoketest.obj
SHL1RPATH = NONE
SHL1STDLIBS = $(CPPUHELPERLIB) $(CPPULIB) $(CPPUNITLIB) $(SALLIB) $(TESTLIB)
-SHL1VERSIONMAP = version.map
+SHL1USE_EXPORTS = name
DEF1NAME = $(SHL1TARGET)
.INCLUDE: target.mk
diff --git a/smoketestoo_native/smoketest.cxx b/smoketestoo_native/smoketest.cxx
index 76acb326c429..447d12eac092 100644
--- a/smoketestoo_native/smoketest.cxx
+++ b/smoketestoo_native/smoketest.cxx
@@ -48,17 +48,12 @@
#include "com/sun/star/uno/RuntimeException.hpp"
#include "com/sun/star/uno/Sequence.hxx"
#include "com/sun/star/util/URL.hpp"
-
#include "cppuhelper/implbase1.hxx"
-#include "cppunit/TestAssert.h"
-#include "cppunit/TestFixture.h"
-#include "cppunit/extensions/HelperMacros.h"
-#include "cppunit/plugin/TestPlugIn.h"
-
#include "osl/conditn.hxx"
#include "osl/diagnose.h"
#include "rtl/ustring.h"
#include "rtl/ustring.hxx"
+#include "sal/cppunit.h"
#include "test/gettestargument.hxx"
#include "test/officeconnection.hxx"
#include "test/oustringostreaminserter.hxx"
diff --git a/smoketestoo_native/version.map b/smoketestoo_native/version.map
deleted file mode 100644
index 00a28463c5d2..000000000000
--- a/smoketestoo_native/version.map
+++ /dev/null
@@ -1,34 +0,0 @@
-#*************************************************************************
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2000, 2010 Oracle and/or its affiliates.
-#
-# OpenOffice.org - a multi-platform office productivity suite
-#
-# This file is part of OpenOffice.org.
-#
-# OpenOffice.org is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License version 3
-# only, as published by the Free Software Foundation.
-#
-# OpenOffice.org is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License version 3 for more details
-# (a copy is included in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU Lesser General Public License
-# version 3 along with OpenOffice.org. If not, see
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#***********************************************************************/
-
-UDK_3_0_0 {
- global:
- cppunitTestPlugIn;
-
- local:
- *;
-};