summaryrefslogtreecommitdiff
path: root/sal/cppunittester/cppunittester.cxx
AgeCommit message (Collapse)Author
2012-11-22Fail fastStephan Bergmann
Change-Id: I17d6ab71ec7bcf40dccb2c9ffe3d9f2e6b10f01c
2012-11-21android: fix cppunit testingMichael Meeks
2012-11-21re-base on ALv2 code. Includes:Michael Meeks
Patch contributed by Herbert Duerr: #i118662# remove berkeleyDB from module xmlhelp (author=orwitt) http://svn.apache.org/viewvc?view=revision&revision=1213188 #i119141# remove ISCII converter for now http://svn.apache.org/viewvc?view=revision&revision=1306246 make exceptions for cppunittester verbose http://svn.apache.org/viewvc?view=revision&revision=1174831 Patches contributed by Pedro Giffuni: Avoid some uses of non portable #!/bin/bash in shell scripts. http://svn.apache.org/viewvc?view=revision&revision=1235297 Patch contributed by Oliver-Rainer Wittmann 88652: applied patch, remove unicows deps http://svn.apache.org/viewvc?view=revision&revision=1177585 drop OS/2 code, remove in-line assembler ARM atomics, and obsolete armarch header.
2012-10-11Be consistent with surrounding codeTor Lillqvist
Change-Id: Ice88c3912c2fd0d99156acaa8e15518acab3b55b
2012-10-11WaE: 'fn' may be used uninitialized in this functionTor Lillqvist
Change-Id: Ib918bd537b30fe5dc48396fc7e952147003e3b19
2012-08-17Handle CppUnit::DynamicLibraryManagerExceptionTor Lillqvist
Change-Id: I81f9b133ffb03c225b276639f60ad5e7f38ec1ef
2012-06-27targetted re-work of cppunit pieces.Michael Meeks
2012-04-16Recognize unoexceptionprotector and unobootstrapprotectorTor Lillqvist
2012-04-13WaE: initialization orderMichael Stahl
2012-04-13push and pop protectors around runner run, hopefully fixes windows buildCaolán McNamara
2012-04-13setup/teardown default component context once before/after all testsCaolán McNamara
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-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
2012-03-21More hacking on static linking (iOS) supportTor Lillqvist
2012-02-22cppunittester hacks for iOS, intermediate commitTor Lillqvist
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.
2011-11-27remove include of pch header from salNorbert Thiebaud
2011-10-15get TestResult dtor before osl::Module dtorCaolán McNamara
2011-10-01easier to find leaks if the test harness doesn't leakCaolán McNamara
2011-09-21add a simple timer for unit testsCaolán McNamara
2011-09-12sb140: #i113503# mixing system CppUnit and OOo STLport does not work, backed ↵Stephan Bergmann
out a6913c9677c2 For LibO, that just means replacing sal/cppunit.h with sal/precppunit.hxx.
2011-08-17Do use _CrtDbgReport() in a _DEBUG (enable-dbgutil, non-pro) buildTor Lillqvist
2011-07-01missing else, *cough*Caolán McNamara
2011-06-30rearrange the cppunittester to allow makeFixture time exceptions catchableCaolán McNamara
2011-03-23Work around Visual Studio lameness with "max"Fridrich Štrba
2011-03-23Merge commit 'ooo/DEV300_m103'Jan Holesovsky
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-02-28debuglevels: #i117073# Linux/GCC needs SAL_LOADMODULE_GLOBAL for exception ↵sb
handling to work
2011-02-26debuglevels: ooops - removed a line of code not intended to be committedFrank Schoenheit [fs]
2011-02-25debuglevels: GCC WaE / replace cppunit's DynamicLibraryManager (which does ↵Frank Schoenheit [fs]
not seem to be public API) with osl_loadModule
2011-02-25debuglevels: #i117073# added cppunittester --protector support; added ↵sb
unoexceptionprotector and use it in installationtest.mk; reverted changes to smoketest.cxx obsoleted by these additions
2011-02-22add possibility of passing command line args down to testsCaolán McNamara
2011-02-18try harderCaolán McNamara
2011-02-18crash without built-in report dialog on windowsCaolán McNamara
2011-02-09Removing the ext_std masterpieceFridrich Štrba
2011-02-04Put this two includes backFridrich Štrba
2011-02-03some std::hash_map/set -> boost::unordered_map/set changesFridrich Strba
2010-10-19allow extra argumentsCaolán McNamara
2010-10-14Add vim/emacs modelines to all source filesSebastian Spaeth
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-06#i113503# cppunit stl wrapper headersCaolán McNamara
2010-08-03cmcfixes77: #i113503# system non-stlport cppunit with OOo stlportCaolán McNamara
2010-02-25sb118: #i109125# change source file copyright notice from Sun Microsystems ↵sb
to Oracle
2010-01-08sb118: typosb
2009-12-11sb118: Replace (heavily modified) CppUnit 1.8.0 with (unmodified) latest 1.12.1.sb
- 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.