summaryrefslogtreecommitdiff
path: root/qadevOOo
AgeCommit message (Collapse)Author
2017-07-23make JunitTest_svx_unoapi more reliable by checking against current boundsCaolán McNamara
we've been here before with... commit a9cf50c24dd10a20e1288828e2a59c193bb582cb Date: Mon Sep 30 15:28:02 2013 +0100 junit: make tests robust by compensating for intermittent sizing race. so lets fetch the bounds fresh when checking its consistency with the other measurements and placements rather than comparing against its earlier perhaps now changed value Change-Id: I24585901fedfd710fee194fab697b445f8633e73 Reviewed-on: https://gerrit.libreoffice.org/40318 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-07-13tdf#45904 Remove/disable obsolete _XSheetAnnotations Java testsJens Carl
The _XSheetAnnotations test is already written in C++ since commit 654e275fc673b28ac264f10282a4cd3a9f61a45d. Change-Id: Ie4d8459f503289cd9fd1c52b9121377826921bc3 Reviewed-on: https://gerrit.libreoffice.org/39619 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-07-13tdf#45904 Remove/disable obsolete _XSheetAnnotation Java testsJens Carl
The _XSheetAnnotation test is already written in C++ since commit 0bf016694e8df63e20e530f9880e87de567dc7e1. Change-Id: Id12206370e36acb63dcbc3298d39eba093cb4be6 Reviewed-on: https://gerrit.libreoffice.org/39552 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-07-13tdf#45904 Move Java XCellAddressable test to C++Jens Carl
Remove now obsolete file _XCellAddressable.java Change-Id: I8a1c979c447d81e489114a0c1a947b2458ae31a0 Reviewed-on: https://gerrit.libreoffice.org/39546 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-07-08tdf#45904 Move Java XSheetAnnotationShapeSupplier test to C++Jens Carl
Change-Id: I5a3d64fd255fb8fd1f1caba572bc00a5399a6519 Reviewed-on: https://gerrit.libreoffice.org/39550 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-07-02tdf#45904 Move Java XCellAddressable test to C++Jens Carl
Change-Id: Ib68c7dd8087f19bd969cf5273c3a6e8664c6bb62 Reviewed-on: https://gerrit.libreoffice.org/39348 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-06-26s/catched/caughtNoel Grandin
Change-Id: I7ea6977a9749e86f8058b78cdb91cd2c62da8264 Reviewed-on: https://gerrit.libreoffice.org/39164 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-06-20tdf#45904 Move remaining XCellSeries test code to C++Paul Trojahn
Change-Id: Ie4ee1e52157dd38ac0defee2e9d5cfa822763183 Reviewed-on: https://gerrit.libreoffice.org/38807 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-06-15Fix typosAndrea Gelmini
Change-Id: Iea1f82e95c37bdf778941a568d61f17f179f838d Reviewed-on: https://gerrit.libreoffice.org/38795 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2017-06-14Fix typosAndrea Gelmini
Change-Id: Ia3cf2253ac750b53ccc18ea661cc95dee51a7b12 Reviewed-on: https://gerrit.libreoffice.org/38689 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-06-12Translate German comments and debug strings (leftovers in dirs j... to q...)Johnny_M
Translates all (leftovers) found using a custom regex, in directories not shown by /bin/find-german-comments and beginning with "j" to "q". Additionally: - A few spelling fixes Change-Id: I5abf71dde3efc0dbaad162c705c6dc17af50f6c1 Reviewed-on: https://gerrit.libreoffice.org/38613 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-06-08Fix build after f1454b474d9248d7ef2cb84f396a974184e5167eStephan Bergmann
..."tdf#45904 Move java XCellSeries test to c++". For one, the XCellSeries tests needed to be removed from qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv, now that those tests are done in C++. (Plus some clean-up in qadevOOo/tests/java/mod/_sc/ScTableSheetObj.java and sc/qa/unoapi/knownissues.xcl that was missing from f1454b474d9248d7ef2cb84f396a974184e5167e.) But for another, qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv and qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv still list XCellSeries tests (which apparently have not been superseded with C++ tests), so partially revert f1454b474d9248d7ef2cb84f396a974184e5167e to get back qadevOOo/tests/java/ifc/sheet/_XCellSeries.java needed by those tests. Change-Id: I09f756fb804dafee3064947abcfb796db4797b32
2017-06-08Improve error reportingStephan Bergmann
Change-Id: I28459b157411b4ab5b10a25e017a0a7208e09aed
2017-06-08tdf#45904 Move java XCellSeries test to c++Paul Trojahn
Change-Id: Iedc1023b67138727061c2da13bebdb75af370ec6 Reviewed-on: https://gerrit.libreoffice.org/38105 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-06-05spelling instanciate -> instantiateNoel Grandin
Change-Id: Ic1393da64328c0dc7e2860334b204139bf537d81 Reviewed-on: https://gerrit.libreoffice.org/38401 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-29do we really need a OutputStreamWriterCaolán McNamara
Change-Id: Iac1af431e7f0be7425379489d26e723487351f47 Reviewed-on: https://gerrit.libreoffice.org/38115 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-05-11Fix typosAndrea Gelmini
Change-Id: I204178ed4cf0fd3f43043cf1dfde85bb27002fee Reviewed-on: https://gerrit.libreoffice.org/37498 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-05-05Fix typosAndrea Gelmini
To complete commit 0ef94e2b559547bc4e906e7f24e57ff5d642e108 and f12096272e684ddcd8ffa4e34dcb0a680cc594c2 Change-Id: Ie86bbfbd58dd728a013bef221e4d5c8fbcaf8e03 Reviewed-on: https://gerrit.libreoffice.org/37199 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-04-15Fix typosAndrea Gelmini
Change-Id: I0238202c0dc0380b0e33a9c4567a9513c0afbe91 Reviewed-on: https://gerrit.libreoffice.org/36556 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-12enum spelling: throught -> throughJustin Luth
git grep -l "[ _\.]THROUGHT" | xargs sed -i 's/THROUGHT/THROUGH/g' git grep -l -i "[ _\.]THROUGHT" | xargs sed -i 's/throught/through/g' In ENUMs: THROUGHT = THROUGH (preserved as valid alternate spelling) In ooxmlexport8 - unit test confirms THROUGH = THROUGHT Change-Id: Iae0fef9a8adcb96761989f38903a24ffb1b91e77 Reviewed-on: https://gerrit.libreoffice.org/35998 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-04-06Fix typosAndrea Gelmini
Change-Id: I9e7f7fa6a8b89304883a843f9fb0b905f5e8a8a4 Reviewed-on: https://gerrit.libreoffice.org/36100 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-03-25Fix typosAndrea Gelmini
Change-Id: I72bec7ec76fbbbfee9d5185ac1a358659f0d06b5 Reviewed-on: https://gerrit.libreoffice.org/35638 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-19TyposJulien Nabet
Change-Id: Id1b96b56b16ebf2d8a99dd6fb64c73906dfd598f Reviewed-on: https://gerrit.libreoffice.org/35435 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-18fix typo: amd --> anddennisroczek
Change-Id: I2905e8bbc659ab8a6344b172980d20455a67e87e Reviewed-on: https://gerrit.libreoffice.org/35319 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-12Fix typosAndrea Gelmini
Change-Id: I63da858b3f264cd099e60192633b44d362b6fad7 Reviewed-on: https://gerrit.libreoffice.org/35055 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-11fix typo: exptected --> expecteddennisroczek
Change-Id: Ibefaed54c8fdce22fbae0116b4df5db4023ef7d6 Reviewed-on: https://gerrit.libreoffice.org/35057 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-03Fix typosAndrea Gelmini
Change-Id: I95fc63af11c336cde9f5bef908e1389c2fb56f02 Reviewed-on: https://gerrit.libreoffice.org/34823 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-02Fix typosAndrea Gelmini
Change-Id: I35eeb71f4f698e39b7b0d98e3cb30657a64a611a Reviewed-on: https://gerrit.libreoffice.org/34802 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-14special case TypedItemList in preparation for tdf#79250Eike Rathke
Seems a Sequence<Any> property was never supported in the qadevOOo/tests/java/ifc/beans/_XPropertySet.java addPropertyChangeListener() tests, where the property has to be changed in ValueChanger to pass the test. However, simply generally adding a value to an empty sequence does not work as it would break other tests in turn, so special-case it to the TypedItemList property. This is all fubar. Change-Id: If6d0f45c7440e3553dc8bd293dadb21c5fb09bb5
2017-02-13Fix typosAndrea Gelmini
Change-Id: Iaf6bbe81f519d49b82f624282d786c8cc18d641c Reviewed-on: https://gerrit.libreoffice.org/34199 Reviewed-by: Aleksandar Stefanović <theonewithideas@gmail.com> Tested-by: Aleksandar Stefanović <theonewithideas@gmail.com>
2017-02-03TyposJulien Nabet
Change-Id: Ic54695e86b4b462419fa7d5ded7b1ddb19ee8ed5 Reviewed-on: https://gerrit.libreoffice.org/33904 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-02-03TyposJulien Nabet
Change-Id: I36f443c266670bd26aa6b813075e18653f372f52 Reviewed-on: https://gerrit.libreoffice.org/33900 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-02-03Typo about "property"Julien Nabet
Change-Id: I17bd9ce74d95beaa230276bec40b739b05b81cf2 Reviewed-on: https://gerrit.libreoffice.org/33898 Reviewed-by: Aleksandar Stefanović <theonewithideas@gmail.com> Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-01-24AccStatisticsObject is apparently dead codeStephan Bergmann
Change-Id: I4e04b13538d1242ea38d1400df0ced813171bc5e
2017-01-21coverity#1399435 Unused valueCaolán McNamara
and coverity#1399438 Unused value coverity#1399439 Unused value its all ok as it was, but doesn't hurt to skip the exception test if the previous test failed anyway Change-Id: I110ac062d72514c51d415944a2250c3095584531
2017-01-21coverity#1399443 UrF: Unread fieldCaolán McNamara
fix like... commit b9d63d49be66ed1bfc4a76924f1c52ec3630adc8 Date: Tue Jan 12 15:27:41 2016 +0200 remove some unused Java code found by UCDetector Change-Id: Ic0295a24b26e206eb53eda2da540755477df86df Change-Id: I5ce651905edbba3f23ebb421ebc0acadd54f39cf Reviewed-on: https://gerrit.libreoffice.org/33379 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-01-21coverity#1399442 UPM: Private method is never calledCaolán McNamara
since commit 10cb59eb914ba722c203242272de244d795a51e8 Date: Mon Jan 16 16:41:53 2017 +0200 remove some unused Java code Change-Id: I00c0b1b22f29165fea73b39b4bf946af453186a3 Reviewed-on: https://gerrit.libreoffice.org/33378 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-01-21coverity#1399444 UwF: Unwritten fieldCaolán McNamara
and coverity#1399441 NP: Null pointer dereference since commit 10cb59eb914ba722c203242272de244d795a51e8 Date: Mon Jan 16 16:41:53 2017 +0200 remove some unused Java code Change-Id: Ieab0325c8685cdc89458570ac8e4d3292af84dff Reviewed-on: https://gerrit.libreoffice.org/33377 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-01-21this.cmdLine assigned twiceCaolán McNamara
Change-Id: Icbc2393ac623d76c3ca5ae74525705f784b99c1c
2017-01-17cid#1398822: java.util.Properties.getProperty already returns StringStephan Bergmann
Change-Id: I056bffbdd0e3280bfbcfbb82aff73fb5bab8a0b7
2017-01-17remove some unused Java codeNoel Grandin
Change-Id: Ia1663256fc0b92c343ea4ba55a821c969077a0aa Reviewed-on: https://gerrit.libreoffice.org/33174 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-16qadevOOo: remove silly exception catching from util.FormToolsMichael Stahl
What's the point of catching an exception and then continuing onwards in a unit test? Change-Id: I100dfcaa9a4fdd5398cf4ac38426ec4397451b8e
2017-01-16forms,qadevOOo: dispatch of .uno:SwitchControlDesignMode is asyncMichael Stahl
Follow-up to e19cdeaf7ddbcf39da47d9685d8e79e775dde7f4. Change-Id: Ic4f8f0373199a4237fa30a830fc89a263eb40d62
2017-01-16boil down the use of OPERATING_SYSTEM to its unorc/uno.ini useCaolán McNamara
Change-Id: I9f0f98c989cb7ecf6227154e1d81d49abade66c2
2017-01-04SwXAutoTextEntry needs a disposal protocolStephan Bergmann
SwXAutoTextEntry::GetBodyText calls SwGlossaries::EditGroupDoc to create a Sw[Web]GlosDocShell (which it then stores in xDocSh), and there must be a call to that shell's DoClose to clean up its resources. However, if a reference to the SwXAutoTextEntry is still held during XDesktop::terminate (as can happen in JunitTest_sw_unoapi_1, where such a reference is held from Java, thus arbitrarily delaying destruction of the SwXAutoTextEntry until the JVM does GC), SwXAutoTextEntry::Notify's PrepareCloseDoc case will release xDocSh without calling DoClose, so an eventual ~SwXAutoTextEntry will not call DoClose either. (And calling DoClose from withing SwXAutoTextEntry::Notify would cause a crash, as it would destroy the SwGlosDocShell recursively from within its SfxBroadcaster::Broadcast call.) So introduce a disposal protocol for XAutoTextEntry and call it at least in the place that caused the resource leak in JunitTest_sw_unoapi_1. For lack of a better inerface, reuse css.lang.XComponent for that protocol, even though this scenario doesn't involve breaking cyclic references among UNO objects caused by listener patterns. Change-Id: Id6501b84e562950e40b83e0b1afd1b3184807856
2016-12-31Dispose XWindow when doneStephan Bergmann
Change-Id: Ia71b4f1c9963ab3aa52f05dd98e9215d69b5402e
2016-12-12update png locations for various imagelist unwindingsCaolán McNamara
Change-Id: Ib0106c3b88cf54e54aaf784bb526480a1c745a1f
2016-12-07Fix typo in comments: et -> edTakeshi Abe
Change-Id: I447c46cc3d66c7f482314626826dd708bf1c01c4
2016-10-27Add link to bug describing such a raceStephan Bergmann
Change-Id: Idd3e325c1240905649e04333fadcde9ac4a4ad0f
2016-10-27untabifyStephan Bergmann
Change-Id: I090f63d93166de9bee2527e0e75248916204be5a