Tor Lillqvist
d3721e5000
Handle CppUnit::DynamicLibraryManagerException
...
Change-Id: I81f9b133ffb03c225b276639f60ad5e7f38ec1ef
2012-08-17 20:28:49 +03:00
Michael Meeks
328e2263fb
targetted re-work of cppunit pieces.
2012-06-27 19:13:11 +01:00
Tor Lillqvist
ae3f7ccaab
Recognize unoexceptionprotector and unobootstrapprotector
2012-04-16 01:46:37 +02:00
Michael Stahl
3c854f6d31
WaE: initialization order
2012-04-13 18:31:26 +02:00
Caolán McNamara
d117d97418
push and pop protectors around runner run, hopefully fixes windows build
2012-04-13 16:48:53 +01:00
Caolán McNamara
8d7e8a0a3b
setup/teardown default component context once before/after all tests
...
avoids the problems of dangling uno singletons invalidated after the first
dispose and the chain of other singletons that don't expect to need to
re-initialize, etc.
reenable editeng cppunit test
inherit i18npool cppunit test from unotest base
drop LibreOfficeProtector, do "throwable" work in setUp/tearDown not
in ctors/dtors
2012-04-13 13:15:25 +01:00
Szabolcs Dezsi
d6bc02f8c4
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
2012-04-06 20:03:42 +02:00
Tor Lillqvist
128749140f
More hacking on static linking (iOS) support
2012-03-21 00:00:05 +02:00
Tor Lillqvist
59dfa55180
cppunittester hacks for iOS, intermediate commit
...
For iOS cppunit plugins aren't really "plugins" (shared libraries),
but just static archives. In the real main program of a cppunit app
(such are not yet written), which calls the lo_main() (the
SAL_IMPLEMENT_MAIN() in cppunittester.cxx) we specifically will call
the initialize methods of the CppUnitTestPlugIns that we statically
link to the app executable. Hopefully that will work out as expected.
2012-02-22 22:35:55 +02:00
Norbert Thiebaud
8fc6fc97d5
remove include of pch header from sal
2011-11-27 13:18:15 -06:00
Caolán McNamara
528a225ddb
get TestResult dtor before osl::Module dtor
2011-10-15 12:18:43 +01:00
Caolán McNamara
68b1861ace
easier to find leaks if the test harness doesn't leak
2011-10-01 15:35:19 +01:00
Caolán McNamara
ec0581d042
add a simple timer for unit tests
2011-09-21 09:47:38 +01:00
Stephan Bergmann
d996328cd5
sb140: #i113503# mixing system CppUnit and OOo STLport does not work, backed out a6913c9677c2
...
For LibO, that just means replacing sal/cppunit.h with sal/precppunit.hxx.
2011-09-12 22:47:50 +02:00
Tor Lillqvist
2495f15abb
Do use _CrtDbgReport() in a _DEBUG (enable-dbgutil, non-pro) build
2011-08-17 20:59:45 +03:00
Caolán McNamara
a31275041c
missing else, *cough*
2011-07-01 10:40:22 +01:00
Caolán McNamara
5a85cf5045
rearrange the cppunittester to allow makeFixture time exceptions catchable
2011-06-30 15:59:09 +01:00
Fridrich Štrba
24c7ee76e9
Work around Visual Studio lameness with "max"
2011-03-23 18:06:12 +01:00
Jan Holesovsky
4be7cca60b
Merge commit 'ooo/DEV300_m103'
...
Conflicts:
codemaker/source/bonobowrappermaker/corbaoptions.cxx
codemaker/source/cppumaker/cppuoptions.cxx
codemaker/source/cunomaker/cunooptions.cxx
codemaker/source/idlmaker/idloptions.cxx
codemaker/source/javamaker/javaoptions.cxx
cppu/source/typelib/typelib.cxx
idlc/source/options.cxx
offapi/com/sun/star/util/PathSubstitution.idl
offapi/drafts/com/sun/star/form/ListEntryEvent.idl
offapi/drafts/com/sun/star/form/XBindableValue.idl
offapi/drafts/com/sun/star/form/XListEntryListener.idl
offapi/drafts/com/sun/star/form/XListEntrySink.idl
offapi/drafts/com/sun/star/form/XListEntrySource.idl
offapi/drafts/com/sun/star/form/XValueBinding.idl
registry/tools/checksingleton.cxx
registry/tools/options.hxx
registry/tools/regcompare.cxx
registry/tools/regmerge.cxx
sal/cppunittester/cppunittester.cxx
sal/osl/unx/socket.c
sal/osl/w32/diagnose.c
sal/prj/d.lst
sal/rtl/source/alloc_fini.cxx
sal/rtl/source/alloc_global.c
sal/rtl/source/makefile.mk
2011-03-23 16:59:59 +01:00
sb
bf5a377913
debuglevels: #i117073# Linux/GCC needs SAL_LOADMODULE_GLOBAL for exception handling to work
2011-02-28 08:57:47 +01:00
Frank Schoenheit [fs]
2daf5ba78e
debuglevels: ooops - removed a line of code not intended to be committed
2011-02-26 21:52:40 +01:00
Frank Schoenheit [fs]
df43fd9cd2
debuglevels: GCC WaE / replace cppunit's DynamicLibraryManager (which does not seem to be public API) with osl_loadModule
2011-02-25 16:01:35 +01:00
sb
58eb3fb273
debuglevels: #i117073# added cppunittester --protector support; added unoexceptionprotector and use it in installationtest.mk; reverted changes to smoketest.cxx obsoleted by these additions
2011-02-25 11:32:55 +01:00
Caolán McNamara
d7d7e6f8d4
add possibility of passing command line args down to tests
2011-02-22 21:16:33 +00:00
Caolán McNamara
ff6efc0b7c
try harder
2011-02-18 17:08:29 +00:00
Caolán McNamara
f265ab32c0
crash without built-in report dialog on windows
2011-02-18 16:35:46 +00:00
Fridrich Štrba
30a8393e50
Removing the ext_std masterpiece
2011-02-09 19:58:43 +01:00
Fridrich Štrba
c36e6badf3
Put this two includes back
2011-02-04 07:02:15 +01:00
Fridrich Strba
f8e27a7c46
some std::hash_map/set -> boost::unordered_map/set changes
2011-02-03 22:32:23 +01:00
Caolán McNamara
a1cd5079fa
allow extra arguments
2010-10-19 13:01:50 +01:00
Sebastian Spaeth
a715e1b3d0
Add vim/emacs modelines to all source files
...
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com )
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de >
2010-10-14 17:04:31 +02:00
Caolán McNamara
b7133fc066
#i113503# cppunit stl wrapper headers
2010-10-06 12:17:25 +01:00
Caolán McNamara
fc04c69770
cmcfixes77: #i113503# system non-stlport cppunit with OOo stlport
2010-08-03 10:01:07 +01:00
sb
d2a42ecf88
sb118: #i109125# change source file copyright notice from Sun Microsystems to Oracle
2010-02-25 14:34:54 +01:00
sb
bf7b1511c0
sb118: typo
2010-01-08 16:42:14 +01:00
sb
0d8e2caa55
sb118: Replace (heavily modified) CppUnit 1.8.0 with (unmodified) latest 1.12.1.
...
- Old modifications were necessary for testshl2, which has simply been excluded
from the build for now.
- Tests in basebmp, basegfx, o3tl (that are executed during build) have been
converted from using modified CppUnit/testshl2 to using unmodified CppUnit.
- CppUnit's DllPlugInTester has problems with OOo tests on Windows, see
#i107562#, so for now a new cppunittester from sal is used instead.
2009-12-11 14:29:59 +01:00