diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-08-23 15:21:41 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-08-23 15:21:41 +0200 |
commit | 1b12b332a9ff0c44b19f7f4f0c76b3f8ee534fc7 (patch) | |
tree | f951731fcd4f0c17dd7a55b154be238cb2b71bae /qadevOOo/tests/java/mod/_toolkit/AccessibleListItem.java | |
parent | 42e0579442c805df41454461d17cdede43c47b6a (diff) |
recreated tag libreoffice-3.3.3.1 which had these commits:
commit aec86c5680a68c65de8537b8a83a16e8d90cfdd9 (tag: refs/tags/libreoffice-3.3.3.1)
Author: Petr Mladek <pmladek@suse.cz>
Date: Tue May 31 17:39:08 2011 +0200
Version 3.3.3.1, tag libreoffice-3.3.3.1 (3.3.3-rc1)
Notes
Notes:
split repo tag: testing_libreoffice-3.3.3.1
split repo tag: testing_libreoffice-3.3.4.1
Diffstat (limited to 'qadevOOo/tests/java/mod/_toolkit/AccessibleListItem.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_toolkit/AccessibleListItem.java | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessibleListItem.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleListItem.java index ecbf43679ef8..97b2ce338ffb 100644 --- a/qadevOOo/tests/java/mod/_toolkit/AccessibleListItem.java +++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleListItem.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 @@ -91,7 +91,7 @@ public class AccessibleListItem extends TestCase { * Then the TREE component is found and the 'New Document' tab is * selected to make list box visible. After that listbox item is obtained. */ - protected TestEnvironment createTestEnvironment(TestParameters Param, + protected TestEnvironment createTestEnvironment(TestParameters Param, PrintWriter log) { XInterface oObj = null; XMultiServiceFactory msf = (XMultiServiceFactory) Param.getMSF(); @@ -109,13 +109,13 @@ public class AccessibleListItem extends TestCase { shortWait(); - XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class, + XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class, xTextDoc); XController secondController = aModel1.getCurrentController(); XDispatchProvider aProv = (XDispatchProvider) UnoRuntime.queryInterface( - XDispatchProvider.class, + XDispatchProvider.class, secondController); XURLTransformer urlTransf = null; @@ -146,7 +146,7 @@ public class AccessibleListItem extends TestCase { AccessibilityTools at = new AccessibilityTools(); - XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class, + XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class, tk.getActiveTopWindow()); XAccessible xRoot = at.getAccessibleObject(xWindow); @@ -154,7 +154,7 @@ public class AccessibleListItem extends TestCase { at.printAccessibleTree(log, xRoot, Param.getBool(util.PropertyName.DEBUG_IS_ACTIVE)); // obtaining 'Close' button - oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PUSH_BUTTON, + oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PUSH_BUTTON, "Close"); action = (XAccessibleAction) UnoRuntime.queryInterface( XAccessibleAction.class, oObj); @@ -164,7 +164,7 @@ public class AccessibleListItem extends TestCase { oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.TREE); XAccessibleSelection xAccSel = (XAccessibleSelection) UnoRuntime.queryInterface( - XAccessibleSelection.class, + XAccessibleSelection.class, oObj); xAccSel.selectAccessibleChild(3); shortWait(); @@ -172,21 +172,21 @@ public class AccessibleListItem extends TestCase { throw new StatusException("Can't switch to required tab", e); } - oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.LIST_ITEM,"Spr"); + oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.LIST_ITEM,"Spr"); log.println("ImplementationName " + utils.getImplName(oObj)); TestEnvironment tEnv = new TestEnvironment(oObj); - tEnv.addObjRelation("EditOnly", + tEnv.addObjRelation("EditOnly", "This method isn't supported in this component"); tEnv.addObjRelation("LimitedBounds", "yes"); final XAccessibleComponent acomp = (XAccessibleComponent) UnoRuntime.queryInterface( - XAccessibleComponent.class, + XAccessibleComponent.class, oObj); - tEnv.addObjRelation("EventProducer", + tEnv.addObjRelation("EventProducer", new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() { public void fireEvent() { acomp.grabFocus(); |