Noel Grandin
3e82897353
improve the inlinesimplememberfunctions clang plugin
...
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-17 10:55:17 +02:00
Stephan Bergmann
4ef5dfad79
loplugin:staticcall
...
Change-Id: Ib04cadafab0f3d0cd9e6bb550d846a3a1ca8ea76
2014-06-13 17:54:36 +02:00
Stephan Bergmann
9828206408
Demystify magic ponies
...
Change-Id: I7e619daf8743d3471ece72d81f6cf1bb61741646
2014-06-04 08:55:11 +02:00
Kohei Yoshida
a916b6ff7f
Detach all DocBasicItem objects upon process termination.
...
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-29 21:59:48 -04:00
Noel Grandin
e7bc3cab01
remove boilerplate in UNO Exception constructor calls
...
Now that we have default values for Exception constructor params,
remove lots of boilerplate code.
Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-23 15:06:00 +02:00
Tomaž Vajngerl
5830799d5b
macros_test: use "css" short form
...
Change-Id: I2e8d8773703df67d090059be8bd9f3c7c7335f78
2014-04-12 12:58:50 +02:00
Stephan Bergmann
70cc2b191b
First batch of adding SAL_OVERRRIDE to overriding function declarations
...
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
Alexander Wilms
f993a8930a
Remove visual noise from unotest
...
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-02-26 03:34:13 -06:00
Stephan Bergmann
c622bc0696
bool improvements
...
Change-Id: Ic113564f9d30e59b0292d97318f15e9b04813ce3
2014-01-28 20:26:20 +01:00
Michael Stahl
769778e489
test::BootstrapFixtureBase::getPathFromWorkdir not unused
...
Change-Id: I4ddad27d1e5a4de9885956b80db37f1e2f80a96e
2014-01-17 16:08:09 +01:00
Petr Vorel
db27efd297
removed some unused code (svx, svtools, unotest)
...
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>
2014-01-17 13:50:26 +00:00
Miklos Vajna
73a808f6b3
test::FiltersTest: add support for export tests
...
For now, this is only implemented for the Writer RTF filter.
Change-Id: I0c7ae5b0e544bd4738652a38474f4d262ce65661
2013-12-17 20:52:35 +01:00
Noel Grandin
08fe82e59c
Remove unnecessary use of OUString constructor in + expressions
...
Convert code like
aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp");
to
aFilename = OUString::number(nFilePostfixCount) + ".bmp";
Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50
2013-12-17 11:49:03 +02:00
Markus Mohrhard
31cba7d346
fixes for previous commit
...
Change-Id: Ic4f2d36ce901b88b47b43fdebba197daf8bd0373
2013-12-13 20:05:14 +01:00
Noel Grandin
610b2b94b3
remove unnecessary use of OUString constructor when assigning
...
change code like
aStr = OUString("xxxx");
to
aStr = "xxxx";
Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-19 10:29:31 +02:00
Lionel Elie Mamane
d00c4476da
fail early and hard
...
Change-Id: Ib550126d190e9436cf77e6c51eaf869ecd75a18b
2013-11-09 06:35:20 +01:00
Thomas Arnhold
d0c12f0aa2
fixincludeguards.sh: uno*
...
Change-Id: I8fb3c25cd583b688104a0ee8620696e7b2958ab5
2013-11-05 09:28:51 +01:00
Noel Grandin
0e6a2601b3
Convert code that calls OUString::getStr()[] to use the [] operator
...
This also means that this code now gets bounds checked in debug builds.
Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-11-04 08:06:10 +02:00
Michael Stahl
5d8f48c81e
solver doesn't solve anything...
...
... 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-31 15:42:24 +00:00
Michael Stahl
18c702a8e1
gbuild: move unittest mock profile to WORKDIR
...
Change-Id: Idd6420a855fec8b44fce6c0694b491d5f1eec95e
2013-10-29 00:58:44 +01:00
Michael Stahl
8e602afd1e
stop looking for Jar files in solver
...
Change-Id: I4d2a93fa7395354fbf2893df9e254ab39fa365af
2013-10-25 11:42:40 +02:00
Stephan Bergmann
30823bce29
Improve test assertion
...
Change-Id: If1f41f9c25600199ba4fb8c2f75ddd7c8ce8c8b3
2013-10-22 08:55:24 +02:00
Stephan Bergmann
95f56095a9
Can use CppUnit assert functionality here
...
Change-Id: Iecc42e79b72e99f9222ba2419226b0f655a5af7d
2013-09-27 15:17:28 +02:00
Stephan Bergmann
a86a737a27
Fix URL creation
...
Change-Id: Icbbe9096c60def4687b137a37bfe86c4de9b3f22
2013-09-27 14:36:40 +02:00
Stephan Bergmann
5063e39261
getURLFromWorkdir should actually return a URL
...
Change-Id: Id6d67f820226da15d90b95aa047767926583cc2e
2013-09-27 14:26:51 +02:00
Lionel Elie Mamane
92c53b9d94
unittest for fdo#67685
...
Change-Id: I44500717109a026d7c71e6494daacbea1f224263
2013-09-27 11:38:08 +02:00
Michael Stahl
2c092f352e
make the PythonTest run on WNT
...
- fix the PATH
- file url needs to start with file:///X:/ (three slashes, literal :)
Change-Id: I0d16d1e946fd06ba5523961c23c3b46872c0c050
2013-09-22 11:08:34 +02:00
Tor Lillqvist
08452f1208
Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVA
...
Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
2013-08-19 10:29:04 +03:00
Stephan Bergmann
62df5aabcd
gdb-core-bt.sh expects three arguments now
...
...since 29b59f2e87d1b00ab6a1f4cc4e960603974992bc "gdb-core-bt: don't talk about
core files without a reason."
Change-Id: I45640a5724fd98faf3a7c1e44e904f880cc9fc6a
2013-07-30 18:23:23 +02:00
Michael Meeks
03993b47c5
targetted clean of redundant header piece from 62badf3828
...
Change-Id: Ic1240114d667fb7797afae4847427cc889f3cb48
2013-07-26 14:18:52 +01:00
Michael Stahl
247b182fc5
unotest: re-add test::BootstrapFixtureBase::getPathFromWorkdir
...
also erroneously removed in 6a59659541e45198b8cda162f87f6abcd68c6101
Change-Id: Id9e942cf012d901546b5b403d0d04e749fd20695
2013-07-01 14:42:34 +02:00
Petr Vorel
6a59659541
Remove unused code
...
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-07-01 11:39:43 +00:00
Thomas Arnhold
318f2b64cc
remove some createFromAscii usage
...
there are a lot more of them:
git grep 'createFromAscii[^)]*"'
Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
2013-06-29 16:23:23 +02:00
David Ostrovsky
6e8eb540c8
Migrate CheckFields unit test to python
...
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-06-18 09:23:20 +00:00
Michael Meeks
72e5d0c8fb
Move to MPLv2 license headers, with ESC decision and author's permission.
2013-04-30 13:34:06 +01:00
David Ostrovsky
3c0a9bb59e
fdo#55814 migrate java unit test to python
...
Change-Id: Ib7ef29354f5d43abd9e67745dd6d3fccaec8612e
2013-04-27 11:56:30 +02:00
Stephan Bergmann
fd0ecb1897
Make informative output more obvious
...
Change-Id: I9088da9fd2eb1b3ea6be6fda85e058abe8d57286
2013-04-26 11:29:10 +02:00
David Tardon
c042cd05e9
gbuild: drop uses of removed packages
...
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-24 05:18:03 +00:00
David Tardon
25ea7f0b5e
move sal_inc headers to include/
...
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-24 05:17:49 +00:00
Bjoern Michaelsen
b9337e22ce
execute move of global headers
...
see https://gerrit.libreoffice.org/#/c/3367/
and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details
Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-23 22:20:31 +02:00
David Ostrovsky
f21d1faf6d
clean up PythonTests
...
Conflicts:
sw/PythonTest_sw_python.mk
Change-Id: I8dc937df02efb686bf19d6606b9b42b6f0abf742
2013-04-22 18:21:58 +02:00
Michael Meeks
62badf3828
Move to MPLv2 license headers, with ESC decision and author's permission.
2013-04-22 09:37:38 +01:00
Michael Stahl
ebeae438db
move Python tests in-process
...
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>
2013-04-09 05:52:49 +00:00
David Ostrovsky
0e68bac852
set up python unit test infrastructure
...
Extract boostraping code from convwatch.py to unotest.py. Use python builtin
unittest module as unit test framework. Specify the unit test modules in make
file. Another option would be to use discover mode of unittest module.
Add __pycache__ to global .gitignore to keep the source directory clean.
Another option would be to deliver the unit tests to workdir prior to test
execution.
Currently only system python3 is supported.
Change-Id: I2692817673f786e950e1176a17c7675f989755b6
Reviewed-on: https://gerrit.libreoffice.org/3214
Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2013-04-09 05:52:23 +00:00
Luboš Luňák
ba044b1e96
remove needless forward rtl::OUString declarations
...
Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
2013-04-07 14:23:12 +02:00
Luboš Luňák
1946794ae0
mass removal of rtl:: prefixes for O(U)String*
...
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-07 14:23:11 +02:00
Stephan Bergmann
b8c87dee81
Show backtraces for core files from CppunitTests, too
...
Change-Id: Idff2831913b6fb6e5b522ae36fffeb345e3a1140
2013-04-03 10:55:00 +02:00
Tor Lillqvist
3aa3d170a0
Bypass cppunit stuff for non-DESKTOP in more places
...
We don't run any cppunit tests for cross-compiled platforms anyway, so no
point in compiling that. (Especially as compiling cppunit currently fails in a
--enable-werror build at least for Android thanks to -Wundef.)
Change-Id: I3139c62305ccfeddc0f67729f10e224618d2fc03
2013-04-02 18:17:51 +03:00
Michael Meeks
79b0046ba0
remove legacy build.pl prj/build.lst files.
2013-03-14 17:05:51 +00:00
Chr. Rossmanith
413fe6c65a
Removed RTL_CONSTASCII_(U)STRINGPARAM in unotest
...
Change-Id: Iba14ed093bcb97ac1f6996e62e6191cf09574bfd
2013-03-12 21:02:26 +01:00