summaryrefslogtreecommitdiff
path: root/qadevOOo/tests
AgeCommit message (Collapse)AuthorFilesLines
2015-11-28qadevOOo: fix race in the ScAccessiblePreviewTable event testMichael Stahl1-3/+11
XAccessibleEventBroadcaster::addAccessibleEventListener test calls the fireEvent() and the problem is that the event is triggered not on the print preview itself, but some toolbar button. This then causes an accessible event to be broadcast from the print preview too, but only after doAccessibleAction() returns, some time later from VCL main-loop. If the test checks the flag in the listener before the main thread sends the event, the test fails; try to fix that with XToolkit::processEventsToIdle(). (cherry picked from commit 1d87c2456dab9a0f78ab25d029e82139488e2c57) qadevOOo: sadly XToolkit::processEventsToIdle doesn't fix... ... the ScAccessiblePreviewTable test, somehow the event still doesn't fire in time, let's add an arbitrary sleep too. (cherry picked from commit c94cf0cf5f10edb45a74a58c95c306b0d271645b) Change-Id: Ia52bdf99cdc349ffb0a03536fba271b792caae0f Reviewed-on: https://gerrit.libreoffice.org/20018 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> (cherry picked from commit e3ee6df32e9e1ce93213b16c9e672ed89046b4f6)
2015-10-15java: 'final static' to 'static final'Noel Grandin8-21/+21
this is the canonical order, and it makes the code easier to read Reviewed-on: https://gerrit.libreoffice.org/16242 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Ostrovsky <david@ostrovsky.org> (cherry picked from commit 0c18bedb7328493040c1a20822b345e624d6041f) Change-Id: I272e7f1e140296e582702b6dbf77a03eefb65470
2015-04-25remove some @author tags from suspiciously unidiomatic codeMichael Stahl1-1/+1
Change-Id: I3930420fe502978f8e14a688f2eb99c74d185f7b
2015-04-20java: some random small cleanupsNoel Grandin1-6/+1
Change-Id: I22a5b9fa29d465a21e682279e6e88d37bd8adf93
2015-04-14also test get/setData for labelless tablesBjoern Michaelsen1-5/+12
Change-Id: I61f7eaaad92b2a7b543fbb8f16f5b695700e8073
2015-04-04Typo: creat->createJulien Nabet1-1/+1
Change-Id: I5e57e6d506504933096f4c8e371b0ddc93c04cbd
2015-03-30add some helpful log messagesBjoern Michaelsen1-0/+2
Change-Id: I58762fdd6efafbd4ec164f190d9aeadb9cb09f76
2015-03-25TyposJulien Nabet2-2/+2
Change-Id: I434be0034b26ac4719590238817538ecd90b8923
2015-03-23TyposJulien Nabet1-2/+2
Change-Id: Ie08a26a569b83bfe3ef4351dbb7b6e928745b95d
2015-03-03TyposJulien Nabet1-1/+1
Change-Id: I64995f15e8367412f345c6505668a1c560eef1ef
2015-03-01Typo: ocured->occuredJulien Nabet2-2/+2
Change-Id: Ic99caa7fc5189228b95b1f776dbc8c7ee835242e
2015-02-26TyposJulien Nabet3-8/+8
Change-Id: Ic03fb2ee6470eac6034be13908dd9ec92cf175b6
2015-02-21Typo: queriing->queryingJulien Nabet1-1/+1
Change-Id: I9bb56396f263c73fbb22a556da32a5da7f94c3fd
2015-02-21Typo: curor/cusor(s)->cursor(s)Julien Nabet1-1/+1
Change-Id: I5bcb2f1a05cef4a914b20f04a1ca1d8054e14542
2015-02-09Fix of a few typosAndrea Gelmini1-2/+2
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 Bergmann1-7/+2
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-13css.form.component.{CheckBox,RadioButton} DefaultState property valuesStephan Bergmann2-21/+35
...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: move DEFAULT_SHORT_WAIT_MS to util.utilsNoel Grandin1-3/+3
so I can turn PopertyNames into an enum Change-Id: I939a83c0962813302a3653e75976147b2300cb18
2015-01-13java: NO_CWS_ATTACH parameter is unusedNoel Grandin1-14/+9
Change-Id: I3e465987ef3dd502faecaf3c5ce151013a5bf314
2015-01-12java: simplify sleeping and waiting in testsNoel Grandin118-1177/+268
- 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 Grandin85-171/+2
since all of it's methods and fields are static. Change-Id: Ia2b652969489c5a21e01a35cda65c6e84346aac0
2015-01-12java: no need to sleep quite so oftenNoel Grandin1-7/+7
Change-Id: I9746158dfdffafd138160c2491e57b269d04e22b
2015-01-09java: simplify array creationNoel Grandin1-9/+7
and remove the need to worry about keeping indexes correct Change-Id: I9a5fc00f7e28f305279b41099274c96daebebb95
2015-01-05java: unnecessary method overridesNoel Grandin18-171/+0
these methods did nothing but call their super implementation. found by CodePro Change-Id: Iba40d10ca1db0b4a3b4b971cacc2f299c4d5f389
2015-01-05java: simplify if statementNoel Grandin1-5/+1
found by CodePro Change-Id: I5f7e5b75b0345a1d917638e57a7d8ad60efb1475
2015-01-05java: unnecessary importsNoel Grandin1-2/+0
found by CodePro Change-Id: If1b75e43f81d70984422e437147048a491395b66
2015-01-05java: more efficient float parsingNoel Grandin4-5/+9
found by CodePro Change-Id: I01c18ddc842fd89105fa95daaa482fba8fcb7bec
2015-01-05java: avoid octal literalsNoel Grandin1-2/+2
found by CodePro Change-Id: Idf67521a46d73afe2f7656bb1a9f81e755eabbdb
2015-01-05java: use brackets to make difference between concat and plusNoel Grandin1-2/+2
.. more obvious found by CodePro Change-Id: I60b05b01819a756a07d2358e3cfe8b0d7d4436a6
2015-01-05java: remove more dead codeNoel Grandin2-4/+4
found by looking for unused parameters (in Eclipse) Change-Id: I03cf9bc8312e59747b2d0ac153ee2fc8d76be893
2015-01-05java: static fields that should be instance fieldsNoel Grandin1-1/+1
found by FindBugs. Change-Id: I4f457cd8f6f28f0429fc50529c8d38d80b80c560
2015-01-05java: compare Strings using equals()Noel Grandin1-1/+1
not == Found by FindBugs. Change-Id: I74805f1187bd623433ad097dec1015a3cf5f45ac
2014-12-19java: static fields that should not be staticNoel Grandin7-15/+13
Found by FindBugs. Change-Id: I223841f7bb8c515c9612322abc0b13e134385abd
2014-12-19java: unused importsNoel Grandin2-2/+0
Change-Id: I7866959b9ea36c81003259cd387a001e9f34f26a
2014-12-19java: this does not need to be a ThreadNoel Grandin1-2/+1
It is just being used as a Runnable Change-Id: I1e652ab0f3b0450d3a85384b9dd513419e2f8046
2014-12-15java: remove some unused fields and variablesNoel Grandin7-32/+1
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-11java: reduce visibility of fields and methodsNoel Grandin44-113/+113
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 Grandin1-1/+0
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-11-25java: remove some comment noiseNoel Grandin1-6/+1
Change-Id: I1c258b853097448d4a59334d915e94dba4c7eb34
2014-11-25java: final fields that can be staticNoel Grandin17-18/+18
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 Grandin16-21/+14
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 Grandin55-85/+84
found by PMD Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
2014-11-18java: rather use @Deprecated annotationNoel Grandin1-1/+0
than an empty @deprecated tag Change-Id: I1646ce1c0c8823ac5be0153aeb8eb2b830e7ebfa Reviewed-on: https://gerrit.libreoffice.org/12525 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini29-58/+58
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-12java: convert fields to local variables where possibleNoel Grandin9-27/+17
found by PMD Change-Id: I05b45382b8fb1b734657ce9421a20e6ef6fbe542 Reviewed-on: https://gerrit.libreoffice.org/12376 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-12java: reduce excessive code indentation levelsNoel Grandin1-14/+15
by using early return in some methods Change-Id: I3611c8c89b3a94ef7e1772d178acf065fd7fcdc7 Reviewed-on: https://gerrit.libreoffice.org/12374 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-17java: dodgy &= operationNoel Grandin1-4/+2
Change-Id: Ia909797e08948a8ad0e6f536ce2af57880dc13ef
2014-10-17java: when rethrowing exceptions, store the originalNoel Grandin2-4/+2
Change-Id: I8a2a264597d0b1ae06b08136fea36003682380b5
2014-10-17java: final fields that can be staticNoel Grandin5-7/+7
Change-Id: I8c06be7bc0b8a38c662209f0de72a00550e25447
2014-10-17java: no need to call String.valueOf to append to a StringNoel Grandin1-1/+1
Change-Id: I5ef45b971d24dde814ab8cbb2e9503d9da4f0d73