summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sw
AgeCommit message (Collapse)Author
2015-10-14coverity#1327177 UuF: Unused fieldCaolán McNamara
Change-Id: I6f09015a33410e700562a87c0cf51195cbd63172
2015-10-14coverity#1327176 UuF: Unused fieldCaolán McNamara
Change-Id: I754e1cbe9f6ed5c83b79771f99728ef317cfbe0a
2015-09-30Fix typosAndrea Gelmini
Change-Id: I42c0ab2012553e11f8c1372103488ba1d291d5a9 Reviewed-on: https://gerrit.libreoffice.org/18965 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-07-03Fix typosAndrea Gelmini
Change-Id: I8e429d1f03aac7c7cdb7ff4b43b3f46d40292510 Reviewed-on: https://gerrit.libreoffice.org/16709 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-06-11java:remove more unnecessary catch/re-throwNoel Grandin
Change-Id: Id9a13c7f4ae0fd53c95c551544e60af44bb3fb95 Reviewed-on: https://gerrit.libreoffice.org/16203 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-11speed up Java unit tests by removing sleepsNoel Grandin
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-09there is no need to synchronize createTestEnvironmentNoel Grandin
the only caller of these methods is already synchronized Change-Id: Icea587d71acba1eca2a97ae0138a69fa98063f50
2015-06-09remove some unnecessary exception wrapping in the Java testsNoel Grandin
Modify createTestEnvironment so that it throws Exception. This is appropriate for unit testing. The wrapping adds no value and the calling method already has a catch(Exception) to handle anything. Change-Id: I430a414f63d2cbfc3b65ecfde0285509265e5192
2015-06-08some spelling fixes, mostly in Java codeNoel Grandin
Change-Id: Ib9d0522a1f371404ee990348712e2d196049f69f
2015-01-12java: simplify sleeping and waiting in testsNoel Grandin
- 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 Grandin
since all of it's methods and fields are static. Change-Id: Ia2b652969489c5a21e01a35cda65c6e84346aac0
2014-12-11java: reduce visibility of fields and methodsNoel Grandin
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-11-24java,qadev: remove unused parameters and local varsNoel Grandin
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-10-16java: when rethrowing, store the original exceptionNoel Grandin
Change-Id: Idfca83a2a646acab90886c0ef9c30dd7d2fc8b53
2014-10-07java: remove some unnecessary intermediary object creationNoel Grandin
Change-Id: Id4949fa08546e710fbf9bd0c7e3bf62979f29c83
2014-08-19java: use 'Short.valueOf' instead of 'new Short'Noel Grandin
Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219
2014-08-19java: use 'Integer.valueOf' instead of 'new Integer'Noel Grandin
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
2014-08-19java: use Boolean.valueOf instead of instantiating Boolean objectsNoel Grandin
Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
2014-08-14java: remove commented out codeNoel Grandin
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-12java: add @Override annotation to overriding methodsNoel Grandin
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
2014-08-11java: remove unused parametersNoel Grandin
Change-Id: Ifc44c51ddbd21fabaad686bc3d38e2dab54d97aa
2014-08-11java: remove unused parametersNoel Grandin
Change-Id: I47c618117e079bb2ef90d92c449c8166ea957fa5
2014-08-08java: remove exceptions from throws clauses that are notNoel Grandin
.. actually thrown Change-Id: Ia326ac7f82e11b948ed0f34e20908a96e7adcd10
2014-08-05java: remove commented out codeNoel Grandin
Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
2014-08-04java: remove some unused import statementsNoel Grandin
Change-Id: Id6342be66221c81b05aee9af519c800e51a286b3
2014-08-04java: remove some unused variablesNoel Grandin
Change-Id: Ia9405d3e34e710059ff68bf850de91c36f4e1e1b
2014-08-04java: remove some casting in lib.TestParameters#getMSFNoel Grandin
where the return value is always cast to XMultiServiceFactory, so just do the cast in the method and avoid noise at the call sites. Change-Id: I3a2e06ac6edb3c6021eda6442032db57aaa22e13
2014-04-30Many spelling fixes: directory qadevOOo.Pedro Giffuni
Attempt to clean up most but certainly not all the spelling mistakes that found home in OpenOffice through decades. We could probably blame the international nature of the code but it is somewhat shameful that this wasn't done before. (cherry picked from commit c3f20ae9a447f50517fe545a53de91d412c3337c) Conflicts: qadevOOo/runner/base/java_complex.java qadevOOo/runner/basicrunner/BasicHandler.java qadevOOo/runner/basicrunner/basichelper/Connector.java qadevOOo/runner/helper/LoggingThread.java qadevOOo/runner/helper/StreamSimulator.java qadevOOo/runner/helper/URLHelper.java qadevOOo/runner/stats/SQLExecution.java qadevOOo/runner/util/SOfficeFactory.java qadevOOo/runner/util/utils.java qadevOOo/tests/basic/ifc/awt/XWindow/awt_XWindow.xba qadevOOo/tests/basic/ifc/beans/XPropertyState/beans_XPropertyState.xba qadevOOo/tests/basic/ifc/container/XIndexReplace/container_XIndexReplace.xba qadevOOo/tests/basic/ifc/io/XMarkableStream/io_XMarkableStream.xba qadevOOo/tests/basic/ifc/lang/XInitialization/lang_XInitialization.xba qadevOOo/tests/basic/ifc/sdbc/XCloseable/sdbc_XCloseable.xba qadevOOo/tests/basic/ifc/sdbcx/XRowLocate/sdbcx_XRowLocate.xba qadevOOo/tests/basic/ifc/text/XRelativeTextContentInsert/text_XRelativeTextContentInsert.xba qadevOOo/tests/basic/ifc/text/XTextColumns/text_XTextColumns.xba qadevOOo/tests/basic/mod/dynamicloader.uno/Dynamic/dynamicloader_uno_Dynamic.xba qadevOOo/tests/basic/mod/dynamicloader/Dynamic/dynamicloader_Dynamic.xba qadevOOo/tests/basic/mod/sc/ScDDELinkObj/sc_ScDDELinkObj.xba qadevOOo/tests/basic/mod/sc/ScDDELinksObj/sc_ScDDELinksObj.xba qadevOOo/tests/basic/mod/sc/ScIndexEnumeration_DDELinksEnumeration/sc_ScIndexEnumeration_DDELinksEnumeration.xba qadevOOo/tests/java/ifc/container/_XNameReplace.java qadevOOo/tests/java/ifc/document/_XStandaloneDocumentInfo.java qadevOOo/tests/java/ifc/frame/_XFrame.java qadevOOo/tests/java/ifc/i18n/_XCalendar.java qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryComposer.java qadevOOo/tests/java/ifc/sdbc/_XRowSet.java qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor.java qadevOOo/tests/java/ifc/util/_XTextSearch.java qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java qadevOOo/tests/java/mod/_bridgefac.uno/package.html qadevOOo/tests/java/mod/_connector.uno/package.html qadevOOo/tests/java/mod/_corereflection.uno/package.html qadevOOo/tests/java/mod/_forms/GenericModelTest.java qadevOOo/tests/java/mod/_implreg.uno/package.html qadevOOo/tests/java/mod/_introspection.uno/package.html qadevOOo/tests/java/mod/_invocadapt.uno/package.html qadevOOo/tests/java/mod/_invocation.uno/package.html qadevOOo/tests/java/mod/_nestedreg.uno/package.html qadevOOo/tests/java/mod/_sc/XMLMetaImporter.java qadevOOo/tests/java/mod/_servicemgr.uno/package.html qadevOOo/tests/java/mod/_shlibloader.uno/package.html qadevOOo/tests/java/mod/_simplereg.uno/package.html qadevOOo/tests/java/mod/_streams.uno/package.html qadevOOo/tests/java/mod/_sw/SwXTextView.java qadevOOo/tests/java/mod/_sw/XMLMetaImporter.java qadevOOo/tests/java/mod/_typeconverter.uno/package.html qadevOOo/tests/java/mod/_typemgr.uno/package.html qadevOOo/tests/java/mod/_uuresolver.uno/package.html qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaImporter.java qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaImporter.java Change-Id: I1ca48fdbb7aa71685b6145218d482dd9fa41be26
2014-02-26Remove visual noise from qadevOOoAlexander Wilms
Change-Id: I3d65145422039d629d2375c9fef030cd6ee41124 Reviewed-on: https://gerrit.libreoffice.org/8291 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-25Typo: folowing -> following + elemtens -> elementsJulien Nabet
Change-Id: Ice7ae2e82085ba5f0061ba1a960f693744e45e63
2013-09-26typo fixes in commentsAndras Timar
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-04-26Java cleanup, access static methods using correct syntaxNoel Grandin
Change-Id: I8443aef43d82de33ac7cb47d40cc5b544f7c9c87
2013-04-26Java cleanup, remove unused importsNoel Grandin
Change-Id: I697017f196a7f7e5684011ae23941e54051c45dd
2013-04-23Java cleanup - reduce use of global fieldsNoel Grandin
This field does not need to be global, it is returned from the relevant methods Change-Id: Ic53eec4a699d6acc4410e71dde385e6a49ded745 Reviewed-on: https://gerrit.libreoffice.org/3567 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2012-12-04i#25473: this was fixed by previous commit, so enable...Michael Stahl
...those tests again. Also there does not appear to be a reason to exclude MAYBEVOID properties. Change-Id: Ic73adb8800aee7f65e86394cecfe13b7b24eed13
2012-11-30API CHANGE: remove com.sun.star.text.XTextEmbeddedObjectMichael Stahl
This interface was apparently never implemented in OpenOffice.org. EXISTENCE: published key "/UCR/com/sun/star/text/XTextEmbeddedObject" exists only in registry 1 Change-Id: Ib802fa3f035d1842c9ee8018ef15f35a4680fe2b
2012-11-26API CHANGE: com.sun.star.lang.IllegalArgumentExceptionMichael Stahl
... 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
2012-11-22convert users of XDocumentInfo to XDocumentPropertiesMichael Stahl
Change-Id: I10f395f90d554d0ec26fe9f2654ae839e21c7ee5
2012-08-28Javadoc warnings - fix some tags and referencesNoel Grandin
Change-Id: I13be16beac258c551e58654b4fc37877d7bb9695
2012-08-28Java cleanup - remove unused importsNoel Grandin
Change-Id: I7eb24b2d552ec5da752b58ba790ed58fb88728b0
2012-08-28Java cleanup - remove unnecessary semi-colonsNoel Grandin
Change-Id: I20a79d3d8f71dc48fc2662563f9c890dd3d94aac
2012-08-20Java update - fix a bunch of javadoc warnings in @param tagsNoel Grandin
Change-Id: Ibaccfd0312ab6697d8c9887367ea664163767587
2012-07-18re-base on ALv2 code. Includes:Michael Meeks
reportbuilder, license file not needed. Patch contributed by Armin Le Grand http://svn.apache.org/viewvc?view=revision&revision=1305814 Adapting extras/ to our wordbook setup.
2012-06-29Java cleanup - remove unused local variablesNoel Grandin
Change-Id: Ied9c8635cde96d2d00d66a68cd8387799455c2ec
2012-06-29Java5 update - convert more code to use generics:wqNoel Grandin
Change-Id: I7ea32cad40a6657e4e5886d04af008cb6d67ac6e
2012-06-29Java5 update - usage generics where possibleNoel Grandin
Change-Id: I12f8c448961919e153047e28fee2a0acf3af1002
2012-06-29Java5 update - convert Vector to ArrayListNoel Grandin
Change-Id: I630b22da7fbfd2a1c821420d045146e5042c5c28
2012-06-29re-base on ALv2 code.Michael Meeks
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1