summaryrefslogtreecommitdiff
path: root/qadevOOo/tests
AgeCommit message (Collapse)Author
2014-03-10qadevOOo: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann
Change-Id: I1efcc27818c8ec92db32151afc8f17bbf7fc1f40
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
2014-02-12Typo: "omited"/"ommitted"/"ommited" -> "omitted"Julien Nabet
Change-Id: Icc690b0ae1fc8f7165082774720d265798815faa
2014-02-06Typo: realtion -> relationJulien Nabet
Change-Id: I2ec2d716eaff6c6dc03bf657e77daa8e4d57cb53
2014-02-06Typo: chek -> checkJulien Nabet
Change-Id: I979956276a9d2d76604576d8b92e8f48a9f46c74
2014-02-04*_AppDispatchProvider_get_implementation cannot bypass XInitializationStephan Bergmann
...as SfxAppDispatchProvider implements new-style service css.frame.AppDispatchProvider that doesn't declare any non-default ctors (which looks broken, though) and old-style service css.frame.DispatchProvicer. (And fix the test code to pass in meaningful XInitialization arguments.) Change-Id: Ifcc32d17f6b96ade2acc40ccdb60f7bad2d503a4
2014-02-03typo: ACSII -> ASCIIAndras Timar
Change-Id: I5c12ad690df99718dc1e5d1f25a3b62af3c6b355
2014-01-20Remove unused XInitialization.args dataStephan Bergmann
...now that ModuleUIConfigurationManager no longer implements XInitialization since 72b5343bd16deec540d8cd148cd7aebd74e92c16 "fwk: Use constructor feature for ModuleUIConfigurationManager." Change-Id: I479c6c93e9982d80318e53b794bac99e949a5e46
2014-01-14Fix typoTakeshi Abe
Change-Id: Idb7ce105bf347d7cfee039da8939aecf743f2c16
2013-12-20Spelling correction: s/retrive/retrieve/Tor Lillqvist
Change-Id: I96845d358765e2d2507763a9b15a30388b32bc6b
2013-12-20typo fixesAndras Timar
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-12Minor qadevOOo improvementStephan Bergmann
Change-Id: Ibeefc8e9aad57c28722b62610231d14ebc8a7403
2013-12-04Improve test codeStephan Bergmann
Change-Id: I196a7f654bf8f061a4b050ea1fbe01fae9f450c2
2013-11-27Improve test outputStephan Bergmann
Change-Id: I33b289a31a9a4991eb270b3d154d999fa76c7bb4
2013-11-24Some Java String clean-upStephan Bergmann
Change-Id: I6728720a13f4b66edc6c5cd0b7a9bcb036e86ff2
2013-11-23rigth -> right (other occurences)Julien Nabet
Change-Id: Ic899aa36b1b18237f90295eaa04ea83450958c87
2013-11-04Try make this more robust in slow environmentsStephan Bergmann
...where the previous .uno:PrintPreview request has not yet been processed, the same way it had been made more robust for ScAccessiblePageHeader.java in 5b5c52a3a4d048bba8c18dfb06ffca25c670d099 "Try make this more robust in slow environments" plus b5dd2b4218f966e177d880bcc29fa5fba3bfe1c1 "Also cope with intermittend DisposedExceptions." Change-Id: I5244e8f8af9560ae986ed3a836bdf9571574420f
2013-11-01Try make this more robust in slow environmentsStephan Bergmann
...where the previous .uno:PrintPreview request has not yet been processed, the same way it had been made more robust for ScAccessiblePageHeader.java in 5b5c52a3a4d048bba8c18dfb06ffca25c670d099 "Try make this more robust in slow environments" plus b5dd2b4218f966e177d880bcc29fa5fba3bfe1c1 "Also cope with intermittend DisposedExceptions." Change-Id: I64389b817d91a2bed8dfe1b8d92bafec42eba21a
2013-10-22Try make this more robust in slow environmentsStephan Bergmann
...where the previous .uno:PrintPreview request has not yet been processed, the same way it had been made more robust for ScAccessiblePageHeader.java in 5b5c52a3a4d048bba8c18dfb06ffca25c670d099 "Try make this more robust in slow environments" plus b5dd2b4218f966e177d880bcc29fa5fba3bfe1c1 "Also cope with intermittend DisposedExceptions." Change-Id: I4b0ca00c04c2b1c8ffbfe4aaf926305ee9b51f30
2013-10-08Try make this more robust in slow environmentsStephan Bergmann
...where the previous .uno:PrintPreview request has not yet been processed, the same way it had been made more robust for ScAccessiblePageHeader.java in 5b5c52a3a4d048bba8c18dfb06ffca25c670d099 "Try make this more robust in slow environments" plus b5dd2b4218f966e177d880bcc29fa5fba3bfe1c1 "Also cope with intermittend DisposedExceptions." Change-Id: I4d429a96b7b595776aaf3fa20e3e03b00ca886bc
2013-10-08Unused variable (AccessibilityTools is all static members)Stephan Bergmann
Change-Id: I5f3be57dea77cec1cfa3f48833758b0c2328350e
2013-10-07Also cope with intermittend DisposedExceptionsStephan Bergmann
...while waiting for the .uno:PrintPreview request to be processed, see 5b5c52a3a4d048bba8c18dfb06ffca25c670d099 "Try make this more robust in slow environments." (However, to avoid an endless loop in case DisposedExceptions are caused by a crash of soffice.bin, cap the loop at 10 sec.) Change-Id: I13518eea46deb68731604ef08461bad5bb5f7cdf
2013-09-30junit: add 'r' to creating, and better exception descriptions.Michael Meeks
2013-09-30junit: make tests robust by compensating for intermittent sizing race.Michael Meeks
2013-09-26typo fixes in commentsAndras Timar
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-08-28Try make this more robust in slow environmentsStephan Bergmann
...where the previous .uno:PrintPreview request has not yet been processed and xRoot/oObj would still be null. Hopefully, it does not introduce infinite loops, though. Change-Id: Ie79e0b0a3185528ab4036ed7a33de81117c02c83
2013-08-22What's it with all those *static* XSpreadsheetDocument instances?Stephan Bergmann
...appears to be completely unnecessary, and maybe this helps fix some obscure DispsedException failures in JunitTest_sc_unoapi (not ones resulting from a crashed soffice.bin, but "genuine" ones happening when chasing util.AccessibilityTools.getAccessibleObjectForRole). Change-Id: I127940e9a2a9784d01255307b60614d53c86436f
2013-08-21No (apparent?) need for xSheetDoc to be staticStephan Bergmann
Change-Id: Iea653925d383537f5f7f5ef9dd7559e7cb8730cf
2013-08-05More little fixes for JunitTest_forms_unoapiStephan Bergmann
...needed since 8ee69b0ba13f74d1515fac71df92947eb6328ab1 "fdo#67235 adapt form control code to time nanosecond API change, step 3." Change-Id: If0fc8109d6da56c8e8df181ae0b35a4d9b34e767
2013-08-05Fix uses of Java == on css.uno.Date/TimeStephan Bergmann
...introduced with 8ee69b0ba13f74d1515fac71df92947eb6328ab1 "fdo#67235 adapt form control code to time nanosecond API change, step 3." Change-Id: Ifdd449715ce0be602b7bc2d304d503385195eb66
2013-08-04fdo#67235 adapt form control code to time nanosecond API change, step 3Lionel Elie Mamane
Change-Id: I4899c89ee5b2a54c9c05b531ab284365f1558e3d Reviewed-on: https://gerrit.libreoffice.org/5270 Tested-by: Lionel Elie Mamane <lionel@mamane.lu> Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
2013-08-02fdo#67235 adapt form control code to time nanosecond API changeLionel Elie Mamane
Conflicts: offapi/type_reference/offapi.rdb Change-Id: If68ecf0691919d71d06d7b97d46db115013f9805 Reviewed-on: https://gerrit.libreoffice.org/5149 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2013-07-31Fix some typos.Thomas Klausner
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
2013-07-15i#108348 API CHANGE: add IsUTC to css.util.DateTime etc.Michael Stahl
Add IsUTC member to: com.sun.star.util.DateTime com.sun.star.util.DateTimeRange com.sun.star.util.Time Add new stucts with explicit time zones: com.sun.star.util.DateTimeWithTimezone com.sun.star.util.DateWithTimezone com.sun.star.util.TimeWithTimezone Adapt the sax::Converter to read/write timezones, and fix the unit test. Everything else just uses default (no time zone), this commit is just to fix the API. STRUCT: /UCR/com/sun/star/util/DateTime nFields1 = 7 != nFields2 = 8 Registry2 contains 1 more fields STRUCT: /UCR/com/sun/star/util/DateTimeRange nFields1 = 14 != nFields2 = 15 Registry2 contains 1 more fields STRUCT: /UCR/com/sun/star/util/Time nFields1 = 4 != nFields2 = 5 Registry2 contains 1 more fields Conflicts: sc/source/filter/oox/unitconverter.cxx Change-Id: I01f7a6d082a6b090c8efe71d2de137474c495c18 Reviewed-on: https://gerrit.libreoffice.org/4833 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-07-11Resolves: #i121544# - Clean-up MessageBox APIAriel Constenla-Haile
(cherry picked from commit 27cfcb1e9d103b3e49c1263b1fa59fee8b187b21) Conflicts: desktop/test/deployment/active/active_native.cxx desktop/test/deployment/passive/Dispatch.java desktop/test/deployment/passive/passive_native.cxx odk/examples/DevelopersGuide/Charts/SelectionChangeListener.java odk/examples/DevelopersGuide/GUI/MessageBox.java odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx odk/examples/java/Inspector/Inspector.java offapi/com/sun/star/awt/MessageBoxButtons.idl offapi/com/sun/star/awt/MessageBoxResults.idl offapi/com/sun/star/awt/XMessageBox.idl offapi/com/sun/star/awt/XMessageBoxFactory.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb sdext/source/minimizer/unodialog.cxx toolkit/inc/toolkit/awt/vclxtoolkit.hxx toolkit/source/awt/vclxtoolkit.cxx toolkit/source/layout/core/root.cxx Change-Id: I170b494fb96362bb25ba8d0f2518d4e46934dd67 Related: #i121544# - Clean-up MessageBox API (post fix) (cherry picked from commit c9f7a06e7798bcd5253844c49d210ea9345bd4b8) Conflicts: sw/inc/pch/precompiled_sw.hxx Change-Id: Ib8b1e7aaac769feff5206fcdd238c487a6130dd1 Related: #i121544# - Fix header guards Found by: Tsutomu Uchino (cherry picked from commit 82194a19ff4f29c8451c8e6ab6fe4f1b9d08df27) Conflicts: offapi/com/sun/star/awt/MessageBoxType.idl Change-Id: Ide8ba697fbc80395d2f30a068a0820a6afa3332f
2013-06-23Resolves: #i121542# Unify the Menu APIAriel Constenla-Haile
(cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2013-05-29fdo#60724 change spelling error REMOVEABLE -> REMOVABLE IIThomas Arnhold
Change-Id: I0057b9174af6a83f3fde0e27c3a91a4aeca95873 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-05-21Revert "Java cleanup, AccessibilityTools.."Stephan Bergmann
This reverts commit d702dd4396161f8e2e7396f5c24554088b752fcb, which reproducibly broke JunitTest_sc_unoapi: java.lang.NullPointerException at util.AccessibilityTools.getAccessibleObjectForRole_(AccessibilityTools.java:177) at util.AccessibilityTools.getAccessibleObjectForRole(AccessibilityTools.java:95) at mod._sc.AccessibleEditableTextPara_PreviewCell.createTestEnvironment(AccessibleEditableTextPara_PreviewCell.java:149) at lib.TestCase.getTestEnvironment(TestCase.java:121) at base.java_fat.getTestEnvironment(java_fat.java:319) at base.java_fat.executeTest(java_fat.java:167) at org.openoffice.Runner.run(Runner.java:234) at org.openoffice.test.UnoApiTest.test(UnoApiTest.java:38) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) at org.junit.runners.ParentRunner.run(ParentRunner.java:300) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:24) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) at org.junit.runners.ParentRunner.run(ParentRunner.java:300) at org.junit.runner.JUnitCore.run(JUnitCore.java:157) at org.junit.runner.JUnitCore.run(JUnitCore.java:136) at org.junit.runner.JUnitCore.run(JUnitCore.java:117) at org.junit.runner.JUnitCore.runMain(JUnitCore.java:98) at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:53) at org.junit.runner.JUnitCore.main(JUnitCore.java:45) Change-Id: I3601fe24db21bd63f7dc6cdf0a1eb69f447d962a
2013-05-20Java cleanup, AccessibilityTools..Noel Grandin
was using a global variable. Yuck. Fix it to use a local variable. Not perfect, but better. Change-Id: I27bbbb2ddc89402da53be7f19d2cd963b03b1a83
2013-05-14Improve test log outputStephan Bergmann
Change-Id: I11afb19726ecf6b585d84517cf2a8244800db81a
2013-05-06fix typos (wich instead of which)Philipp Riemer
2013-05-06Java cleanup, remove unnecessary @SuppressWarnings annotationsNoel Grandin
Change-Id: Ib5df091fc4a6233b526c44ae42dbdbacb0bef7c6
2013-05-06Java cleanup, convert Hashtable to HashMapNoel Grandin
Change-Id: If8a9c0c3a4b357fb9c0ff096f44ed1b44ebbcef4
2013-05-06Java cleanup, Convert Vector to ArrayListNoel Grandin
Change-Id: I323a6625f93347e69f3114fc10cb04dc759a539f
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-25Mark TypeDescriptionProvider service as "don't create by name"Stephan Bergmann
...had to adapt one test that had picked this service apparently arbitrarily. Change-Id: Iaa17b7c622b9ac3601beb3ba931f7b1d99f649f1
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>
2013-04-22Java cleanup - static fields that should not be staticNoel Grandin
Somebody appears to have been confused about the purpose of static in Java. These are instance fields and should therefore not be static. Also reduce the visibility of some methods and fields. Change-Id: I0b5875b6cbd91ee89823e2058b87c1087dc5c92e Reviewed-on: https://gerrit.libreoffice.org/3555 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>