summaryrefslogtreecommitdiffstats
path: root/jurt/test
Commit message (Collapse)AuthorAgeFilesLines
* jurt: add missing modelinesMiklos Vajna2016-05-0522-0/+64
| | | | | | | | | So that it's harder to introduce tabs in those files. Change-Id: Iccaf0095fd103c4a3da44afc38f1a9d23be9863f Reviewed-on: https://gerrit.libreoffice.org/24673 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
* Unused private fieldsStephan Bergmann2016-03-231-9/+0
| | | | Change-Id: I69fd266df5cfb5392d1f2b5501bfb0b9e5f2cd83
* typoStephan Bergmann2016-03-111-5/+5
| | | | Change-Id: I8ae443a69aab715a59f347a2de5a36b458a934f5
* Synchronize all access to _sync_counter, _passedAyncStephan Bergmann2016-03-111-1/+1
| | | | Change-Id: I34e9b3fb9481af30ddda8cde45ccbb27819fc452
* Fix typosAndrea Gelmini2015-09-301-1/+1
| | | | | | | Change-Id: I44bdb63bef76e9686e995661a24a3bef7cd50ab7 Reviewed-on: https://gerrit.libreoffice.org/18959 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* java:regulatize the order of 'final' and public/privateNoel Grandin2015-06-111-1/+1
| | | | | | | | | | 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: some random small cleanupsNoel Grandin2015-04-201-1/+1
| | | | Change-Id: I22a5b9fa29d465a21e682279e6e88d37bd8adf93
* java: remove dead codeNoel Grandin2015-01-051-2/+0
| | | | | | found by UCDetector Change-Id: I6b0f49529379072da566e927b86815f173e7a90b
* java: remove some unused fields and variablesNoel Grandin2014-12-151-1/+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>
* java: reduce visibility of fields and methodsNoel Grandin2014-12-113-8/+8
| | | | | | | | | 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: last statement in finalize() method should be call to super.finalize()Noel Grandin2014-11-121-1/+2
| | | | | | | Change-Id: I1785c6cef1fe7c1990207a76c263cff388cbb7e1 Reviewed-on: https://gerrit.libreoffice.org/12375 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* java: always use braces for while loopsNoel Grandin2014-10-161-4/+8
| | | | Change-Id: Iff896b0cace8b8305528b3b0140004ea856169ce
* jurt: remove constructor in AnyConverter_Test (JUnit)Robert Antoni Buj i Gelonch2014-09-281-15/+31
| | | | | | | Change-Id: I4393b59d7d3a285160d6090847d9a16676f41f4d Reviewed-on: https://gerrit.libreoffice.org/11677 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
* java: remove modifiers implied by the contextNoel Grandin2014-08-201-1/+1
| | | | | | found by PMD Change-Id: I04cbf986ddbcffff987784f381b8a9f52f1b3f31
* java: no need to instantiate String objects directlyNoel Grandin2014-08-192-3/+3
| | | | Change-Id: I7610774c94bf673ed3b574ffce04c4ee6ca93c03
* java: use 'Byte.valueOf' instead of 'new Byte'Noel Grandin2014-08-192-2/+2
| | | | Change-Id: Ia99765a6226317ee41ffb02a1b0dd7e6fd944a90
* java: use 'Short.valueOf' instead of 'new Short'Noel Grandin2014-08-192-6/+6
| | | | Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219
* java: use 'Long.valueOf' instead of 'new Long'Noel Grandin2014-08-192-4/+4
| | | | Change-Id: If4fff3dd37326fbcdd01b743355a16591d71fa69
* java: use 'Integer.valueOf' instead of 'new Integer'Noel Grandin2014-08-194-21/+21
| | | | Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
* java: use Boolean.valueOf instead of instantiating Boolean objectsNoel Grandin2014-08-192-2/+2
| | | | Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
* java: remove commented out codeNoel Grandin2014-08-141-1/+1
| | | | Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
* java: add @Override annotation to overriding methodsNoel Grandin2014-08-127-0/+16
| | | | Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
* java: remove redundant super-interfacesNoel Grandin2014-08-081-1/+1
| | | | Change-Id: Iaf671ef87057362c804999a5154d8e8277bbc4b8
* java: remove commented out codeNoel Grandin2014-08-051-8/+0
| | | | Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
* java: remove various unused variablesNoel Grandin2014-08-051-2/+0
| | | | Change-Id: Id9f30938f594cb6fe73bf40adfffa65ec1b42cd1
* idl: remove external header guardsThomas Arnhold2014-05-161-12/+0
| | | | Change-Id: I78661f0750e4213a20dd2341580cbb181897f3ba
* jurt: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann2014-03-101-1/+1
| | | | Change-Id: I6fc237a3274f51b282804b9a08fc063694376780
* Remove visual noise from jurtAlexander Wilms2014-02-261-12/+12
| | | | | | | Change-Id: I9f2d9d0ee99623495440fd66961b56a73bd4124a Reviewed-on: https://gerrit.libreoffice.org/8276 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* add mode lines to new files (and idls) since last runCaolán McNamara2013-09-221-0/+3
| | | | Change-Id: Id1e74f18c90e69d1a781c8f02e30dc3c005ed4fd
* API CHANGE: com.sun.star.lang.IllegalArgumentExceptionMichael Stahl2012-11-261-4/+4
| | | | | | | | | | | | | | | | | | | | | ... derives from com.sun.star.uno.RuntimeException instead of com.sun.star.uno.Exception. Only test that breaks with this change is jurt_uno/AnyConverter_Test, which for mysterious reasons effectively tests that IllegalArgumentException is a subclass of Exception and not RuntimeException. Presumably this is just a generic exception test that happens to use IllegalArgumentException. Some further testing indicates there are no problems expected at runtime: Running "make subsequentcheck" with all Java test code compiled against a ridl.jar that does not contain the change, running against a soffice that uses ridl.jar and rdbs with the change + ridl.jar with the change on the test side yields exactly the same AnyConverter_Test failure, with no other failures. Change-Id: Iad183de76ec7e0d56648084e97cdcc160b5b033d
* jurt: remote test: synchronize updates to counters in TestWorkAtMichael Stahl2012-11-061-2/+9
| | | | | | | | Apparently it is possible to lose updates there, or at least i've had a failure where only 34 out of 35 increments were performed when checking in passedAsyncTest from JobQueue_Test.testStaticThreadExecutesAsyncs. Change-Id: I823ac65980e4e94be21305a10b98b4cfca247c81
* Remove race conditions from testStephan Bergmann2012-09-121-62/+29
| | | | Change-Id: I97e10fa3b9058211313a7faa5269d71e233f8bf8
* Java cleanup - remove unused importsNoel Grandin2012-08-283-3/+0
| | | | Change-Id: I7eb24b2d552ec5da752b58ba790ed58fb88728b0
* Java cleanup - remove unnecessary semi-colonsNoel Grandin2012-08-282-3/+3
| | | | Change-Id: I20a79d3d8f71dc48fc2662563f9c890dd3d94aac
* Java5 updates - convert to genericsNoel Grandin2012-08-202-3/+3
| | | | Change-Id: I039e51958865a7ea000034e7bf765f64d49689cd
* Remove dead java codeNoel Grandin2012-08-202-5/+0
| | | | Change-Id: I9a86978c4b4da058ddc44a7e79635e232ff6c870
* Java5 updates - update code to use genericsNoel Grandin2012-06-292-2/+2
| | | | | | This is all of the code I missed in my first set of patches. Change-Id: I8c7c9e5ac28dc3c2f3ac062c806fbf0787c997bd
* Java5 update - convert code to use genericsNoel Grandin2012-06-295-18/+16
| | | | Change-Id: Iff078cea287d0c508d2442d65cd9314ec3231c15
* Java5 update - convert Hashtable to HashMapNoel Grandin2012-06-291-2/+2
| | | | Change-Id: I59a7448b6c0a840b0f04b765ef9d5272dceb47b3
* re-base on ALv2 code.Michael Meeks2012-06-2914-334/+208
|
* re-base on ALv2 code.Michael Meeks2012-06-219-216/+135
| | | | Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
* jurt: use CustomTarget makefileMatúš Kukan2012-04-061-48/+0
|
* Make jurt JunitTests workStephan Bergmann2012-02-1714-660/+586
|
* remove unused sourceDavid Tardon2011-12-251-89/+0
|
* convert jurt/urp unit testDavid Tardon2011-12-252-51/+48
|
* convert jurt unit testsDavid Tardon2011-12-258-305/+0
|
* Change <file>.toURL() to <file>.toURI().toURL()Julien Nabet2011-05-021-2/+2
|
* sb135: #i116046# fixed jurt.com.sun.star.lib.uno.protocols.urp.Cache typo, ↵sb2010-12-104-68/+103
| | | | adapted corresponding tests plus solenv/inc/javaunittest.mk to JUnit framework
* changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien2010-02-1233-141/+33
| | | | Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
* CWS-TOOLING: integrate CWS sb113Jens-Heiner Rechtien2009-09-162-5/+5
| | | | | | | | | | | | | | | | | | | | | 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")