summaryrefslogtreecommitdiff
path: root/unotest
AgeCommit message (Collapse)AuthorFilesLines
2014-08-20java: remove unnecessary constructor declarationsNoel Grandin1-3/+0
in the absence of any other constructors, the compiler will automatically generate a public no-arg constructor Change-Id: I70eca507cd8e16e33580b3398d41d70690bc2909
2014-08-19java: no need to instantiate String objects directlyNoel Grandin1-1/+1
Change-Id: I7610774c94bf673ed3b574ffce04c4ee6ca93c03
2014-08-19java: use 'Integer.valueOf' instead of 'new Integer'Noel Grandin1-1/+1
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
2014-08-12java: remove useless javadoc tagsNoel Grandin1-2/+0
that are not conveying any useful information Change-Id: Ic37934b8cc376fcdcb3d295232452f411dfd43b1
2014-08-12java: add @Override annotation to overriding methodsNoel Grandin1-0/+2
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
2014-08-08java: remove exceptions from throws clauses that are notNoel Grandin1-2/+2
.. actually thrown Change-Id: Ia326ac7f82e11b948ed0f34e20908a96e7adcd10
2014-08-08java: remove unnecessary semi-colonsNoel Grandin4-4/+4
Change-Id: Ibeeefc6e6ee8f7bed97a02f569f239ff035d38c4
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin1-4/+0
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-13loplugin:staticcallStephan Bergmann1-2/+1
Change-Id: Ib04cadafab0f3d0cd9e6bb550d846a3a1ca8ea76
2014-06-04Demystify magic poniesStephan Bergmann1-1/+1
Change-Id: I7e619daf8743d3471ece72d81f6cf1bb61741646
2014-05-29Detach all DocBasicItem objects upon process termination.Kohei Yoshida2-0/+3
To prevent rogue DocBasicItem objects (which are global objects) from attempting to stop listening after the main app is dead. Change-Id: I68a667137ca4e0eff18278f4d2d5dd67466eaf34
2014-05-23remove boilerplate in UNO Exception constructor callsNoel Grandin1-13/+10
Now that we have default values for Exception constructor params, remove lots of boilerplate code. Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-04-12macros_test: use "css" short formTomaž Vajngerl1-9/+8
Change-Id: I2e8d8773703df67d090059be8bd9f3c7c7335f78
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann2-2/+2
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-02-26Remove visual noise from unotestAlexander Wilms1-2/+2
Change-Id: I34d98f086d1a041516174a26cbf37fc3d75da155 Reviewed-on: https://gerrit.libreoffice.org/8333 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-28bool improvementsStephan Bergmann1-1/+1
Change-Id: Ic113564f9d30e59b0292d97318f15e9b04813ce3
2014-01-17test::BootstrapFixtureBase::getPathFromWorkdir not unusedMichael Stahl1-0/+8
Change-Id: I4ddad27d1e5a4de9885956b80db37f1e2f80a96e
2014-01-17removed some unused code (svx, svtools, unotest)Petr Vorel1-6/+0
Change-Id: I1250581d69423030bd0a93a1529458b8d424ce3e Reviewed-on: https://gerrit.libreoffice.org/7329 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-17test::FiltersTest: add support for export testsMiklos Vajna1-8/+13
For now, this is only implemented for the Writer RTF filter. Change-Id: I0c7ae5b0e544bd4738652a38474f4d262ce65661
2013-12-17Remove unnecessary use of OUString constructor in + expressionsNoel Grandin3-7/+7
Convert code like aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp"); to aFilename = OUString::number(nFilePostfixCount) + ".bmp"; Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50
2013-12-13fixes for previous commitMarkus Mohrhard2-3/+8
Change-Id: Ic4f2d36ce901b88b47b43fdebba197daf8bd0373
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin1-1/+1
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-09fail early and hardLionel Elie Mamane1-0/+2
Change-Id: Ib550126d190e9436cf77e6c51eaf869ecd75a18b
2013-11-05fixincludeguards.sh: uno*Thomas Arnhold1-2/+2
Change-Id: I8fb3c25cd583b688104a0ee8620696e7b2958ab5
2013-11-04Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin1-1/+1
This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-10-31solver doesn't solve anything...Michael Stahl1-3/+0
... it is an abbreviation of "Solar Version". Since nobody can remember that: remove OUTDIR OUTDIR_FOR_BUILD SOLARVER SOLARVERSION solarpath and any mention thereof. Change-Id: Idb3031c4f25a76ac05b22ec67e3ca3e1e8e512ad Reviewed-on: https://gerrit.libreoffice.org/6515 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-10-29gbuild: move unittest mock profile to WORKDIRMichael Stahl1-4/+1
Change-Id: Idd6420a855fec8b44fce6c0694b491d5f1eec95e
2013-10-25stop looking for Jar files in solverMichael Stahl1-3/+3
Change-Id: I4d2a93fa7395354fbf2893df9e254ab39fa365af
2013-10-22Improve test assertionStephan Bergmann1-1/+1
Change-Id: If1f41f9c25600199ba4fb8c2f75ddd7c8ce8c8b3
2013-09-27Can use CppUnit assert functionality hereStephan Bergmann1-3/+1
Change-Id: Iecc42e79b72e99f9222ba2419226b0f655a5af7d
2013-09-27Fix URL creationStephan Bergmann1-19/+23
Change-Id: Icbbe9096c60def4687b137a37bfe86c4de9b3f22
2013-09-27getURLFromWorkdir should actually return a URLStephan Bergmann1-1/+2
Change-Id: Id6d67f820226da15d90b95aa047767926583cc2e
2013-09-27unittest for fdo#67685Lionel Elie Mamane1-4/+0
Change-Id: I44500717109a026d7c71e6494daacbea1f224263
2013-09-22make the PythonTest run on WNTMichael Stahl1-1/+5
- fix the PATH - file url needs to start with file:///X:/ (three slashes, literal :) Change-Id: I0d16d1e946fd06ba5523961c23c3b46872c0c050
2013-08-19Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVATor Lillqvist1-1/+1
Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
2013-07-30gdb-core-bt.sh expects three arguments nowStephan Bergmann1-3/+3
...since 29b59f2e87d1b00ab6a1f4cc4e960603974992bc "gdb-core-bt: don't talk about core files without a reason." Change-Id: I45640a5724fd98faf3a7c1e44e904f880cc9fc6a
2013-07-26targetted clean of redundant header piece from 62badf3828Michael Meeks1-3/+0
Change-Id: Ic1240114d667fb7797afae4847427cc889f3cb48
2013-07-01unotest: re-add test::BootstrapFixtureBase::getPathFromWorkdirMichael Stahl1-0/+15
also erroneously removed in 6a59659541e45198b8cda162f87f6abcd68c6101 Change-Id: Id9e942cf012d901546b5b403d0d04e749fd20695
2013-07-01Remove unused codePetr Vorel1-12/+0
Change-Id: Id789250d6aeae642ef5c712e33c5583628638218 Reviewed-on: https://gerrit.libreoffice.org/4604 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-06-29remove some createFromAscii usageThomas Arnhold1-3/+3
there are a lot more of them: git grep 'createFromAscii[^)]*"' Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
2013-06-18Migrate CheckFields unit test to pythonDavid Ostrovsky1-0/+17
Change-Id: Ia765b37888b4095a735015e792f06fc89201d1a3 Reviewed-on: https://gerrit.libreoffice.org/4294 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks6-126/+24
2013-04-27fdo#55814 migrate java unit test to pythonDavid Ostrovsky1-1/+5
Change-Id: Ib7ef29354f5d43abd9e67745dd6d3fccaec8612e
2013-04-26Make informative output more obviousStephan Bergmann1-3/+5
Change-Id: I9088da9fd2eb1b3ea6be6fda85e058abe8d57286
2013-04-24gbuild: drop uses of removed packagesDavid Tardon3-6/+0
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24move sal_inc headers to include/David Tardon2-2/+2
Change-Id: I840c681b7c500640d3983e05e9895f3fa8bb1313 Reviewed-on: https://gerrit.libreoffice.org/3501 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-23execute move of global headersBjoern Michaelsen10-448/+0
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-22clean up PythonTestsDavid Ostrovsky1-3/+1
Conflicts: sw/PythonTest_sw_python.mk Change-Id: I8dc937df02efb686bf19d6606b9b42b6f0abf742
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks6-137/+26
2013-04-09move Python tests in-processMichael Stahl1-0/+31
This is nice to make them more easily debuggable. A series of crude hacks are employed to bootstrap enough services from python so the current tests run. This is only tested with system python3 on Fedora. Change-Id: I5e06741e55ead7fddec41ff776ff8ca5d2399469 Reviewed-on: https://gerrit.libreoffice.org/3215 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>