diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-08-23 15:21:07 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-08-23 15:21:07 +0200 |
commit | e076213c4e1a1708e70c3ac65180c6a3ceb04349 (patch) | |
tree | f951731fcd4f0c17dd7a55b154be238cb2b71bae /qadevOOo/tests/java/mod/_toolkit/AccessibleToolBox.java | |
parent | b9bff9906e94ef3b1c8d6da779269122d39d8354 (diff) |
recreated tag libreoffice-3.3.1.1 which had these commits:
commit 51b472e78a48fc214cb73929bc1e7fc273838d57 (tag: refs/tags/libreoffice-3.3.1.1)
Author: Petr Mladek <pmladek@suse.cz>
Date: Tue Feb 8 18:07:46 2011 +0100
Version 3.3.1.1, tag libreoffice-3.3.1.1 (3.3.1-rc1)
commit 4a7775fc7f2f9f18063e5c137deb1e3edb0c1caf
Author: Jan Holesovsky <kendy@suse.cz>
Date: Mon Feb 7 21:23:30 2011 +0100
Branch libreoffice-3-3-1
This is 'libreoffice-3-3-1' - the stable branch for the 3.3.1 release.
Only very safe changes, reviewed by three people are allowed.
If you want to commit more complicated fix for the next 3.3.x release,
please use the 'libreoffice-3-3' branch.
If you want to build something cool, unstable, and risky, use master.
commit 5c1062b2bb1697eeca47e551eef913813efd0eaa
Author: Petr Mladek <pmladek@suse.cz>
Date: Tue Jan 11 23:05:58 2011 +0100
Please, ignore the previous message; it was for the libreoffice-3-3-0 branch
This is 'libreoffice-3-3' - the stable branch for the 3.3.x releases.
Only safe changes, reviewed by anoter person are allowed.
If you want to build something cool, unstable, and risky, use master.
commit 5874d96a88795f941f8a900d9834e2704e8884ae
Author: Petr Mladek <pmladek@suse.cz>
Date: Tue Jan 11 22:39:09 2011 +0100
Branch libreoffice-3-3-0
This is 'libreoffice-3-3-0' - the stable branch for the 3.3.0 release.
Only very safe changes, reviewed by three people are allowed.
If you want to commit more complicated fix for the next 3.3.x release,
please use the 'libreoffice-3-3' branch.
If you want to build something cool, unstable, and risky, use master.
Notes
split repo tag: testing_libreoffice-3.3.1.1
split repo tag: testing_libreoffice-3.3.1.2
Diffstat (limited to 'qadevOOo/tests/java/mod/_toolkit/AccessibleToolBox.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_toolkit/AccessibleToolBox.java | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessibleToolBox.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleToolBox.java index c02017508695..ed352e6e7183 100644 --- a/qadevOOo/tests/java/mod/_toolkit/AccessibleToolBox.java +++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleToolBox.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -74,7 +74,7 @@ import util.SOfficeFactory; public class AccessibleToolBox extends TestCase { private static XDesktop the_Desk; private static XTextDocument xTextDoc; - + /** * Creates the Desktop service (<code>com.sun.star.frame.Desktop</code>). */ @@ -83,20 +83,20 @@ public class AccessibleToolBox extends TestCase { DesktopTools.createDesktop( (XMultiServiceFactory) Param.getMSF())); } - + /** * Disposes the document, if exists, created in * <code>createTestEnvironment</code> method. */ protected void cleanup(TestParameters Param, PrintWriter log) { log.println("disposing xTextDoc"); - + if (xTextDoc != null) { util.DesktopTools.closeDoc(xTextDoc); ; } } - + /** * Creates a text document. * Then obtains an accessible object with @@ -120,16 +120,16 @@ public class AccessibleToolBox extends TestCase { protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) { log.println("creating a test environment"); - + if (xTextDoc != null) { util.DesktopTools.closeDoc(xTextDoc); } - + XMultiServiceFactory msf = (XMultiServiceFactory) tParam.getMSF(); - + // get a soffice factory object SOfficeFactory SOF = SOfficeFactory.getFactory(msf); - + try { log.println("creating a text document"); xTextDoc = SOF.createTextDoc(null); @@ -138,40 +138,40 @@ public class AccessibleToolBox extends TestCase { e.printStackTrace(log); throw new StatusException("Couldn't create document", e); } - + XInterface oObj = null; - + XWindow xWindow = UnoRuntime.queryInterface(XModel.class, xTextDoc). getCurrentController().getFrame().getContainerWindow(); - + AccessibilityTools at = new AccessibilityTools(); XAccessible xRoot = at.getAccessibleObject(xWindow); - + at.printAccessibleTree(log, xRoot, tParam.getBool(util.PropertyName.DEBUG_IS_ACTIVE)); - + oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.TOOL_BAR); - + log.println("ImplementationName: " + util.utils.getImplName(oObj)); - + TestEnvironment tEnv = new TestEnvironment(oObj); - + tEnv.addObjRelation("LimitedBounds", "yes"); - + XAccessible acc = at.getAccessibleObject(oObj); XAccessible child = null; - + try { child = acc.getAccessibleContext().getAccessibleChild(0); } catch (com.sun.star.lang.IndexOutOfBoundsException e) { } - + util.dbg.printInterfaces(child); - + final XAccessibleAction action = (XAccessibleAction) UnoRuntime.queryInterface( XAccessibleAction.class, child); - + tEnv.addObjRelation("EventProducer", new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() { public void fireEvent() { @@ -182,7 +182,7 @@ public class AccessibleToolBox extends TestCase { } } }); - + return tEnv; } } |