summaryrefslogtreecommitdiffstats
path: root/unotest
Commit message (Collapse)AuthorAgeFilesLines
* Fix typosAndrea Gelmini2016-05-161-1/+1
| | | | | | | Change-Id: If7262e114b5b4cd40e9c0a8929940199ea747595 Reviewed-on: https://gerrit.libreoffice.org/25025 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
* tdf#94306 replace boost::noncopyable in stoc to xmlsec..Jochen Nitschke2016-04-132-4/+8
| | | | | | | | | | | | | | | Replace with C++11 delete copy-constructur and copy-assignment. Remove boost/noncopyable.hpp includes. Add missing default ctors. With this commit there should be no users of boost::noncopyable left. Change-Id: I6b1e47824912a6a80cc3f00f34938ebc048d8975 Reviewed-on: https://gerrit.libreoffice.org/24051 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* cleanup: remove unused com/sun/star/uno includesJochen Nitschke2016-04-121-1/+0
| | | | | | | | | | | | Sequence.h(xx), Any.h(xx) and Type.h(xx) and remove unused using-declarations from these files. Add a few missing includes provided by them. Change-Id: I6b91b6d1fdf9d0496dd546c0aab9bdcc6831a5d4 Reviewed-on: https://gerrit.libreoffice.org/23805 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* cleanup: remove unused Reference.h(xx) includesJochen Nitschke2016-04-021-1/+0
| | | | | | | | | and unused using-declarations from Reference.h Change-Id: I297a7ae6044fa329d245ecf08fd5c4cb930f5b19 Reviewed-on: https://gerrit.libreoffice.org/23735 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* Special case for ANDROID is supposed to no longer be neededStephan Bergmann2016-03-101-5/+0
| | | | | | | ...see Miklos' comment at <https://gerrit.libreoffice.org/#/c/23078/1> "Extract Directories from BootstrapFixtureBase." Change-Id: Ib8bd52a9960e4631802e5649c97147c074adddc6
* Extract Directories from BootstrapFixtureBaseStephan Bergmann2016-03-103-64/+76
| | | | | | | | | | (as some tests derive from the latter only for the Directories part, not for the setUp/tearDown overrides: those tests will be cleaned up next) Change-Id: Ib6b78eea868b8bc21d4cc6e8fd9e1d025deca05f Reviewed-on: https://gerrit.libreoffice.org/23078 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Fix typosAndrea Gelmini2016-01-102-2/+2
| | | | | | | Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
* RC4 encrypt some WMF and TIFF test filesMichael Stahl2016-01-051-1/+2
| | | | | | | | | | | Reportedly some virus scanners warn about some of these files. Use a new "RC4" name prefix since the files don't come from external sources. http://permalink.gmane.org/gmane.comp.documentfoundation.libreoffice.devel/69200 Change-Id: I6d4cff2fdd5c0134bf2c77558ea09b3196b39be9
* loplugin:nullptr (automatic rewrite)Stephan Bergmann2015-11-105-14/+14
| | | | Change-Id: Ie7e4b028ee0cd6e0254dda8dfe3c70973865bc03
* loplugin:stringconstant: elide explicit ctor usage (manually due to macros)Stephan Bergmann2015-11-061-2/+2
| | | | Change-Id: I888a2487201d6f6e9923de156bc616897b828624
* loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann2015-11-061-2/+2
| | | | Change-Id: I909557f7ca803de8dc8604e95cc66430abb13f53
* use uno::Reference::set method instead of assignmentNoel Grandin2015-11-052-2/+2
| | | | Change-Id: Id57ccff7ea6cf5c7053b51268b1190f5459bb357
* yyyyyNoel Grandin2015-11-042-2/+2
| | | | Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
* Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann2015-10-122-2/+2
| | | | Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
* Fix typosAndrea Gelmini2015-09-301-2/+2
| | | | | | | Change-Id: I3926eca56ac9f54f9ddbf88610888ce97cf00b34 Reviewed-on: https://gerrit.libreoffice.org/18990 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Use CPPUNIT_ASSERT_EQUALStephan Bergmann2015-09-151-11/+11
| | | | Change-Id: Id4305098e3139bb21711fefb350fa2574e3638cd
* Clean up outputStephan Bergmann2015-08-241-4/+3
| | | | Change-Id: I4fbcd03e4af82ba8e3697651ddce92ba0ba450a6
* Make test order deterministicStephan Bergmann2015-08-241-49/+66
| | | | Change-Id: I9980034f0cb948acd6bb20aaf0fc27928ac68913
* unotest.py: call the magic bootstrap init function once onlyMichael Stahl2015-08-061-1/+6
| | | | Change-Id: I5f775234f44c23386af19f973a9f895a39fa31d5
* loplugin:unusedmethodsNoel Grandin2015-07-301-1/+0
| | | | | | | Change-Id: Ib4d77ee01e7362f5951f81fceeca3c489872d971 Reviewed-on: https://gerrit.libreoffice.org/17378 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Python 2.7 compatibility for unotest.pyMatthew J. Francis2015-06-261-0/+2
| | | | Change-Id: Ic7a54b211f6d55ff50cad0fde12058fe33e8892e
* improve the error message when a java UNO test failsNoel Grandin2015-06-251-1/+4
| | | | Change-Id: Ibd9f121b94c00040acd3a1d2f6f702d711295f2d
* Uno api sidebar unit test tdf#91806Laurent Godard2015-06-231-0/+14
| | | | | | | | | | | - python test subsequentcheck - correct deck setTitle APi (UI update) - enhance UnoInProcess for flexiility in loading parameter Change-Id: Id04cb78c6162ac84fb3bfd8577f84763109d993e Reviewed-on: https://gerrit.libreoffice.org/16180 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* java:remove more unnecessary catch/re-throwNoel Grandin2015-06-111-1/+1
| | | | | | | Change-Id: Id9a13c7f4ae0fd53c95c551544e60af44bb3fb95 Reviewed-on: https://gerrit.libreoffice.org/16203 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* simplifyStephan Bergmann2015-04-011-5/+1
| | | | Change-Id: Ib88ccd6ea430791f18571ad7d6a34d7432477050
* MacrosTest::loadFromDesktop: use comphelper::containerToSequence()Miklos Vajna2015-03-311-19/+18
| | | | Change-Id: I91e385a6a7fe88251ec11ed90b61a3f61768ff5a
* WaE: passing [...] by value, rather pass by referenceTor Lillqvist2015-03-301-8/+8
| | | | Change-Id: Ic733f9b5dcb55bb8120c3652a60300914fab04ea
* Unit tests for SkipImagesLászló Németh2015-03-301-1/+14
| | | | | | | SkipImages filter option skips image loading during DOC and DOCX imports, but it keeps the text of textboxes and custom shapes. Change-Id: Ia0ab3b350b9da22d9375787883678cc357a704b3
* The --nofirststartwizard option is a no-opTor Lillqvist2015-03-293-4/+3
| | | | Change-Id: Id481af38ebb51224f4f8493cccfb4eb4fd1e268f
* convert SFX_FILTER_ constants to enum classNoel Grandin2015-03-191-2/+2
| | | | Change-Id: I7e53cfc90cefd9da7d6ecd795b09214bd44b1613
* create new 'enum class' SotClipboardFormatId to unify typesNoel Grandin2015-03-181-2/+2
| | | | | | | | | | | | of which there are several. There are some issues here I am unsure of - the SW and SC and CHART2 modules essentially ignore the enum values and assign their own ids Perhaps I should change them to use the common values and create new enum values where necessary? - the sc/qa/ and sq/qa/ and starmath/qa/ code was doing some dodgy stuff. I translated the code to pass down the stuff numeric values to the underlying code, but perhaps further fixing is necessary? Change-Id: Ic06d723e404481e3f1bca67c43b70321b764d923
* unotest: unobootstrapprotector needs runtime dependency on unorcMichael Stahl2015-02-231-0/+5
| | | | Change-Id: Ie6ed784bb9676b9de8a51762aa58d0c75e071cfd
* Adapt file URL hackery to WindowsStephan Bergmann2015-02-091-1/+4
| | | | Change-Id: Icee10aae97e9bcef7a3db7e966c1c4ef6780fc1d
* convert all remaining BOOST_STATIC_ASSERT to static_assertCaolán McNamara2015-02-051-2/+1
| | | | | | and we can include a few less headers Change-Id: Id742849ff4c1c37a2b861aa3d6ab823f00ea87f8
* copy test file to workdir to avoid overwritingLionel Elie Mamane2015-02-031-0/+11
| | | | | | | Change-Id: I2acc5cd6a57bb6a18f3f20177b3bcf2b8469a834 Reviewed-on: https://gerrit.libreoffice.org/14272 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
* java: simplify sleeping and waiting in testsNoel Grandin2015-01-121-4/+2
| | | | | | | | - remove the SHORT_WAIT test parameter, no-one is using it - inline the various independent shortWait() methods - use the util.utils.shortWait() utility method everywhere Change-Id: I93cd4a2580172a1441d2ff3d390f52b9505e2721
* java: remove more dead codeNoel Grandin2015-01-053-5/+5
| | | | | | found by looking for unused parameters (in Eclipse) Change-Id: I03cf9bc8312e59747b2d0ac153ee2fc8d76be893
* java: remove dead codeNoel Grandin2015-01-055-192/+4
| | | | | | found by UCDetector Change-Id: I6b0f49529379072da566e927b86815f173e7a90b
* unotest: Use appropriate OUString functions on string constantsStephan Bergmann2014-12-185-16/+8
| | | | Change-Id: I449587dd8e6e625e886e4ffc6419c612adffcfde
* java: reduce visibility of fields and methodsNoel Grandin2014-12-113-7/+7
| | | | | | | | | found by PMD Change-Id: Id6737916b68ccbdbdeec5d314747a38410923ac6 Reviewed-on: https://gerrit.libreoffice.org/13409 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* tweak the assert message so its readable when an errors happensCaolán McNamara2014-11-191-1/+2
| | | | Change-Id: Ib4f262f4c8cffc9790001618ce8050eda75ae559
* java: make fields final where possibleNoel Grandin2014-11-182-4/+4
| | | | | | found by PMD Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
* markup with event type not checker typeCaolán McNamara2014-11-051-1/+1
| | | | Change-Id: I14c0c5d90b67000cb4fe9e6be647854abfe784da
* document array_vs_singleton dismissalsCaolán McNamara2014-10-301-0/+1
| | | | Change-Id: I8d7eb4c01197e885abca717c7814c61a7641ac9d
* framework, unotest: do not override UserInstallation from environmentMichael Stahl2014-10-221-9/+0
| | | | | | | | | | | | | | The PythonTest_dbaccess_python may fail in incremental builds because of stale JVM path in workdir/unittest/user/config/javasettings_Linux_X86_64.xml so it's better to use the fresh UserInstallation that is already passed in from PythonTest.mk. To make that work, tolerate non-existing path in SubstitutePathVariables::SetPredefinedPathVariables() at least when running in the build environment, which is probably better than effectively running with "/" as UserInstallation anyway... This partially reverts commit 6dbb6275ebd1a4299099c3b6bc82ec4ee0e1fb86. Change-Id: I4d42d53c049056590662828360c4ce5a29af0f4b
* fdo84315: add integration test for basic LibreOffice Base functionalityBjoern Michaelsen2014-10-071-0/+25
| | | | | | | | | | | | | | | Thanks to Stephan for helping with the test environment setup: sbergman@redhat.com: Do the same "set UserInstallation to user profile dir in test/user-template" in UnoInProcess's setUp as is done in test::BootstrapFixtureBase::setUp (unotest/source/cpp/bootstrapfixturebase.cxx) for CppunitTests. That way, these tests all use the workdir/unittest/ UserInstallation concurrently, but they at least do not run into the gotcha in SubstitutePathVariables::SetPredefinedPathVariables (framework/source/services/substitutepathvars.cxx) to only set the PREDEFVAR_USERPATH if PATH_EXISTS. Change-Id: Iad058098a4c69cb567e2d3222af3c7d4ba993271
* unotest: the assigned value is never usedRobert Antoni Buj i Gelonch2014-10-011-2/+1
| | | | | | | Change-Id: I73c4945dec1db4c206948f27ba3d19fa08eedd46 Reviewed-on: https://gerrit.libreoffice.org/11742 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* fdo#82577: Handle TimeNoel Grandin2014-10-011-1/+1
| | | | | | | | | | Put the TOOLS Time class in the tools namespace. Avoids clash with the X11 Time typedef. Change-Id: Iac57d5aef35e81ace1ee0d5e6d76cb278f8ad866 Reviewed-on: https://gerrit.libreoffice.org/11684 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* unotest: remove import from the same packageRobert Antoni Buj i Gelonch2014-09-291-2/+0
| | | | | | | Change-Id: I00b0f5624f5b03d53ff01660ca96dc355238b10c Reviewed-on: https://gerrit.libreoffice.org/11685 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* java: remove unnecessary constructor declarationsNoel Grandin2014-08-201-3/+0
| | | | | | | in the absence of any other constructors, the compiler will automatically generate a public no-arg constructor Change-Id: I70eca507cd8e16e33580b3398d41d70690bc2909