summaryrefslogtreecommitdiff
path: root/javaunohelper/test
AgeCommit message (Collapse)AuthorFilesLines
2014-10-16java: always use braces for while loopsNoel Grandin1-3/+6
Change-Id: Iff896b0cace8b8305528b3b0140004ea856169ce
2014-10-13java: import from the same packageRobert Antoni Buj i Gelonch1-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>
2014-10-07java: no need to check for null before calling instanceofNoel Grandin1-1/+1
the instanceof check returns false when passed a null value Change-Id: I7742d0d9cf25ef23d9adee7328f701c7efeea8b5
2014-10-02javaunohelper: More robust way to wait for finalizationRobert Antoni Buj i Gelonch1-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>
2014-10-02More robust way to wait for finalizationStephan Bergmann1-7/+4
Change-Id: I99aa3ac27c5157a6858978da20e480bc9847d88f
2014-09-28javaunohelper: migrate PropertySet_Test to JUnitRobert Antoni Buj i Gelonch1-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>
2014-09-24javaunohelper: WeakBase_Test & MultiTypeInterfaceContainer_Test -> JUnitRobert Antoni Buj i Gelonch3-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>
2014-09-24javaunohelper: migrate InterfaceContainer_Test to JUnitRobert Antoni Buj i Gelonch2-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>
2014-09-23javaunohelper: migrate ComponentBase_Test to JUnitRobert Antoni Buj i Gelonch1-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>
2014-09-22javaunohelper: migrate ComponentContext_Test to JUnitRobert Antoni Buj i Gelonch1-53/+33
$ make JunitTest_juh_ComponentContext Change-Id: Ibcd8ed7b1da7da82593e51b6f25a53763e9455f7 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-09-21javaunohelper: use java.util.logging in testsRobert Antoni Buj i Gelonch6-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>
2014-09-19javaunohelper: use HashMap instead of Hashtable CollectionRobert Antoni Buj i Gelonch1-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>
2014-08-20java: remove unnecessary constructor declarationsNoel Grandin3-14/+0
in the absence of any other constructors, the compiler will automatically generate a public no-arg constructor Change-Id: I70eca507cd8e16e33580b3398d41d70690bc2909
2014-08-20java: avoid if..else when returning boolean valuesNoel Grandin1-8/+2
Change-Id: Iab52762a9abfe8735223372b09638ce9d8d44318
2014-08-20java: avoid unnecessary comparisons in boolean expressionsNoel Grandin8-38/+38
i.e. stuff like "x == true" Change-Id: Ib82a4a30e736df392405332fa197b588482cffcf
2014-08-19java: no need to instantiate String objects directlyNoel Grandin1-6/+6
Change-Id: I7610774c94bf673ed3b574ffce04c4ee6ca93c03
2014-08-19java: use 'Byte.valueOf' instead of 'new Byte'Noel Grandin1-22/+22
Change-Id: Ia99765a6226317ee41ffb02a1b0dd7e6fd944a90
2014-08-19java: use 'Short.valueOf' instead of 'new Short'Noel Grandin1-10/+10
Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219
2014-08-19java: use 'Long.valueOf' instead of 'new Long'Noel Grandin1-10/+10
Change-Id: If4fff3dd37326fbcdd01b743355a16591d71fa69
2014-08-19java: use 'Integer.valueOf' instead of 'new Integer'Noel Grandin2-26/+26
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
2014-08-19java: use Boolean.valueOf instead of instantiating Boolean objectsNoel Grandin1-18/+18
Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
2014-08-14java: remove useless instanceof testsNoel Grandin1-2/+2
Change-Id: Idb058179f90ddbe5157d564ed5f9c9168898fb0c
2014-08-14java: remove commented out codeNoel Grandin1-1/+0
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-12javaunohelper: Fix Bootstrap_Test.java & add warning messagesrbuj1-4/+8
Accept bootstrap parameters that contained more than one = Reject empty key Change-Id: Ie04364867d56d5687cbbc2c142ea73be90bbafdf Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-08-10javaunohelper: Enhancement loading bootstrap_parameters in Bootstrap_Test.javarbuj1-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>
2014-08-08java: remove exceptions from throws clauses that are notNoel Grandin1-2/+0
.. actually thrown Change-Id: Ia326ac7f82e11b948ed0f34e20908a96e7adcd10
2014-08-08java: remove redundant null checksNoel Grandin1-7/+4
Change-Id: Ia42e5ed715fbd3f5b84029a9844da55f307c6260
2014-08-08java: code some code to use non-deprecated constructorsNoel Grandin2-2/+2
Change-Id: I4194a3dfd361d1955cf5bb4fab915150eecfa21a
2014-08-08java: remove unused variablesNoel Grandin1-16/+14
Change-Id: I1b04fbf4d4562ff8e74f6ccdb2fd989d79cc869b
2014-08-05java: remove commented out codeNoel Grandin5-85/+0
Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
2014-08-05java: remove various unused variablesNoel Grandin3-11/+9
Change-Id: Id9f30938f594cb6fe73bf40adfffa65ec1b42cd1
2014-02-26Remove visual noise from javaunohelperAlexander Wilms2-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>
2013-05-06Java cleanup, convert Hashtable to HashMapNoel Grandin2-10/+7
Change-Id: If8a9c0c3a4b357fb9c0ff096f44ed1b44ebbcef4
2013-04-15fdo#60724 successfull -> successfulThomas Arnhold1-5/+5
Change-Id: I287bef5b7f2baf5aaaab47141267ae2cadfe2451
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold1-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
2013-02-22s/the the/the/Tor Lillqvist1-2/+2
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22s/whith/with/Tor Lillqvist1-1/+1
Change-Id: I23da81c182ad30faf871d98e55820295418207d0
2012-12-21API CHANGE: Remove deprecated cppuhelper/servicefactory.hxx and Java equiv.Stephan Bergmann1-71/+0
... com.sun.star.comp.helper.RegistryServiceFactory (juh.jar). Superseded by default bootstrap mechanisms. An aborting stub for non-inline cppu::createRegistryServiceFactory is left in cppuhelper/srouce/compat.cxx to avoid having to incompatibly change cppuhelper/soruce/gcc3.map. Change-Id: I590e50b8f57e86d4bb3e00d157c9e5907c02f267
2012-09-06Java cleanup, remove unnecessary importsNoel Grandin6-58/+0
Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
2012-08-20Java5 updates - convert to genericsNoel Grandin6-56/+56
Change-Id: I039e51958865a7ea000034e7bf765f64d49689cd
2012-08-20Remove dead java code, fields and local variablesNoel Grandin1-2/+0
Change-Id: If777dcb0e0142229df737c2f1e3e6ecb61f64168
2012-08-06Static method sleep from Thread should be accessed in a static wayJulien Nabet2-3/+3
Change-Id: I7d875dd74f8eff05f7a291100841779abbf5fd1c
2012-06-27re-base on ALv2 code.Michael Meeks6-138/+84
2012-06-21re-base on ALv2 code.Michael Meeks7-164/+101
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2011-12-25remove stray makefilesDavid Tardon2-120/+0
2010-12-06Replace all occured, occurance etc.Takeshi Abe6-6/+6
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien15-62/+15
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2009-09-16CWS-TOOLING: integrate CWS sb113Jens-Heiner Rechtien5-15/+15
2009-09-01 sb #i76393# second attempt at properly #ifdef-ing previous HG commit d598efdbf012 2009-08-28 sb #i102469# change back <T extends XInterface> to just <T> on queryInterface, to avoid binary incompatibility (method changing its signature from (Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object; to (Ljava/lang/Class;Ljava/lang/Object;)Lcom/sun/star/uno/XInterface;) 2009-08-28 sb #i76393# properly #ifdef previous HG commit d598efdbf012 2009-08-27 sb #i94421# work around compiler error (based on a patch supplied by cloph) 2009-08-26 sb merged in DEV300_m56 2009-08-26 sb #i76393# on Linux, include dynamic section offset in crash report so as to be able to map "prelinked" callstacks back to original (patch by cmc) 2009-08-26 sb #i88162# remove unnecessary whitespace lines from per-locale xcu files (patch by tora) 2009-08-17 Juergen Schmidt #i104292# set context classloader after create new custom UNO loader 2009-08-17 Juergen Schmidt #i103749# integrate patch 2009-08-14 sb #i103269# cherry-picked ssh://hg@hg.services.openoffice.org/cws/sb111 -r 5124ebd5edd1 ("#i101955# changed encoding of XML file content from erroneous ISO-8859-1 to UTF-8") 2009-08-12 sb #i102469# fixed mis-applications of UnoRuntime.queryInterface (detected via the simplified UnoRuntime.queryInterface, the HG changeset 29de35fc9554) to use AnyConverter instead; changed qadevOOo's lib.MultiMethodTest.before to allow throwing arbitrary exceptions, to cater for IllegalArgumentException thrown by AnyConverter 2009-08-12 sb #i104178# drop extra libxml2-config script from libxmlsec 2009-08-10 sb #i101754# simplified osl_getProcessInfo for LINUX (patch by cmc) 2009-08-10 sb #i95018# avoid closing -1 fds (patch supplied by cmc) 2009-08-10 sb #i103585# removed (apparently unnecessary) zlib support from libxml2; in turn, removed zlib dependencies from libxmlsec, libxslt, and redland (assuming those were transitive dependencies brought in by direct dependencies on libxml2) 2009-08-10 sb #i102469# simplified UnoRuntime.queryInterface using Java 5 generics; adapted URE-related modules accordingly 2009-08-10 sb #i101213# adapted setsolar env (solenv/config/) to set PYTHONPATH (and not set PYTHONHOME) in accordance with configure env (set_soenv.in); fixed testtools/source/bridgetest/pyuno (which now should work everywhere out of the box, thanks to the fixed setsolar PYTHONPATH) 2009-08-10 sb cherry-picked ssh://hg@hg.services.openoffice.org/cws/sb111 -r ea8de6d9396b ("#i101955# work in progress for a .hgignore file, continued")
2008-04-11INTEGRATION: CWS changefileheader (1.3.56); FILE MERGEDRüdiger Timm6-138/+108
2008/03/31 07:24:08 rt 1.3.56.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.7.56); FILE MERGEDRüdiger Timm2-46/+37
2008/03/31 07:24:08 rt 1.7.56.1: #i87441# Change license header to LPGL v3.