summaryrefslogtreecommitdiff
path: root/qadevOOo
AgeCommit message (Collapse)Author
2015-02-09Fix of a few typosAndrea Gelmini
Change-Id: Ib2a311f0341d165a8f9d3f7a11ec36378fd69519 Reviewed-on: https://gerrit.libreoffice.org/14373 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-02-02Revert "fdo#55997: Work around slight offset causing sc_unoapi failure"Stephan Bergmann
This reverts commit ed851f1316d34d1ecd60e75d04ed21b7bffdbf00, the underlying problem causing JunitTest_sc_unoapi's > checking: [sc.ScModelObj::com::sun::star::sheet::XDocumentAuditing] is iface: [com.sun.star.sheet.XDocumentAuditing] testcode: [ifc.sheet._XDocumentAuditing] > Shape Type: com.sun.star.drawing.LineShape > LOG> Execute: refreshArrows() > Shape Type: com.sun.star.drawing.LineShape > Shape Type: com.sun.star.drawing.LineShape > Method refreshArrows() finished with state OK to fail appears to be fixed meanwhile.
2015-01-14LinkUpdateMode property values must be in the range 0--2 or 0--3Stephan Bergmann
...avoid setting bad values from generic qadevOOo property set tests, and throw an IllegalArgumentException if bad values do get set. Found via -fsanitize=enum. The TODO about ScLkUpdMode vs. LinkUpdateModes mismatch looks worrying. Change-Id: Ibc01845e7e3179dc693fe8c59c1f1ffad5282420
2015-01-13css.form.component.{CheckBox,RadioButton} DefaultState property valuesStephan Bergmann
...must be in the range 0--2; avoid setting bad values from generic qadevOOo property set tests, and throw an IllegalArgumentException if bad values do get set. Change-Id: Ia4a97d0fac326b3ca2ce254946dc4d418e9dd5a7
2015-01-13java: inline some test propertiesNoel Grandin
Change-Id: I8be2ee13652ed7223e41765811db577ecc1c85d6
2015-01-13java: nothing is passing in a "ComplexIni" parameterNoel Grandin
Change-Id: Iae7530a52eda020f9074a6de0ef9e4b9779593f6
2015-01-13java: nothing is passing a "-ini" parameter into the RunnerServiceNoel Grandin
Change-Id: Ic8dffc4ed757c74ce383b3dcf204d1c899a0c4f5
2015-01-13java: move DEFAULT_SHORT_WAIT_MS to util.utilsNoel Grandin
so I can turn PopertyNames into an enum Change-Id: I939a83c0962813302a3653e75976147b2300cb18
2015-01-13java: NO_CWS_ATTACH parameter is unusedNoel Grandin
Change-Id: I3e465987ef3dd502faecaf3c5ce151013a5bf314
2015-01-13java: DONT_BACKUP_USERLAYER parameter is unusedNoel Grandin
Change-Id: I2e66a6acfd50b929d43ffdb3e468042875b6b23d
2015-01-12java: simplify command-line parameter parsing in ClParserNoel Grandin
Change-Id: I37790675619b2dde3fe303ba3adc527fc1dfdcf5
2015-01-12java: APP_KILL_COMMAND is unusedNoel Grandin
Change-Id: I4bc4208a80a41a43f9a1145a2e674f37d1333424
2015-01-12java: simplify sleeping and waiting in testsNoel Grandin
- 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
2015-01-12java: no need to instantiate the AccessibilityTools objectNoel Grandin
since all of it's methods and fields are static. Change-Id: Ia2b652969489c5a21e01a35cda65c6e84346aac0
2015-01-12java: no need to sleep quite so oftenNoel Grandin
Change-Id: I9746158dfdffafd138160c2491e57b269d04e22b
2015-01-09java: simplify array creationNoel Grandin
and remove the need to worry about keeping indexes correct Change-Id: I9a5fc00f7e28f305279b41099274c96daebebb95
2015-01-09override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
2015-01-05java: unnecessary method overridesNoel Grandin
these methods did nothing but call their super implementation. found by CodePro Change-Id: Iba40d10ca1db0b4a3b4b971cacc2f299c4d5f389
2015-01-05java: simplify if statementNoel Grandin
found by CodePro Change-Id: I5f7e5b75b0345a1d917638e57a7d8ad60efb1475
2015-01-05java: unnecessary importsNoel Grandin
found by CodePro Change-Id: If1b75e43f81d70984422e437147048a491395b66
2015-01-05java: more efficient float parsingNoel Grandin
found by CodePro Change-Id: I01c18ddc842fd89105fa95daaa482fba8fcb7bec
2015-01-05java: avoid octal literalsNoel Grandin
found by CodePro Change-Id: Idf67521a46d73afe2f7656bb1a9f81e755eabbdb
2015-01-05java: use brackets to make difference between concat and plusNoel Grandin
.. more obvious found by CodePro Change-Id: I60b05b01819a756a07d2358e3cfe8b0d7d4436a6
2015-01-05java: remove more dead codeNoel Grandin
found by looking for unused parameters (in Eclipse) Change-Id: I03cf9bc8312e59747b2d0ac153ee2fc8d76be893
2015-01-05java: static fields that should be instance fieldsNoel Grandin
found by FindBugs. Change-Id: I4f457cd8f6f28f0429fc50529c8d38d80b80c560
2015-01-05java: compare Strings using equals()Noel Grandin
not == Found by FindBugs. Change-Id: I74805f1187bd623433ad097dec1015a3cf5f45ac
2015-01-05java: these fields can become local variablesNoel Grandin
found by PMD Change-Id: Id852cfec984a181b91aca1c00a41e342b720a4bf
2015-01-05java: remove dead codeNoel Grandin
found by UCDetector Change-Id: I6b0f49529379072da566e927b86815f173e7a90b
2014-12-19java: reduce visibility of some methods and fieldsNoel Grandin
found by UCDetector Change-Id: I0a0a00d1fae1fed2e6aef198b7a1482d7e7e29f0
2014-12-19java: unused importNoel Grandin
Change-Id: I5e753737a0dfd024da4ce076645a4ddc2e7550e0
2014-12-19java: static fields that should not be staticNoel Grandin
Found by FindBugs. Change-Id: I223841f7bb8c515c9612322abc0b13e134385abd
2014-12-19java: dead codeNoel Grandin
Change-Id: Ief2bf7d3e98186a2268b873c4c5f7114057bd10f
2014-12-19java: unused importsNoel Grandin
Change-Id: I7866959b9ea36c81003259cd387a001e9f34f26a
2014-12-19java: synching on an interned String object not goodNoel Grandin
Just remove this field altogether, it was not being used for anything other than synchronisation. Change-Id: I982385f9eb7aed3fff0adf85d2a37bfe003d937b
2014-12-19java: this does not need to be a ThreadNoel Grandin
It is just being used as a Runnable Change-Id: I1e652ab0f3b0450d3a85384b9dd513419e2f8046
2014-12-19java: these fields can be converted to local variablesNoel Grandin
Change-Id: Ifefb5de196a3e5cbaa8945759da42886c69daacf
2014-12-16java: remove OOoRunnerLightNoel Grandin
and just use OOoRunner, there is no point in having a stripped down jar, the cost of firing up the Java VM completely dwarfs any benefit of having a smaller jar. Change-Id: Ibcc3c5bd6e9b9c918041142dd32db0ea5dddc25b Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-12-15java: remove some unused fields and variablesNoel Grandin
Change-Id: I5d6071096307adbe7df0178000346cf915afa3e7 Reviewed-on: https://gerrit.libreoffice.org/13477 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-12Revert "java: remove the unit test skeleton code"Noel Grandin
This reverts commit 2d724f086f0ac9ee9a340610e0fa2c4fff110565. Apparently other bits of code are referencing the default .sce file
2014-12-12java: remove the unit test skeleton codeNoel Grandin
much easier to copy and paste an existing test anyhow, and more likely to be accurate and up-to-date Change-Id: I4deed6d14b0e860e394a537e2a2092387c62b657
2014-12-12java: remove dead code in qadevOOoNoel Grandin
found by running UCDetector over the code many times, like peeling an onion Change-Id: I54d5147eb1b5c921ad236331bc4c1f765b13ca83 Reviewed-on: https://gerrit.libreoffice.org/13445 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-11java: remove some unnecessary interfacesNoel Grandin
Change-Id: Ie2da7cbbd1733881ff2da6fa095c37c21cf19fe8 Reviewed-on: https://gerrit.libreoffice.org/13435 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-11java: reduce visibility of fields and methodsNoel Grandin
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>
2014-12-10java: remove comment noiseNoel Grandin
Change-Id: If6347197ff4436b4edd06e6e62d8e8e6fe1d4db6 Reviewed-on: https://gerrit.libreoffice.org/13408 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-10java: simplify the getMSF() methodsNoel Grandin
Change-Id: Ib459799f4a3224f8c9683ac4b6cf37982d2077a3 Reviewed-on: https://gerrit.libreoffice.org/13406 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-05java: remove some comment noiseNoel Grandin
Change-Id: I51118fecf9de27407b4c5a66cd6577574939e001
2014-11-25java: remove some comment noiseNoel Grandin
Change-Id: I1c258b853097448d4a59334d915e94dba4c7eb34
2014-11-25java: final fields that can be staticNoel Grandin
found by PMD Change-Id: I2b48f35d252d6e914c2a18a2c175b075a9d3ac0f Reviewed-on: https://gerrit.libreoffice.org/13099 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-24java,qadev: remove unused parameters and local varsNoel Grandin
Change-Id: Ifb9f9374051fe88dc4cd5a7a28b2c8c992ced873 Reviewed-on: https://gerrit.libreoffice.org/13097 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-18java: make fields final where possibleNoel Grandin
found by PMD Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec