summaryrefslogtreecommitdiff
path: root/framework/qa
AgeCommit message (Collapse)AuthorFilesLines
2016-08-11Revert "tdf#98837 - Fail loading a new document with read only property ..."Tor Lillqvist1-7/+6
There was not really a good enough reason for the change, and it causes unfortunate regressions in 3rd-party code that previously worked fine. (It also caused two regressions in LO's own code, but those were already fixed.) This reverts commit 5334ff287c65f028753171c7b38da7ffbcebc1cc. (cherry picked from commit 38a3743e0c5d52f9386f74097fd512d3133fbbe3) Change-Id: Iec36345fa3663bc5d96ce3e74d334c7aa075ada2 Reviewed-on: https://gerrit.libreoffice.org/28035 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2016-05-25Fix typosAndrea Gelmini1-2/+2
Change-Id: I860cc4aa04b4e5cd1437b2f24176ee2ccdec3266 Reviewed-on: https://gerrit.libreoffice.org/25420 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-28framework: CheckXTitle still sometimes fails on WNT...Michael Stahl1-0/+2
... when dispatching the .uno:CloseWin. Change-Id: Iaf0651ea7e05bd8a6629d5af6e62f5918ef241ce
2016-04-13Use UNO service constructorsStephan Bergmann1-10/+4
Change-Id: I8ac2621a4594b2d8a7cf8fdafd2191f3bf52579b
2016-04-13remove unused m_xFrame in CheckXTitle unit testAkash Jain1-14/+0
Change-Id: I1b654b308b79d13d23a1b9a935fd2eaf84836d91 Reviewed-on: https://gerrit.libreoffice.org/24044 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-04-07add waitForIdleEvent in remaining testsAkash Jain1-2/+2
add waitForIdleEvent in remaining tests in framework/qa/complex/XTitle/CheckXTitle.java Change-Id: Ibc98070c797ef56df60cd925353c9e364e83abe0 Reviewed-on: https://gerrit.libreoffice.org/23869 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-04-06See if waitForEventIdle helps hereStephan Bergmann1-0/+3
...the test often fails with the assertNotNull in prepareQueryAndDispatch firing, suggesting there's a race in getting the dispatch processed before proceeding Change-Id: Ib338d761df638a0c5d53777352cfe7519742112b
2016-04-05Add unit tests for XTitle interfaceAkash Jain1-0/+284
Added several unit tests for the XTitle interface. Tests are for bugs tdf#96044,tdf#98837,tdf#96896 Change-Id: I9b3990dff02d5d5738024b60e94555199b625a2e Reviewed-on: https://gerrit.libreoffice.org/23834 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-14remove some unused Java codeNoel Grandin1-1/+1
found by UCDetector Change-Id: Ic0295a24b26e206eb53eda2da540755477df86df
2016-03-08tdf#98407 PathSubstitution: Add substitution for $(username)Samuel Mehrbrodt1-0/+1
This allows to use the username as a placeholder in the config paths (Autotext, Gallery, etc) Change-Id: I76434e980cd8ec8785a5587d0bc5fdd67dc42de2 Reviewed-on: https://gerrit.libreoffice.org/22901 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-02-05Fix typosAndrea Gelmini1-1/+1
Change-Id: Ice72f8d9971e15dd6ef365e64cd567b8581a92d3 Reviewed-on: https://gerrit.libreoffice.org/21797 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-10Fix typosAndrea Gelmini4-4/+4
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-08framework: re-enable two dispatch tests, and make them work harder.Michael Meeks2-10/+22
Change-Id: I63d72b2d8f0b4835ab0ead51b518deab635ff3b0 Reviewed-on: https://gerrit.libreoffice.org/21222 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-07framework: restore dispatch API test.Michael Meeks2-54/+61
Change-Id: I8a78fee2b43c67feaffb8dbbcd36e96743ca2c9c Reviewed-on: https://gerrit.libreoffice.org/21208 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-11-05java: remove ((unnecessary)) parenthesesNoel Grandin4-15/+15
Change-Id: I39fbe3a260c8dbfc203662c54eec4db064b88195
2015-11-05java: make inner classes static where possibleNoel Grandin4-4/+4
Change-Id: Icc6444ad15d9f4b50858d8c1b1d3adeaeac40926
2015-10-16convert "continue" flag to an enumNoel Grandin1-5/+5
Change-Id: I160de1152978f301c514d9107c9e9082bab3cf05
2015-10-161327208 UwF: Unwritten fieldNoel Grandin1-1/+0
this class is doing nothing useful at all, just remove it Change-Id: I77f295f96758f8bf5e29fbdaca5eecc08cd5cf83
2015-10-01Fix typosAndrea Gelmini1-3/+3
Change-Id: Id94c03249b2752e88499628b3ad12936b361bb2f Reviewed-on: https://gerrit.libreoffice.org/18950 Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-09-30Fix typosAndrea Gelmini3-7/+7
Change-Id: I051caee9ec6181074201ac4a8cb6fcec4fdf2293 Reviewed-on: https://gerrit.libreoffice.org/18951 Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-07-03Fix typosAndrea Gelmini4-4/+4
Change-Id: Id884946cae0687d0b71c967e236e58df17567884 Reviewed-on: https://gerrit.libreoffice.org/16707 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-28Fix typosAndrea Gelmini2-2/+2
Change-Id: I80995af6459af9f647e66d1c85da2eedad2647b9 Reviewed-on: https://gerrit.libreoffice.org/16523 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-06-28Fix typosAndrea Gelmini1-1/+1
Change-Id: Ifd126a535f18db79a18aaec61b76cdf26ab33dff Reviewed-on: https://gerrit.libreoffice.org/16522 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-06-22Fix typosAndrea Gelmini2-2/+2
Change-Id: I60ed5eb658d50cbc7dc572facb5463b7527b4d9b Reviewed-on: https://gerrit.libreoffice.org/16408 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-11speed up Java unit tests by removing sleepsNoel Grandin2-6/+4
and replacing them with a call to XToolkitExperimental:: processEventsToIdle Change-Id: I9fd6cb8af43d902587186310aebe78b5a5ee6932 Reviewed-on: https://gerrit.libreoffice.org/16201 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-05Let JUnit take care of exceptionsNoel Grandin5-322/+182
Inspired by commit 4dd0ac62855c5b9382cac004c7eebb9bed983a2b Change-Id: I6ca29aecde357a3cb5852acfc9b5443761052960 Reviewed-on: https://gerrit.libreoffice.org/16094 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-20java: remove some unused codeNoel Grandin3-17/+0
Change-Id: If1cdc67535b11d9309503b14ffad2aa3718661c6
2015-03-25Typo: formated->formattedJulien Nabet1-2/+2
Change-Id: Iefd4d375a0dfb36732233852f906c6b85dccc2a5
2015-02-26TyposJulien Nabet3-8/+8
Change-Id: Ic03fb2ee6470eac6034be13908dd9ec92cf175b6
2015-01-13java: remove some dead propertiesNoel Grandin1-2/+0
Change-Id: I96adb2941c483ec08c752f35e35cf9ceb941971d
2015-01-13java: inline the CheckAPI propertiesNoel Grandin2-54/+13
no need to make this configurable Change-Id: I0ab149317f4660fc7ebc4c43342d20a386bdbc5f
2015-01-13java: move DEFAULT_SHORT_WAIT_MS to util.utilsNoel Grandin2-5/+5
so I can turn PopertyNames into an enum Change-Id: I939a83c0962813302a3653e75976147b2300cb18
2015-01-12java: simplify sleeping and waiting in testsNoel Grandin7-60/+23
- 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 Grandin1-3/+0
since all of it's methods and fields are static. Change-Id: Ia2b652969489c5a21e01a35cda65c6e84346aac0
2015-01-09java: simplify array creationNoel Grandin2-6/+3
and remove the need to worry about keeping indexes correct Change-Id: I9a5fc00f7e28f305279b41099274c96daebebb95
2015-01-07drop crashrep unused since start of LibreOfficeCaolán McNamara2-4/+4
Change-Id: I3df1216054c133314b2317849744a0a37e9fbc8f Reviewed-on: https://gerrit.libreoffice.org/13733 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-05java: unnecessary importsNoel Grandin1-6/+0
found by CodePro Change-Id: If1b75e43f81d70984422e437147048a491395b66
2015-01-05java: remove more dead codeNoel Grandin3-6/+4
found by looking for unused parameters (in Eclipse) Change-Id: I03cf9bc8312e59747b2d0ac153ee2fc8d76be893
2015-01-05java: these fields can become local variablesNoel Grandin1-2/+1
found by PMD Change-Id: Id852cfec984a181b91aca1c00a41e342b720a4bf
2015-01-05java: remove dead codeNoel Grandin4-510/+0
found by UCDetector Change-Id: I6b0f49529379072da566e927b86815f173e7a90b
2014-12-19java: static fields that should not be staticNoel Grandin6-12/+11
Found by FindBugs. Change-Id: I223841f7bb8c515c9612322abc0b13e134385abd
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-11java: reduce visibility of fields and methodsNoel Grandin2-3/+3
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 Grandin2-2/+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-12-10java: simplify the getMSF() methodsNoel Grandin12-30/+14
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-11-25java: final fields that can be staticNoel Grandin1-1/+1
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-25java,framework: remove unused vars and parametersNoel Grandin7-28/+12
Change-Id: I7df5ff730436b95cb93af9f813d7bc572da2b951 Reviewed-on: https://gerrit.libreoffice.org/13098 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-24java,qadev: remove unused parameters and local varsNoel Grandin3-6/+6
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 Grandin15-33/+33
found by PMD Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini2-2/+2
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>