summaryrefslogtreecommitdiffstats
path: root/unotest
Commit message (Collapse)AuthorAgeFilesLines
* macros_test: use "css" short formTomaž Vajngerl2014-04-121-9/+8
| | | | Change-Id: I2e8d8773703df67d090059be8bd9f3c7c7335f78
* First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann2014-03-262-2/+2
| | | | | | | ...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
* Remove visual noise from unotestAlexander Wilms2014-02-261-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>
* bool improvementsStephan Bergmann2014-01-281-1/+1
| | | | Change-Id: Ic113564f9d30e59b0292d97318f15e9b04813ce3
* test::BootstrapFixtureBase::getPathFromWorkdir not unusedMichael Stahl2014-01-171-0/+8
| | | | Change-Id: I4ddad27d1e5a4de9885956b80db37f1e2f80a96e
* removed some unused code (svx, svtools, unotest)Petr Vorel2014-01-171-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>
* test::FiltersTest: add support for export testsMiklos Vajna2013-12-171-8/+13
| | | | | | For now, this is only implemented for the Writer RTF filter. Change-Id: I0c7ae5b0e544bd4738652a38474f4d262ce65661
* Remove unnecessary use of OUString constructor in + expressionsNoel Grandin2013-12-173-7/+7
| | | | | | | | | Convert code like aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp"); to aFilename = OUString::number(nFilePostfixCount) + ".bmp"; Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50
* fixes for previous commitMarkus Mohrhard2013-12-132-3/+8
| | | | Change-Id: Ic4f2d36ce901b88b47b43fdebba197daf8bd0373
* remove unnecessary use of OUString constructor when assigningNoel Grandin2013-11-191-1/+1
| | | | | | | | | change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
* fail early and hardLionel Elie Mamane2013-11-091-0/+2
| | | | Change-Id: Ib550126d190e9436cf77e6c51eaf869ecd75a18b
* fixincludeguards.sh: uno*Thomas Arnhold2013-11-051-2/+2
| | | | Change-Id: I8fb3c25cd583b688104a0ee8620696e7b2958ab5
* Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin2013-11-041-1/+1
| | | | | | This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
* solver doesn't solve anything...Michael Stahl2013-10-311-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>
* gbuild: move unittest mock profile to WORKDIRMichael Stahl2013-10-291-4/+1
| | | | Change-Id: Idd6420a855fec8b44fce6c0694b491d5f1eec95e
* stop looking for Jar files in solverMichael Stahl2013-10-251-3/+3
| | | | Change-Id: I4d2a93fa7395354fbf2893df9e254ab39fa365af
* Improve test assertionStephan Bergmann2013-10-221-1/+1
| | | | Change-Id: If1f41f9c25600199ba4fb8c2f75ddd7c8ce8c8b3
* Can use CppUnit assert functionality hereStephan Bergmann2013-09-271-3/+1
| | | | Change-Id: Iecc42e79b72e99f9222ba2419226b0f655a5af7d
* Fix URL creationStephan Bergmann2013-09-271-19/+23
| | | | Change-Id: Icbbe9096c60def4687b137a37bfe86c4de9b3f22
* getURLFromWorkdir should actually return a URLStephan Bergmann2013-09-271-1/+2
| | | | Change-Id: Id6d67f820226da15d90b95aa047767926583cc2e
* unittest for fdo#67685Lionel Elie Mamane2013-09-271-4/+0
| | | | Change-Id: I44500717109a026d7c71e6494daacbea1f224263
* make the PythonTest run on WNTMichael Stahl2013-09-221-1/+5
| | | | | | | - fix the PATH - file url needs to start with file:///X:/ (three slashes, literal :) Change-Id: I0d16d1e946fd06ba5523961c23c3b46872c0c050
* Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVATor Lillqvist2013-08-191-1/+1
| | | | Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
* gdb-core-bt.sh expects three arguments nowStephan Bergmann2013-07-301-3/+3
| | | | | | | ...since 29b59f2e87d1b00ab6a1f4cc4e960603974992bc "gdb-core-bt: don't talk about core files without a reason." Change-Id: I45640a5724fd98faf3a7c1e44e904f880cc9fc6a
* targetted clean of redundant header piece from 62badf3828Michael Meeks2013-07-261-3/+0
| | | | Change-Id: Ic1240114d667fb7797afae4847427cc889f3cb48
* unotest: re-add test::BootstrapFixtureBase::getPathFromWorkdirMichael Stahl2013-07-011-0/+15
| | | | | | also erroneously removed in 6a59659541e45198b8cda162f87f6abcd68c6101 Change-Id: Id9e942cf012d901546b5b403d0d04e749fd20695
* Remove unused codePetr Vorel2013-07-011-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>
* remove some createFromAscii usageThomas Arnhold2013-06-291-3/+3
| | | | | | | | there are a lot more of them: git grep 'createFromAscii[^)]*"' Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
* Migrate CheckFields unit test to pythonDavid Ostrovsky2013-06-181-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>
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-306-126/+24
|
* fdo#55814 migrate java unit test to pythonDavid Ostrovsky2013-04-271-1/+5
| | | | Change-Id: Ib7ef29354f5d43abd9e67745dd6d3fccaec8612e
* Make informative output more obviousStephan Bergmann2013-04-261-3/+5
| | | | Change-Id: I9088da9fd2eb1b3ea6be6fda85e058abe8d57286
* gbuild: drop uses of removed packagesDavid Tardon2013-04-243-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>
* move sal_inc headers to include/David Tardon2013-04-242-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>
* execute move of global headersBjoern Michaelsen2013-04-2310-448/+0
| | | | | | | see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
* clean up PythonTestsDavid Ostrovsky2013-04-221-3/+1
| | | | | | | Conflicts: sw/PythonTest_sw_python.mk Change-Id: I8dc937df02efb686bf19d6606b9b42b6f0abf742
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-226-137/+26
|
* move Python tests in-processMichael Stahl2013-04-091-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>
* set up python unit test infrastructureDavid Ostrovsky2013-04-093-0/+215
| | | | | | | | | | | | | | | | | 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>
* remove needless forward rtl::OUString declarationsLuboš Luňák2013-04-073-3/+0
| | | | Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-0716-96/+96
| | | | | | | | 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
* Show backtraces for core files from CppunitTests, tooStephan Bergmann2013-04-031-29/+44
| | | | Change-Id: Idff2831913b6fb6e5b522ae36fffeb345e3a1140
* Bypass cppunit stuff for non-DESKTOP in more placesTor Lillqvist2013-04-021-0/+2
| | | | | | | | 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
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-2/+0
|
* Removed RTL_CONSTASCII_(U)STRINGPARAM in unotestChr. Rossmanith2013-03-127-51/+30
| | | | Change-Id: Iba14ed093bcb97ac1f6996e62e6191cf09574bfd
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
* Pass DocumentService to the loader during macro tests.Kohei Yoshida2013-02-052-4/+13
| | | | | | | | | And disable user interaction during type detection, since that would cause the test to fail. With this change, 'make check' works once again. Change-Id: I2f45a2e962e45ee64f7984e794cff814fbfe6dab
* gbuild: do not copy boost headers aroundMichael Stahl2013-01-263-0/+3
| | | | | | | | | - 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
* Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()Jean-Noël Rouvignac2013-01-212-4/+4
| | | | | | | Change-Id: I2f11f2f15a652a9edc3c7e5b67c854debeed20de Reviewed-on: https://gerrit.libreoffice.org/1784 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
* fdo#46808, Convert frame::Desktop to new style service.Noel Grandin2012-12-212-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | | I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af