summaryrefslogtreecommitdiff
path: root/unotest
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2011-09-28 15:57:53 +0100
committerMichael Meeks <michael.meeks@suse.com>2011-09-28 17:55:26 +0100
commit5e4451575964151dbe7b0e905d0a9f4757f609d2 (patch)
tree143fc6747034266118c2e5687abc73e3efcc6133 /unotest
parentd0edcf0a554828232ab3c8edfbea22d611bfda2b (diff)
Rename and re-factor test and unotest to compile and run again
Diffstat (limited to 'unotest')
-rw-r--r--unotest/inc/unotest/gettestargument.hxx4
-rw-r--r--unotest/inc/unotest/officeconnection.hxx4
-rw-r--r--unotest/inc/unotest/uniquepipename.hxx4
-rw-r--r--unotest/prj/build.lst6
-rw-r--r--unotest/source/cpp/gettestargument.cxx2
-rw-r--r--unotest/source/cpp/makefile.mk8
-rw-r--r--unotest/source/cpp/officeconnection.cxx6
-rw-r--r--unotest/source/cpp/toabsolutefileurl.cxx2
-rw-r--r--unotest/source/cpp/uniquepipename.cxx2
-rw-r--r--unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx1
10 files changed, 16 insertions, 23 deletions
diff --git a/unotest/inc/unotest/gettestargument.hxx b/unotest/inc/unotest/gettestargument.hxx
index 4fe11147bc16..bc4ad1b68782 100644
--- a/unotest/inc/unotest/gettestargument.hxx
+++ b/unotest/inc/unotest/gettestargument.hxx
@@ -31,7 +31,7 @@
#include "sal/config.h"
-#include "test/detail/testdllapi.hxx"
+#include "unotest/detail/unotestdllapi.hxx"
namespace rtl { class OUString; }
@@ -39,7 +39,7 @@ namespace test {
// Obtain the value of a test argument (tunneled in via an "arg-testarg.<name>"
// bootstrap variable):
-OOO_DLLPUBLIC_TEST bool getTestArgument(
+OOO_DLLPUBLIC_UNOTEST bool getTestArgument(
rtl::OUString const & name, rtl::OUString * value);
}
diff --git a/unotest/inc/unotest/officeconnection.hxx b/unotest/inc/unotest/officeconnection.hxx
index e5250ce6aedf..f79e0de110d2 100644
--- a/unotest/inc/unotest/officeconnection.hxx
+++ b/unotest/inc/unotest/officeconnection.hxx
@@ -32,7 +32,7 @@
#include "boost/noncopyable.hpp"
#include "com/sun/star/uno/Reference.hxx"
#include "osl/process.h"
-#include "test/detail/testdllapi.hxx"
+#include "unotest/detail/unotestdllapi.hxx"
namespace com { namespace sun { namespace star { namespace uno {
class XComponentContext;
@@ -42,7 +42,7 @@ namespace test {
// Start up and shut down an OOo instance (details about the OOo instance are
// tunneled in via "arg-..." bootstrap variables):
-class OOO_DLLPUBLIC_TEST OfficeConnection: private boost::noncopyable {
+class OOO_DLLPUBLIC_UNOTEST OfficeConnection: private boost::noncopyable {
public:
OfficeConnection();
diff --git a/unotest/inc/unotest/uniquepipename.hxx b/unotest/inc/unotest/uniquepipename.hxx
index b66492ce271a..0a9b2c1ff466 100644
--- a/unotest/inc/unotest/uniquepipename.hxx
+++ b/unotest/inc/unotest/uniquepipename.hxx
@@ -31,14 +31,14 @@
#include "sal/config.h"
-#include "test/detail/testdllapi.hxx"
+#include "unotest/detail/unotestdllapi.hxx"
namespace rtl { class OUString; }
namespace test {
// Create a system-wide unique name (for use with osl::Pipe):
-OOO_DLLPUBLIC_TEST rtl::OUString uniquePipeName(rtl::OUString const & name);
+OOO_DLLPUBLIC_UNOTEST rtl::OUString uniquePipeName(rtl::OUString const & name);
}
diff --git a/unotest/prj/build.lst b/unotest/prj/build.lst
index 1bb6c713b23b..d3be738a1cae 100644
--- a/unotest/prj/build.lst
+++ b/unotest/prj/build.lst
@@ -1,5 +1,5 @@
-unote unotest : BOOST:boost cppu cppuhelper CPPUNIT:cppunit javaunohelper offapi ridljar sal solenv stlport unoil qadevOOo vcl NULL
-unote unotest\source\cpp nmake - all source_cpp inc NULL
-unote unotest\source\cpp\unoexceptionprotector nmake - all source_cpp_unoexceptionprotector inc NULL
+unote unotest : BOOST:boost cppu cppuhelper CPPUNIT:cppunit javaunohelper offapi ridljar sal solenv stlport unoil qadevOOo NULL
+unote unotest\source\cpp nmake - all source_cpp NULL
+unote unotest\source\cpp\unoexceptionprotector nmake - all source_cpp_unoexceptionprotector NULL
unote unotest\source\java\org\openoffice\test nmake - all source_java NULL
unote unotest\source\java\org\openoffice\test\tools nmake - all source_java_tools NULL
diff --git a/unotest/source/cpp/gettestargument.cxx b/unotest/source/cpp/gettestargument.cxx
index 0bc00062e8d3..24e5c57feeff 100644
--- a/unotest/source/cpp/gettestargument.cxx
+++ b/unotest/source/cpp/gettestargument.cxx
@@ -30,7 +30,7 @@
#include "rtl/ustring.h"
#include "rtl/ustring.hxx"
-#include "test/gettestargument.hxx"
+#include "unotest/gettestargument.hxx"
#include "getargument.hxx"
diff --git a/unotest/source/cpp/makefile.mk b/unotest/source/cpp/makefile.mk
index 31eafda84da9..b28b1edb2b22 100644
--- a/unotest/source/cpp/makefile.mk
+++ b/unotest/source/cpp/makefile.mk
@@ -40,7 +40,6 @@ CFLAGSCXX += $(CPPUNIT_CFLAGS)
SLOFILES = \
$(SLO)/getargument.obj \
$(SLO)/gettestargument.obj \
- $(SLO)/bootstrapfixture.obj \
$(SLO)/officeconnection.obj \
$(SLO)/toabsolutefileurl.obj \
$(SLO)/uniquepipename.obj
@@ -53,16 +52,11 @@ SHL1IMPLIB = i$(SHL1TARGET)
SHL1OBJS = $(SLOFILES)
SHL1RPATH = NONE
SHL1STDLIBS = \
- $(VCLLIB) \
- $(TOOLSLIB) \
- $(UCBHELPERLIB) \
- $(COMPHELPERLIB) \
$(CPPUHELPERLIB) \
- $(UNOTOOLSLIB) \
$(CPPULIB) \
$(CPPUNITLIB) \
$(SALLIB)
-SHL1TARGET = test
+SHL1TARGET = unotest
SHL1USE_EXPORTS = name
DEF1NAME = $(SHL1TARGET)
diff --git a/unotest/source/cpp/officeconnection.cxx b/unotest/source/cpp/officeconnection.cxx
index 9c8d4d549b71..1b2e47c36b15 100644
--- a/unotest/source/cpp/officeconnection.cxx
+++ b/unotest/source/cpp/officeconnection.cxx
@@ -40,9 +40,9 @@
#include "osl/time.h"
#include "sal/macros.h"
#include "sal/types.h"
-#include "test/officeconnection.hxx"
-#include "test/toabsolutefileurl.hxx"
-#include "test/uniquepipename.hxx"
+#include "unotest/officeconnection.hxx"
+#include "unotest/toabsolutefileurl.hxx"
+#include "unotest/uniquepipename.hxx"
#include "getargument.hxx"
diff --git a/unotest/source/cpp/toabsolutefileurl.cxx b/unotest/source/cpp/toabsolutefileurl.cxx
index e7c97d2fb85f..ec9749174215 100644
--- a/unotest/source/cpp/toabsolutefileurl.cxx
+++ b/unotest/source/cpp/toabsolutefileurl.cxx
@@ -32,7 +32,7 @@
#include "osl/file.hxx"
#include "osl/process.h"
#include "rtl/ustring.hxx"
-#include "test/toabsolutefileurl.hxx"
+#include "unotest/toabsolutefileurl.hxx"
namespace {
diff --git a/unotest/source/cpp/uniquepipename.cxx b/unotest/source/cpp/uniquepipename.cxx
index 1725ca218918..eae8de322f0d 100644
--- a/unotest/source/cpp/uniquepipename.cxx
+++ b/unotest/source/cpp/uniquepipename.cxx
@@ -34,7 +34,7 @@
#include "rtl/ustring.h"
#include "rtl/ustring.hxx"
#include "sal/types.h"
-#include "test/uniquepipename.hxx"
+#include "unotest/uniquepipename.hxx"
namespace test {
diff --git a/unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx b/unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx
index 7e7e0000c49a..3829bd1b3b6e 100644
--- a/unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx
+++ b/unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx
@@ -24,7 +24,6 @@
* for a copy of the LGPLv3 License.
************************************************************************/
-#include "precompiled_test.hxx"
#include "sal/config.h"
#include "sal/precppunit.hxx"