summaryrefslogtreecommitdiff
path: root/testtools
AgeCommit message (Collapse)AuthorFilesLines
2013-09-10gbuild: use xml .rdb files directly from workdirMatúš Kukan2-7/+7
Change-Id: I876a41dc77a59841c39b2c1fa43f22c20940dbf2
2013-08-29Fix testtools/CustomTarget_bridgetest.mk scripts for Mac OS XStephan Bergmann1-3/+5
Change-Id: I0727ee99d06cec185918b1ca10fc46f7ec14928f
2013-08-27The testtools component libs are layer NONE, not URELIBStephan Bergmann2-0/+4
Change-Id: I513ca71792ed9d4010a90041f3f5b818816374c8
2013-08-19Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVATor Lillqvist4-4/+4
Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
2013-06-29remove OUString wrap for string literalsThomas Arnhold1-7/+7
For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-03re-base on ALv2 code. Includes:Michael Meeks2-42/+24
Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1397337 http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1396797 Patches contributed by Andre Fischer Fixed getcsym.awk to handle #-comments that contain special regexp chars. http://svn.apache.org/viewvc?view=revision&revision=1230971 118778: Added ADDITIONAL_REPOSITORIES environment variable and its automatic setup in configure. http://svn.apache.org/viewvc?view=revision&revision=1232004 118160: Added external CoinMP library. http://svn.apache.org/viewvc?view=revision&revision=1233909 Patches contributed by Herbert Duerr #i119168# use generic LICENSE file for langpacks and sdks http://svn.apache.org/viewvc?view=revision&revision=1310178 macosxotoolhelper: need to quote perl regexp if it may contain regexp metachars http://svn.apache.org/viewvc?view=revision&revision=1183367 allow gbuild with empty sysroot on linux http://svn.apache.org/viewvc?view=revision&revision=1179186 Patches contributed by Ingo Schmidt native373: #164472# improvements for msi database http://svn.apache.org/viewvc?view=revision&revision=1167540 http://svn.apache.org/viewvc?view=revision&revision=1167539 Patches contributed by Jurgen Schmidt adapt setup package scripts to handle special DS_Store file for developer snapshot builds http://svn.apache.org/viewvc?view=revision&revision=1232430 imported patch extensions_i117681.patch http://svn.apache.org/viewvc?view=revision&revision=1172102 Patches contributed by Michael Stahl gbuild: RepositoryFixes.mk should be optional http://svn.apache.org/viewvc?view=revision&revision=1166123 xslt filter: remove the FLA horror wordml import filter: replace FLA usage with plain XSLT http://svn.apache.org/viewvc?view=revision&revision=1363727 Patch contributed by Oliver-Rainer Wittmann i#88652: applied patch, remove unicows deps http://svn.apache.org/viewvc?view=revision&revision=1177585 Remove lots of OS2 conditionals, re-extract Rhino Java, unwind cppunit pieces, cleanup Mac image bits, remove coin-mp and re-package lpsolve, Oxygen & Crystal, fixup qstart bits, expand MPLv2 subset checking. Change-Id: Iad5c8a76399620b892671633c0d8c29996db3564
2013-05-06remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák2-10/+10
Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-05-06fix typoNoel Grandin1-1/+1
Change-Id: I785c022c9f38eb54ba27fd76bb032f5fa7f34b63
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks12-252/+48
2013-04-29climaker no longer needs *.rdb.oldformat input filesStephan Bergmann1-2/+2
Change-Id: I55447aba5abcc8205543c7ca64763b5c99854837
2013-04-25Fix generation of cli_types_bridgetest.dll after gbuild'ificationStephan Bergmann1-1/+3
...the "double use of udkapi.rdb in climaker call in testtools/CustomTarget_bridgetest_climaker.mk looked fishy" indeed. Everything built in module testtools that is not used by the "native inprocess" test case (testtools/CustomTarget_uno_test.mk) is more-or-less faithfully copied over from pre-gbuild times, but the code to actually (manually) execute it is effectively lost: bridgetest_client against bridgetest_server and bridgetest_javaserver; bridgetest_inprocess_java; cli_bridgetest_inprocess.exe. So this cli_types_bridgetest.dll is effectively dead code today, but at least it is a more faithful copy of the pre-gbuild version again. Change-Id: If01a9d837dc6bf3837a17878d8a4bfaf87ab6d4d
2013-04-24More "Let climaker work on *.rdb.oldformat for now"Stephan Bergmann1-4/+2
...also, the use of double use of udkapi.rdb in climaker call in testtools/CustomTarget_bridgetest_climaker.mk looked fishy. Change-Id: I8be22b184740d65e567df65bae51fe18066be102
2013-04-24Get rid of UnoApiMerge_uretypes, which is just a duplicate of UnoApi_udkapiStephan Bergmann1-1/+1
What is a little confusing is that the udkapi.rdb ends up as types.rdb in the installation set (in the URE's sub-tree). So all places that reference it during the build do so as "udkapi" while all places that reference it in an installation set do so as "types." Change-Id: I35d0695966b3bd703f5494b636b9782efc0d3fcb
2013-04-24Get rid of UnoApiMerge_typesStephan Bergmann2-4/+5
(The "statistic" target in offapi/UnoApiMerge_types.mk appears to have been dead code already for quite a while.) Change-Id: I0852ebf1f765ba881abb6ce4db496e949076fc64
2013-04-24gbuild: drop empty use_packages callsDavid Tardon1-3/+0
Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f Reviewed-on: https://gerrit.libreoffice.org/3503 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24move URE headers to include/David Tardon1-2/+0
Change-Id: Ib48a12e902f2311c295b2007f08f44dee28f431d Reviewed-on: https://gerrit.libreoffice.org/3499 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-16Related rhbz#867808: More apparently bogus "throw new ..." in C++ codeStephan Bergmann1-3/+3
Change-Id: I5d723b389f1ed20f7962807b782f44f6f3c61882
2013-04-11[API CHANGE] WIP: Experimental new binary type.rdb formatStephan Bergmann1-1/+1
Make javamaker work on top of unoidl/ instead of registry/. API CHANGE: javamaker no longer supports the -B switch, as that is meaningless with the new format. When reading from an old-format .rdb file, /UCR is hard- coded as the prefix now. Change-Id: I8cca39f8ebacd0476934f7bd493d206928d063a9
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák9-97/+87
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-05Missing dependencies on UNO_SERVICES/TYPES references in solver uno ini-fileStephan Bergmann1-1/+3
...resolved at runtime by cppuhelper library on which uno executable depends. Change-Id: Id654e240fe88268de3ae690b1746591a71ba5a1a
2013-04-03Remove Mac OS X for PowerPC supportTor Lillqvist1-4/+0
Change-Id: I10b15141e6a5f93365e1cfa6fbc0c7cc3ea49b15
2013-03-20simplify OUString assignmentsChr. Rossmanith1-6/+6
Change-Id: Ieffd80aa84c9a041785bb81b3a904a32d00cb2bb Reviewed-on: https://gerrit.libreoffice.org/2863 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold2-5/+5
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 Arnhold5-74/+68
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>
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks1-3/+0
2013-03-13gbuild: stop using $(OUTDIR)/idlMichael Stahl1-1/+1
Instead, include directly from $(SRCDIR) Change-Id: I09df3da82eead897eb194ae55d1a092452f3cdb9
2013-02-28kill random dmake leftoversPeter Foley1-26/+0
Change-Id: I64e0d72c2ebcef22a831e264012fc8e1ff3b76d7
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-27cppuhelper: new ZipPackage_cppuhelper_odk_headersMichael Stahl1-1/+1
Change-Id: I77d7ef6890ca584cf022059838c318a2811bcd5d
2013-02-27cppu: new ZipPackage_cppu_odk_headersMichael Stahl1-1/+1
Change-Id: I4ceee0ed3438a18e13c186ebd8d390604d26ec28
2013-01-30Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac1-10/+9
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd Reviewed-on: https://gerrit.libreoffice.org/1924 Tested-by: Luboš Luňák <l.lunak@suse.cz> Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-26gbuild: fix silly "expandtabs" in makefile VIM modelinesMichael Stahl6-6/+6
Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl3-0/+6
- do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2012-12-30add runtime deps for custom targetsDavid Tardon3-14/+5
Change-Id: I49272003ea72c84c9e81bc826820b0ac5f9d5008
2012-12-25Get rid of (most uses of) GUITor Lillqvist2-7/+7
GUI only takes values UNX or WNT, so it is fairly pointless. One can check whether OS is WNT or not instead. Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34 Reviewed-on: https://gerrit.libreoffice.org/1304 Reviewed-by: Peter Foley <pefoley2@verizon.net> Tested-by: Peter Foley <pefoley2@verizon.net>
2012-12-22bridgetest_climaker seems to work nowPeter Foley1-9/+5
Change-Id: I50d55f5e5cc7987550ade689ca3754c818efeb62
2012-12-21Fix in-build uno ini deps for cross-compilingStephan Bergmann1-3/+3
Change-Id: Ie65482f328a0932c3543200d1906940b1eb46897
2012-12-20Always have UNO_SERVICES/TYPES set in in-build uno ini fileStephan Bergmann2-15/+17
...so that 16f856a5ca827602362692907dfcf287aa91602e "Adapt climaker to cppu::bootstrap_InitialComponentContext removal" does not fail. Starting uno processes from within the build should thus use URE_MORE_SERVICES/TYPES now, too. Change-Id: I0a7cfacc804814a2688e54275ebc3e39540d307c
2012-12-19Make testtools use defaultBootstrap_InitialComponentContextStephan Bergmann2-24/+23
...instead of the ure executable's obsolte -ro arguments (leading to usage of deprecated bootstrap_InitialComponentContext with an XSimpleRegistry instead), similar to 0c1dc375b4bf0c8ff01fe51921767faa703b1295 "Make ure/source/uretest/ use defaultBootstrap_InitialComponentContext." Change-Id: Idd35e27959f7650decfe78364d86614bafbbbec7
2012-12-06re-base on ALv2 code. Includes:Michael Meeks23-571/+358
Patches contributed by Ocke Janssen converted reportdesign. http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1394326 Patch contributed by Oliver Rainer-Wittmann sw34bf06: #i117783# - Writer's implementation of XPagePrintable - apply print settings to new printing routines http://svn.apache.org/viewvc?view=revision&revision=1172115
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens3-5/+0
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-11-30API CHANGE remove [oneway] method attributesThorsten Behrens2-6/+6
Remove non-functional and broken [oneway] attributes from all idl files. Change idl compiler to no longer digest such idl. Change-Id: Ie14c5012beccb6242d7cd592d434a88091b695d1
2012-11-28testtools: add com.sun.star.test.performance.XPerformanceTest ...Michael Stahl2-0/+134
... back, which was removed from udkapi in 771914ab1482af600b11dfe789182604802d1046. Change-Id: I266f2d4fd01dc01a839f5c608ec8c45be76165c0
2012-11-28ridljar etc.: javamaker invocations must rm -r targetdirMichael Stahl1-0/+1
... because otherwise types that have been removed from the input rdb still end up in the resulting jar file. Change-Id: Ia73ecffcc9d831f2627ac0fcc5f57acf1f52a799
2012-10-04sal_Bool->bool in testtoolsNoel Grandin1-5/+5
Change-Id: I716c0a08565e874bcb0667e72ed5261231a4743d
2012-10-01add missing deps on headers to static libsDavid Tardon1-0/+5
Change-Id: I7a28dfa13bf0f98a654eca98eb1cdfd99177f37a
2012-09-25replace remaining InterlockedCount() with inlined versionNorbert Thiebaud2-6/+6
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c Reviewed-on: https://gerrit.libreoffice.org/671 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-22fix URE depsDavid Tardon1-1/+3
Change-Id: Ifbcd2c7db1985ca8fcc74dbbe74ffb93177d6490
2012-09-22add necessary deps for the test to runDavid Tardon1-0/+4
Change-Id: I341b9bf3343f38d93b11ca3265fb8dbb0434aca8
2012-09-22add missing dep on types.rdbDavid Tardon1-2/+5
Change-Id: I2cfff38e6b18b8949dd712b9fc60aef2a593b40b