summaryrefslogtreecommitdiffstats
path: root/javaunohelper/test
Commit message (Collapse)AuthorAgeFilesLines
* Typos for "available"Julien Nabet2017-09-021-1/+1
| | | | | | | Change-Id: I8050b1f2ea5414b6e6da3392e8e22d330c794ff5 Reviewed-on: https://gerrit.libreoffice.org/41836 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typosAndrea Gelmini2017-03-251-2/+2
| | | | | | | Change-Id: Id5811d092917c872715559f4508d01e4173d090c Reviewed-on: https://gerrit.libreoffice.org/35636 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
* Typo: listerner->listenerJulien Nabet2017-01-171-1/+1
| | | | | | | Change-Id: Ib2cb62477630641f0302769eacdd0dd00f4e760c Reviewed-on: https://gerrit.libreoffice.org/33192 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* java: remove ((unnecessary)) parenthesesNoel Grandin2015-11-051-2/+2
| | | | Change-Id: I39fbe3a260c8dbfc203662c54eec4db064b88195
* java: combine nested if statementsNoel Grandin2015-11-051-12/+8
| | | | Change-Id: I0457b81668e9427a3c8d6a4af93438b7fb2bb7ba
* java:no need to explicitly create these constructorsNoel Grandin2015-11-051-4/+0
| | | | | | the compiler will do it for you Change-Id: I770670e70a43664a87ce28b48fc822d891d8fb41
* java:regulatize the order of 'final' and public/privateNoel Grandin2015-06-112-9/+9
| | | | | | | | | | Make the order be 'public static' or 'private static' Just makes the code nicer to read. Change-Id: I182424bda45a2d68642e5d04c6091d268ace1fe2 Reviewed-on: https://gerrit.libreoffice.org/16202 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* java: remove more dead codeNoel Grandin2015-01-051-2/+2
| | | | | | found by looking for unused parameters (in Eclipse) Change-Id: I03cf9bc8312e59747b2d0ac153ee2fc8d76be893
* java: remove dead codeNoel Grandin2015-01-053-8/+0
| | | | | | found by UCDetector Change-Id: I6b0f49529379072da566e927b86815f173e7a90b
* java: reduce visibility of some methods and fieldsNoel Grandin2014-12-191-1/+1
| | | | | | found by UCDetector Change-Id: I0a0a00d1fae1fed2e6aef198b7a1482d7e7e29f0
* java: remove some unused fields and variablesNoel Grandin2014-12-153-3/+3
| | | | | | | Change-Id: I5d6071096307adbe7df0178000346cf915afa3e7 Reviewed-on: https://gerrit.libreoffice.org/13477 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* java: remove some unnecessary interfacesNoel Grandin2014-12-111-4/+1
| | | | | | | Change-Id: Ie2da7cbbd1733881ff2da6fa095c37c21cf19fe8 Reviewed-on: https://gerrit.libreoffice.org/13435 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* java: reduce visibility of fields and methodsNoel Grandin2014-12-111-2/+2
| | | | | | | | | 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>
* java: remove some unnecessary castsNoel Grandin2014-11-181-38/+38
| | | | Change-Id: I30f316ee87bd8fe4bc56f6e928fb36d3ab0c8e94
* java: always use braces for while loopsNoel Grandin2014-10-161-3/+6
| | | | Change-Id: Iff896b0cace8b8305528b3b0140004ea856169ce
* java: import from the same packageRobert Antoni Buj i Gelonch2014-10-131-1/+0
| | | | | | | Change-Id: I1bb0999783f365e20b682c3707e73c65724265c9 Reviewed-on: https://gerrit.libreoffice.org/11955 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* java: no need to check for null before calling instanceofNoel Grandin2014-10-071-1/+1
| | | | | | the instanceof check returns false when passed a null value Change-Id: I7742d0d9cf25ef23d9adee7328f701c7efeea8b5
* javaunohelper: More robust way to wait for finalizationRobert Antoni Buj i Gelonch2014-10-021-9/+5
| | | | | | | Change-Id: I09fa2462d8131381f380574b8a9aeaf080211b2b Reviewed-on: https://gerrit.libreoffice.org/11759 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* More robust way to wait for finalizationStephan Bergmann2014-10-021-7/+4
| | | | Change-Id: I99aa3ac27c5157a6858978da20e480bc9847d88f
* javaunohelper: migrate PropertySet_Test to JUnitRobert Antoni Buj i Gelonch2014-09-281-1175/+1201
| | | | | | | | | $ make JunitTest_juh Change-Id: Ie6ed5070db01d8c183ddaae1852117667eae02f3 Reviewed-on: https://gerrit.libreoffice.org/11668 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* javaunohelper: WeakBase_Test & MultiTypeInterfaceContainer_Test -> JUnitRobert Antoni Buj i Gelonch2014-09-243-219/+96
| | | | | | | | | | | | | | Integrate WeakBase_Test and MultiTypeInterfaceContainer_Test in juh tests. Remove unused import in InterfaceContainer_Test. Remove getImplementationId() test in WeakBase_Test. Deprecated as of the commit: 90b27c9493f4225e1612364b5813971b45b681a6 $ make JunitTest_juh Change-Id: I1205c001e7f15bc5a28289051194fb225e114f13 Reviewed-on: https://gerrit.libreoffice.org/11630 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
* javaunohelper: migrate InterfaceContainer_Test to JUnitRobert Antoni Buj i Gelonch2014-09-242-476/+247
| | | | | | | | | | | | integrate InterfaceContainer_Test in juh tests use java.util.logging in ComponentContext_Test $ make JunitTest_juh Change-Id: I92a855f8dea4bc893bb65e23e57ea4b12f59a31d Reviewed-on: https://gerrit.libreoffice.org/11615 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* javaunohelper: migrate ComponentBase_Test to JUnitRobert Antoni Buj i Gelonch2014-09-231-56/+28
| | | | | | | | | | | | | | Use -XX:MaxGCPauseMillis=50 in conjunction with Thread.sleep(51) to wait 51ms after a GC call, instead of waiting 10s. http://docs.oracle.com/javase/1.5.0/docs/guide/vm/gc-ergonomics.html $ make JunitTest_juh Change-Id: Id2cdada0e493fd450aab5dbec164502e0173857f Reviewed-on: https://gerrit.libreoffice.org/11593 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
* javaunohelper: migrate ComponentContext_Test to JUnitRobert Antoni Buj i Gelonch2014-09-221-53/+33
| | | | | | | $ make JunitTest_juh_ComponentContext Change-Id: Ibcd8ed7b1da7da82593e51b6f25a53763e9455f7 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* javaunohelper: use java.util.logging in testsRobert Antoni Buj i Gelonch2014-09-216-301/+168
| | | | | | | Change-Id: Icdc61dc88a11afae5257bcddda32adb691cb5883 Reviewed-on: https://gerrit.libreoffice.org/11564 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
* javaunohelper: use HashMap instead of Hashtable CollectionRobert Antoni Buj i Gelonch2014-09-191-1/+2
| | | | | | | Change-Id: I04e3245342a83df762fbec35a1523021a021f896 Reviewed-on: https://gerrit.libreoffice.org/11547 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* java: remove unnecessary constructor declarationsNoel Grandin2014-08-203-14/+0
| | | | | | | in the absence of any other constructors, the compiler will automatically generate a public no-arg constructor Change-Id: I70eca507cd8e16e33580b3398d41d70690bc2909
* java: avoid if..else when returning boolean valuesNoel Grandin2014-08-201-8/+2
| | | | Change-Id: Iab52762a9abfe8735223372b09638ce9d8d44318
* java: avoid unnecessary comparisons in boolean expressionsNoel Grandin2014-08-208-38/+38
| | | | | | i.e. stuff like "x == true" Change-Id: Ib82a4a30e736df392405332fa197b588482cffcf
* java: no need to instantiate String objects directlyNoel Grandin2014-08-191-6/+6
| | | | Change-Id: I7610774c94bf673ed3b574ffce04c4ee6ca93c03
* java: use 'Byte.valueOf' instead of 'new Byte'Noel Grandin2014-08-191-22/+22
| | | | Change-Id: Ia99765a6226317ee41ffb02a1b0dd7e6fd944a90
* java: use 'Short.valueOf' instead of 'new Short'Noel Grandin2014-08-191-10/+10
| | | | Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219
* java: use 'Long.valueOf' instead of 'new Long'Noel Grandin2014-08-191-10/+10
| | | | Change-Id: If4fff3dd37326fbcdd01b743355a16591d71fa69
* java: use 'Integer.valueOf' instead of 'new Integer'Noel Grandin2014-08-192-26/+26
| | | | Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
* java: use Boolean.valueOf instead of instantiating Boolean objectsNoel Grandin2014-08-191-18/+18
| | | | Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
* java: remove useless instanceof testsNoel Grandin2014-08-141-2/+2
| | | | Change-Id: Idb058179f90ddbe5157d564ed5f9c9168898fb0c
* java: remove commented out codeNoel Grandin2014-08-141-1/+0
| | | | Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
* javaunohelper: Fix Bootstrap_Test.java & add warning messagesrbuj2014-08-121-4/+8
| | | | | | | | Accept bootstrap parameters that contained more than one = Reject empty key Change-Id: Ie04364867d56d5687cbbc2c142ea73be90bbafdf Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* javaunohelper: Enhancement loading bootstrap_parameters in Bootstrap_Test.javarbuj2014-08-101-7/+10
| | | | | | | Change-Id: I685fc278ec812d766ff83993d234ca3261a71dba Reviewed-on: https://gerrit.libreoffice.org/10850 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* java: remove exceptions from throws clauses that are notNoel Grandin2014-08-081-2/+0
| | | | | | .. actually thrown Change-Id: Ia326ac7f82e11b948ed0f34e20908a96e7adcd10
* java: remove redundant null checksNoel Grandin2014-08-081-7/+4
| | | | Change-Id: Ia42e5ed715fbd3f5b84029a9844da55f307c6260
* java: code some code to use non-deprecated constructorsNoel Grandin2014-08-082-2/+2
| | | | Change-Id: I4194a3dfd361d1955cf5bb4fab915150eecfa21a
* java: remove unused variablesNoel Grandin2014-08-081-16/+14
| | | | Change-Id: I1b04fbf4d4562ff8e74f6ccdb2fd989d79cc869b
* java: remove commented out codeNoel Grandin2014-08-055-85/+0
| | | | Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
* java: remove various unused variablesNoel Grandin2014-08-053-11/+9
| | | | Change-Id: Id9f30938f594cb6fe73bf40adfffa65ec1b42cd1
* Remove visual noise from javaunohelperAlexander Wilms2014-02-262-13/+13
| | | | | | | Change-Id: Ib359d536070456c1ef403642eba7913a834d365d Reviewed-on: https://gerrit.libreoffice.org/8275 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Java cleanup, convert Hashtable to HashMapNoel Grandin2013-05-062-10/+7
| | | | Change-Id: If8a9c0c3a4b357fb9c0ff096f44ed1b44ebbcef4
* fdo#60724 successfull -> successfulThomas Arnhold2013-04-151-5/+5
| | | | Change-Id: I287bef5b7f2baf5aaaab47141267ae2cadfe2451
* Related to fdo#60724: correct spellingThomas Arnhold2013-03-031-1/+1
| | | | | | | | Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
* s/the the/the/Tor Lillqvist2013-02-221-2/+2
| | | | Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3