summaryrefslogtreecommitdiff
path: root/cppu/qa
AgeCommit message (Collapse)Author
2013-05-07Avoid warnings about unused test functionsStephan Bergmann
Change-Id: I6b2a40c4b95555c4d8bf0d8674fce46accd49965
2013-05-07Up-cast conversion constructor for css::uno::ReferenceStephan Bergmann
Based on a previous patch by Noel Grandin, <https://gerrit.libreoffice.org/#/c/3613/>, and borrowing from boost::is_base_and_derived (see comment in include/com/sun/star/uno/Reference.h) to avoid including Boost headers in URE headers. Change-Id: Iade5af144dd73ef03bd7d96000134c7a66a5e591 Reviewed-on: https://gerrit.libreoffice.org/3699 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-04-03Forbid old-style services/singletons inheriting new-style servicesStephan Bergmann
...does not make sense. Adapted some old-style services accordingly, where the inherited service had been changed to new-style after the fact. Change-Id: I5f3e4ddf99160778a319062a6c84f83529ff177b
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens
This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-09-18deprecate oustringostreaminserter.hxxNorbert Thiebaud
the intent of this header has canged over time. now it is already systematically included with ustring.hxx and the operator overload it provide fit nicely there... Just to be safe, since that include as been added to the api during the 3.5 timeframe and therefore is already in 'production' the header remain and simply attempt to include ustring.hxx but a warning is issued indicating that this header should not be used anymore... in a couple of major release we will thenr emove it completely All internal users of that header are converted. Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad Reviewed-on: https://gerrit.libreoffice.org/634 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-17migrate some of the biggest consumer of osl_*InterlockedCount to osl_atomicNorbert Thiebaud
Change-Id: I0e6992afbeffaf3b993e6630fb396d93012890e0 Reviewed-on: https://gerrit.libreoffice.org/632 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-08-01Bin no longer used iOS cppunit stuff that breaks build evenTor Lillqvist
Change-Id: I78c71b22816834c66c8283e3d85e357b7b8d2836
2012-07-30udkapi, offapi: do not use #include "foo":Michael Stahl
Evidently on Windows, the newfangled ucpp handles #include "foo" differently from #include <foo> and treats it as a relative path, while the angle brackets always result in absolute paths. Since relative paths result in infinite rebuilds if make is invoked in a different directory, don't use #include "foo" in IDL files. Change-Id: Iedcda3a4be5542389a0be086f14541cda8dc5323
2012-07-16allow using rtl::OUString etc. simply as OUString, without rtl::Luboš Luňák
http://lists.freedesktop.org/archives/libreoffice/2012-April/029940.html The RTL_USING #define (set by gbuild for anything that's not public API) allows to use such classes simply by their name, without having to use the namespace or do explicit using rtl::OUString (which half of the sources do anyway). Change-Id: I7edaf12cd278489cdc1d5ff782f0a86361c13c0a
2012-06-27targetted re-work of cppunit pieces.Michael Meeks
2012-06-26re-base on ALv2 code.Michael Meeks
2012-06-13re-base on ALv2 code.Michael Meeks
2012-04-09cppu: use InternalUnoApiMatúš Kukan
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
2012-03-14Enable -Wnon-virtual-dtor for GCC 4.6Stephan Bergmann
...which has the necessary features to support it. Change a lot of classes to either contain a protected non-virtual dtor (which is backwards compatible, so even works for cppumaker-generated UNO headers) or a public virtual one. cppuhelper/propertysetmixin.hxx still needs to disable the warning, as the relevant class has a non-virtual dtor but friends, which would still cause GCC to warn. Includes a patch for libcmis, intended to be upstreamed.
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC) is used to annotate legitimately unused parameters, so that static analysis tools can tell legitimately unused parameters from truly unnecessary ones. To that end, some patches for external modules are also added, that are only applied when compiling with GCC and add necessary __attribute__ ((unused)) in headers.
2011-12-19-Werror=sign-promo fixesStephan Bergmann
2011-12-19cppu: convert to gbuildMatúš Kukan
Because of unit tests is here custom target where are idl files processed.
2011-11-27remove include of pch header in cppuNorbert Thiebaud
2011-11-22New sal/log.h obsoletes osl/diagnose.h and tools/debug.hxx.Stephan Bergmann
* New SAL_INFO..., SAL_WARN... macros. * New SAL_STREAM supersedes OSL_FORMAT. * oustringostreaminserter.hxx moved from unotest to rtl (and always UTF-8 now). * TODO to enable GCC __attribute__((format)) in sal/log.h (requires call-site cleanup). * Further functionality in tools/debug.hxx (DBG_MEMTEST, DBG_CTOR, etc.) not yet addressed. * Some replacements tools String -> rtl::OUString.
2011-11-15fdo#42865: cppu,cppuhelper,testtools: no mapfileMichael Stahl
Instead, build with VISIBILITY_HIDDEN.
2011-11-14Fix build --all depend=x.Stephan Bergmann
2011-10-18Some fixes for "clang version 3.1 (trunk 142234)" (with --enable-werror, on ↵Stephan Bergmann
Linux x86_64).
2011-09-27Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *().Stephan Bergmann
2011-09-20Bypass building the iOS cppu_unittester_all for nowTor Lillqvist
We can't build it here at this point during the build after all. We use static linking on iOS, and we would need to link with -lgcc3_uno from bridges which has not been built yet. It seems that any meaningful unit tests for iOS actually need to be built in a "subsequent" stage.
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-01Use OBJCXXFLAGS instead of duplicating itTor Lillqvist
2011-08-01Add statically linked cppu unit test for iOSTor Lillqvist
2011-06-13use rm -f to not complain about attempting to remove nonexisting fileChristian Lohmaier
2011-06-05Can't run any qa when cross-compilingTor Lillqvist
2011-03-18restore cppunit test, Sequence ctor from sal_Int32 is now explicitCaolán McNamara
2011-03-18only test this on certain archsCaolán McNamara
2011-03-18Add PowerPC to the right branchFridrich Štrba
2011-03-15move cppumaker test to cppuCaolán McNamara
2011-02-24remove empty TESTSHL2LIBCaolán McNamara
2011-02-09Trying to remove the stlport mention from the codeFridrich Štrba
2011-02-09Removing the ext_std masterpieceFridrich Štrba
2011-01-29Remove double line spacing and correct indentationThomas Arnhold
2011-01-15fix break on parallel buildDavid Tardon
2011-01-14cppunit: port these tests over to canonical cppunitCaolá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-03-04sb118: #i109791# improved CPPUNIT_CFLAGS handlingsb
2010-03-04sb118: add missing CFLAGS+= $(CPPUNIT_CFLAGS) to loads of other makefiles, tooRene Engelhard
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2009-09-14#i103496#: split cppunit in a pure external lib and a lib depending on sal ↵Mathias Bauer
-> testshl2
2008-10-01CWS-TOOLING: integrate CWS sb93Vladimir Glazounov
2008-10-01CWS-TOOLING: integrate CWS sb93Vladimir Glazounov
2008-04-11INTEGRATION: CWS changefileheader (1.3.132); FILE MERGEDRüdiger Timm
2008/03/31 07:23:18 rt 1.3.132.1: #i87441# Change license header to LPGL v3.