summaryrefslogtreecommitdiff
path: root/sal/cppunittester
AgeCommit message (Collapse)Author
2012-12-10-Werror,-Wtautological-constant-out-of-range-compareStephan Bergmann
Change-Id: I99ae1590067d66f0af968833bc75d773ad3cb15c
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-12-19sal: convert to gbuildMatúš Kukan
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-09iOS hacking for cppunittesterTor Lillqvist
We don't need sal/main.h in salinit.cxx as far as I can see. Add stuff to sal/main.h so that we can link an iOS executable that actually will run, and hack the makefile so that cppunittester builds successfully. Of course, a cppunittester executable built here won't be usable for anything interesting as we don't build any dynamic libraries of LibreOffice code for iOS, so there is nothing to pass on the command line to load. But hey, baby steps, experimentation, doing work in the public, commit often, etc...
2011-07-01missing else, *cough*Caolán McNamara
2011-06-30rearrange the cppunittester to allow makeFixture time exceptions catchableCaolán McNamara
2011-06-16Do build cppunittester when cross-compiling after allTor Lillqvist
2011-06-06Always compare CROSS_COMPILING explicitly to "YES"Tor Lillqvist
2011-05-22Cannot do unit testing when cross-compilingTor Lillqvist
2011-04-05remove ADAPT_EXT_STLCaolá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-03-08Merge commit 'ooo/DEV300_m101' into integration/dev300_m101Norbert Thiebaud
* commit 'ooo/DEV300_m101': (185 commits) chart52: cleanup unused legend entry stuff in preparation of issue #i82802# masterfix: #i10000# add missing dependency in offapi sb138: #i115619# fix for MinGW sb138: #i115619#, #i116038# use osl_setThreadName in binaryurp sb138: #i115619# osl_setThreadName gridsort: i116682: update UnoControlDialog to reflect XDialog gridsort: minor changes to the new API: - renamed XMutableGridDataModel::setRowHeading to updateRowHeading for consistency reasons - renamed XSortableGridDataModel to XSortableGridData - actually, this is not a full-fledged model in itself. gridsort: grid control related unit tests (first set, more to come) sb138: #i116038# fresh implementation of binary URP bridge chart52: #28670# make the legend within charts resizeable - part 2 gridsort: re-did the column resizing - introduced XGridColumn.Flexibility, determining to which degree the column is resized during auto-column-resizing - removed XGridColumn.PreferredWidth - there really is no need for this anymore now - documented the relationship between XGridColumn.Flexibility and XGridColumn.Resizeable - re-implemented TableControl_Impl::impl_ni_updateColumnWidths, with (hopefully) less magic sb139: #i116530# improve Java URP bridge error notification by utilizing the java.lang.Throwable cause facility gridsort: document the relationship between soorting the data and notifying XGridDataListeners gridsort: introduce XGridColumn::DataModelIndex. this allows for column removal/insertion at the GridColumnModel, without the need to touch the GridDataModel locales34: #i112431# adapt documentation to reality gridsort: introduce XSortableGridDataModel::removeColumnSort gridsort: #163172# added UNO API support for sorting grid data. Implementation still unfinished. Things missing in the SortableGridData implementation - add as listener to the delegator, so we're notified of changes - translate and multiplex those changes - do own notifications (XGridDataListener.dataChanged) when the sort order changed - (possibly) update the sort order when the data in the current sort-column changed gridsort: made the row title a row heading, being an Any instead of a string gridsort: XMutableGridData: renamed updateRow to updateRowData for consistency; introduced updateRowToolTip as shortcut for multiple updateCellToolTip calls gridsort: updateCell->updateCellData, setCellToolTip->updateCellToolTip; in both methods, have (Col,Row) params instead of (Row,Col), for consistency reasons ... Conflicts: bridges/inc/bridges/remote/bridgeimpl.hxx bridges/inc/bridges/remote/connection.h bridges/inc/bridges/remote/context.h bridges/inc/bridges/remote/helper.hxx bridges/inc/bridges/remote/mapping.hxx bridges/inc/bridges/remote/proxy.hxx bridges/inc/bridges/remote/remote.h bridges/inc/bridges/remote/remote.hxx bridges/inc/bridges/remote/stub.hxx bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx bridges/source/remote/context/context.cxx bridges/source/remote/static/helper.cxx bridges/source/remote/static/mapping.cxx bridges/source/remote/static/proxy.cxx bridges/source/remote/static/remote.cxx bridges/source/remote/static/remote_types.cxx bridges/source/remote/static/remote_types.hxx bridges/source/remote/static/stub.cxx bridges/source/remote/urp/urp_bridgeimpl.cxx bridges/source/remote/urp/urp_bridgeimpl.hxx bridges/source/remote/urp/urp_cache.h bridges/source/remote/urp/urp_cache.hxx bridges/source/remote/urp/urp_dispatch.cxx bridges/source/remote/urp/urp_dispatch.hxx bridges/source/remote/urp/urp_environment.cxx bridges/source/remote/urp/urp_job.cxx bridges/source/remote/urp/urp_job.hxx bridges/source/remote/urp/urp_log.cxx bridges/source/remote/urp/urp_log.hxx bridges/source/remote/urp/urp_marshal.cxx bridges/source/remote/urp/urp_marshal.hxx bridges/source/remote/urp/urp_marshal_decl.hxx bridges/source/remote/urp/urp_property.hxx bridges/source/remote/urp/urp_propertyobject.cxx bridges/source/remote/urp/urp_propertyobject.hxx bridges/source/remote/urp/urp_reader.cxx bridges/source/remote/urp/urp_reader.hxx bridges/source/remote/urp/urp_replycontainer.hxx bridges/source/remote/urp/urp_threadid.cxx bridges/source/remote/urp/urp_threadid.hxx bridges/source/remote/urp/urp_unmarshal.cxx bridges/source/remote/urp/urp_unmarshal.hxx bridges/source/remote/urp/urp_writer.cxx bridges/source/remote/urp/urp_writer.hxx cppu/source/threadpool/threadpool.cxx cppu/util/target.pmk cppuhelper/qa/propertysetmixin/comp_propertysetmixin.cxx cppuhelper/source/interfacecontainer.cxx cpputools/source/regcomplazy/regcomplazy.cxx jurt/prj/d.lst jvmfwk/source/elements.cxx offapi/com/sun/star/awt/grid/GridDataEvent.idl offapi/com/sun/star/awt/grid/XGridColumn.idl offapi/com/sun/star/awt/tab/makefile.mk offapi/com/sun/star/chart2/ExplicitIncrementData.idl offapi/com/sun/star/chart2/XPlotter.idl offapi/com/sun/star/chart2/XUndoHelper.idl offapi/com/sun/star/document/MediaDescriptor.idl offapi/com/sun/star/document/makefile.mk offapi/com/sun/star/linguistic2/XLanguageGuessing.idl offapi/com/sun/star/script/ModuleInfo.idl offapi/com/sun/star/script/ModuleType.idl offapi/com/sun/star/text/TextMarkupType.idl offapi/com/sun/star/util/XTextSearch.idl offapi/com/sun/star/xml/sax/XFastAttributeList.idl pyuno/source/loader/makefile.mk remotebridges/source/bridge/bridge_connection.cxx remotebridges/source/bridge/bridge_connection.hxx remotebridges/source/bridge/bridge_provider.cxx remotebridges/source/bridge/remote_bridge.cxx remotebridges/source/bridge/remote_bridge.hxx remotebridges/source/dynamicloader/dynamicloader.cxx remotebridges/source/factory/bridgefactory.cxx remotebridges/source/factory/bridgeimpl.cxx remotebridges/source/factory/bridgeimpl.hxx remotebridges/source/factory/makefile.mk sal/cppunittester/cppunittester.cxx sal/inc/osl/diagnose.h sal/osl/os2/system.h sal/osl/unx/diagnose.c sal/osl/unx/file_misc.cxx sal/osl/unx/process_impl.cxx sal/osl/w32/diagnose.c sal/osl/w32/process.cxx sal/prj/build.lst sal/qa/rtl/math/makefile.mk sal/qa/rtl/math/rtl_math.cxx sal/qa/rtl/math/rtl_old_testint64.cxx sal/qa/rtl/math/test_rtl_math.cxx sal/systools/win32/kill/kill.cxx sal/textenc/tencinfo.c sal/util/sal.map stoc/source/inspect/introspection.cxx stoc/source/security/file_policy.cxx stoc/source/simpleregistry/simpleregistry.cxx
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-09Trying to remove the stlport mention from the codeFridrich Štrba
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-03-04sb118: #i109791# improved CPPUNIT_CFLAGS handlingsb
2010-03-03sb118: CFLAGS += $(CPPUNIT_CFLAGS)Rene Engelhard
2010-02-25sb118: #i109125# change source file copyright notice from Sun Microsystems ↵sb
to Oracle