summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_svtools
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_svtools')
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBox.java2
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxHeaderBar.java80
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxHeaderCell.java8
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTable.java74
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTableCell.java2
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrl.java44
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrlEntry.java2
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleTabBar.java14
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleTabBarPage.java6
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleTabBarPageList.java18
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleTreeListBox.java2
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleTreeListBoxEntry.java36
12 files changed, 144 insertions, 144 deletions
diff --git a/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBox.java b/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBox.java
index 358819ee733d..f21ac75daaca 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBox.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBox.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
diff --git a/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxHeaderBar.java b/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxHeaderBar.java
index b953abde994e..e7efa1769be2 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxHeaderBar.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxHeaderBar.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
@@ -77,7 +77,7 @@ import com.sun.star.util.URL;
public class AccessibleBrowseBoxHeaderBar extends TestCase {
static XDesktop the_Desk;
static XTextDocument xTextDoc;
-
+
/**
* Creates the Desktop service (<code>com.sun.star.frame.Desktop</code>).
*/
@@ -86,19 +86,19 @@ public class AccessibleBrowseBoxHeaderBar 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) {
xTextDoc.dispose();
}
}
-
+
/**
* Creates a text document. Opens the DataSource browser.
* Creates an instance of the service <code>com.sun.star.awt.Toolkit</code>
@@ -122,14 +122,14 @@ public class AccessibleBrowseBoxHeaderBar extends TestCase {
protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
log.println("creating a test environment");
-
+
if (xTextDoc != null) {
xTextDoc.dispose();
}
-
+
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory) tParam.getMSF());
-
+
try {
log.println("creating a text document");
xTextDoc = SOF.createTextDoc(null);
@@ -138,93 +138,93 @@ public class AccessibleBrowseBoxHeaderBar extends TestCase {
e.printStackTrace(log);
throw new StatusException("Couldn't create document", e);
}
-
+
shortWait();
-
+
XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xTextDoc);
-
+
XController secondController = aModel1.getCurrentController();
-
+
XDispatchProvider aProv = (XDispatchProvider) UnoRuntime.queryInterface(
XDispatchProvider.class,
secondController);
-
+
XDispatch getting = null;
-
+
log.println("opening DatasourceBrowser");
-
+
URL the_url = new URL();
the_url.Complete = ".component:DB/DataSourceBrowser";
getting = aProv.queryDispatch(the_url, "_beamer", 12);
-
+
//am controller ein XSelectionSupplier->mit params rufen
PropertyValue[] noArgs = new PropertyValue[0];
getting.dispatch(the_url, noArgs);
-
+
PropertyValue[] params = new PropertyValue[3];
PropertyValue param1 = new PropertyValue();
param1.Name = "DataSourceName";
param1.Value = "Bibliography";
params[0] = param1;
-
+
PropertyValue param2 = new PropertyValue();
param2.Name = "CommandType";
param2.Value = new Integer(com.sun.star.sdb.CommandType.TABLE);
params[1] = param2;
-
+
PropertyValue param3 = new PropertyValue();
param3.Name = "Command";
param3.Value = "biblio";
params[2] = param3;
-
+
shortWait();
-
+
XFrame the_frame1 = the_Desk.getCurrentFrame();
-
+
if (the_frame1 == null) {
log.println("Current frame was not found !!!");
}
-
+
XFrame the_frame2 = the_frame1.findFrame("_beamer", 4);
-
+
the_frame2.setName("DatasourceBrowser");
-
+
XController xCont = the_frame2.getController();
-
+
XSelectionSupplier xSelect = (XSelectionSupplier) UnoRuntime.queryInterface(
XSelectionSupplier.class, xCont);
-
+
try {
xSelect.select(params);
} catch (com.sun.star.lang.IllegalArgumentException ex) {
throw new StatusException("Could not select Biblio-Database", ex);
}
-
+
XInterface oObj = null;
-
+
AccessibilityTools at = new AccessibilityTools();
-
+
XWindow xWindow = secondController.getFrame().getContainerWindow();
-
+
XAccessible xRoot = at.getAccessibleObject(xWindow);
-
+
oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.TABLE);
-
+
at.printAccessibleTree(log, xRoot, tParam.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
log.println("ImplementationName: " + util.utils.getImplName(oObj));
-
+
TestEnvironment tEnv = new TestEnvironment(oObj);
-
+
shortWait();
-
+
XAccessibleComponent accComp = (XAccessibleComponent) UnoRuntime.queryInterface(
XAccessibleComponent.class,
oObj);
final Point point = accComp.getLocationOnScreen();
-
+
shortWait();
-
+
tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
@@ -237,10 +237,10 @@ public class AccessibleBrowseBoxHeaderBar extends TestCase {
}
}
});
-
+
return tEnv;
}
-
+
/**
* Sleeps for 0.5 sec. to allow StarOffice to react on <code>
* reset</code> call.
diff --git a/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxHeaderCell.java b/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxHeaderCell.java
index 2e7cb013e2ee..a59cf21fd863 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxHeaderCell.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxHeaderCell.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
@@ -191,10 +191,10 @@ public class AccessibleBrowseBoxHeaderCell extends TestCase {
params[2] = param3;
XController xCont = the_frame2.getController();
-
+
XSelectionSupplier xSelect = (XSelectionSupplier) UnoRuntime.queryInterface(
XSelectionSupplier.class, xCont);
-
+
try {
xSelect.select(params);
} catch (com.sun.star.lang.IllegalArgumentException ex) {
@@ -208,7 +208,7 @@ public class AccessibleBrowseBoxHeaderCell extends TestCase {
XAccessible xRoot = at.getAccessibleObject(xWindow);
at.printAccessibleTree(log, xRoot, tParam.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
-
+
oObj = at.getAccessibleObjectForRole(xRoot,
AccessibleRole.ROW_HEADER);
diff --git a/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTable.java b/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTable.java
index 6842fd6da8e2..8ee05967bd5d 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTable.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTable.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
@@ -73,7 +73,7 @@ import com.sun.star.util.URL;
public class AccessibleBrowseBoxTable extends TestCase {
static XDesktop the_Desk;
static XTextDocument xTextDoc;
-
+
/**
* Creates the Desktop service (<code>com.sun.star.frame.Desktop</code>).
*/
@@ -82,19 +82,19 @@ public class AccessibleBrowseBoxTable 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) {
xTextDoc.dispose();
}
}
-
+
/**
* Creates a text document. Opens the DataSource browser.
* Creates an instance of the service
@@ -121,15 +121,15 @@ public class AccessibleBrowseBoxTable extends TestCase {
protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
log.println("creating a test environment");
-
+
if (xTextDoc != null) {
xTextDoc.dispose();
}
-
+
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory(
(XMultiServiceFactory)tParam.getMSF());
-
+
try {
log.println("creating a text document");
xTextDoc = SOF.createTextDoc(null);
@@ -138,79 +138,79 @@ public class AccessibleBrowseBoxTable extends TestCase {
e.printStackTrace(log);
throw new StatusException("Couldn't create document", e);
}
-
+
shortWait();
-
+
XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xTextDoc);
-
+
XController secondController = aModel1.getCurrentController();
-
+
XDispatchProvider aProv = (XDispatchProvider)UnoRuntime.queryInterface(
XDispatchProvider.class,
secondController);
-
+
XDispatch getting = null;
-
+
log.println("opening DatasourceBrowser");
-
+
URL the_url = new URL();
the_url.Complete = ".component:DB/DataSourceBrowser";
getting = aProv.queryDispatch(the_url, "_beamer", 12);
-
+
PropertyValue[] noArgs = new PropertyValue[0];
getting.dispatch(the_url, noArgs);
-
+
shortWait();
-
+
XFrame the_frame1 = the_Desk.getCurrentFrame();
-
+
if (the_frame1 == null) {
log.println("Current frame was not found !!!");
}
-
+
XFrame the_frame2 = the_frame1.findFrame("_beamer", 4);
XController xCont = the_frame2.getController();
-
+
the_frame2.setName("DatasourceBrowser");
-
+
final PropertyValue[] params = new PropertyValue[3];
PropertyValue param1 = new PropertyValue();
param1.Name = "DataSourceName";
param1.Value = "Bibliography";
params[0] = param1;
-
+
PropertyValue param2 = new PropertyValue();
param2.Name = "CommandType";
param2.Value = new Integer(com.sun.star.sdb.CommandType.TABLE);
params[1] = param2;
-
+
PropertyValue param3 = new PropertyValue();
param3.Name = "Command";
param3.Value = "biblio";
params[2] = param3;
-
+
final XSelectionSupplier xSelect = (XSelectionSupplier) UnoRuntime.queryInterface(
XSelectionSupplier.class, xCont);
-
-
+
+
final Object[] initArgs = params;
-
+
XInterface oObj = null;
-
+
AccessibilityTools at = new AccessibilityTools();
-
+
XWindow xWindow = secondController.getFrame().getContainerWindow();
-
+
XAccessible xRoot = at.getAccessibleObject(xWindow);
-
+
oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.TABLE,
"Table");
-
+
log.println("ImplementationName: " + util.utils.getImplName(oObj));
-
+
TestEnvironment tEnv = new TestEnvironment(oObj);
-
+
tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
@@ -220,10 +220,10 @@ public class AccessibleBrowseBoxTable extends TestCase {
}
}
});
-
+
return tEnv;
}
-
+
/**
* Sleeps for 0.5 sec. to allow StarOffice to react on <code>
* reset</code> call.
diff --git a/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTableCell.java b/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTableCell.java
index 973f0bf9c324..549ef0a91b9b 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTableCell.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTableCell.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
diff --git a/qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrl.java b/qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrl.java
index 73d3a3bf8aff..09a5824c2a6d 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrl.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrl.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
@@ -89,7 +89,7 @@ public class AccessibleIconChoiceCtrl extends TestCase {
* Creates the Desktop service (<code>com.sun.star.frame.Desktop</code>).
*/
protected void initialize(TestParameters Param, PrintWriter log) {
- the_Desk = (XDesktop) UnoRuntime.queryInterface(XDesktop.class,
+ the_Desk = (XDesktop) UnoRuntime.queryInterface(XDesktop.class,
DesktopTools.createDesktop(
(XMultiServiceFactory) Param.getMSF()));
}
@@ -139,7 +139,7 @@ public class AccessibleIconChoiceCtrl extends TestCase {
* @see ifc.accessibility._XAccessibleEventBroadcaster
* @see com.sun.star.accessibility.XAccessibleEventBroadcaster
*/
- protected TestEnvironment createTestEnvironment(TestParameters tParam,
+ protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
log.println("creating a test environment");
@@ -161,13 +161,13 @@ public class AccessibleIconChoiceCtrl 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;
@@ -214,15 +214,15 @@ public class AccessibleIconChoiceCtrl extends TestCase {
shortWait();
- XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
tk.getActiveTopWindow());
XAccessible xRoot = at.getAccessibleObject(xWindow);
oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.TREE);
- XAccessibleContext closeButton = at.getAccessibleObjectForRole(xRoot,
- AccessibleRole.PUSH_BUTTON,
+ XAccessibleContext closeButton = at.getAccessibleObjectForRole(xRoot,
+ AccessibleRole.PUSH_BUTTON,
"Close");
accCloseButton = (XAccessibleAction) UnoRuntime.queryInterface(
@@ -231,35 +231,35 @@ public class AccessibleIconChoiceCtrl extends TestCase {
log.println("ImplementationName: " + util.utils.getImplName(oObj));
TestEnvironment tEnv = new TestEnvironment(oObj);
- tEnv.addObjRelation("XAccessibleSelection.multiSelection",
+ tEnv.addObjRelation("XAccessibleSelection.multiSelection",
new Boolean(false));
- tEnv.addObjRelation("XAccessibleSelection.OneAlwaysSelected",
+ tEnv.addObjRelation("XAccessibleSelection.OneAlwaysSelected",
new Boolean(true));
String[] expectedStateNames = new String[] {
- "com.sun.star.accessibility.AccessibleStateType.ENABLED",
- "com.sun.star.accessibility.AccessibleStateType.FOCUSABLE",
- "com.sun.star.accessibility.AccessibleStateType.SHOWING",
- "com.sun.star.accessibility.AccessibleStateType.VISIBLE",
- "com.sun.star.accessibility.AccessibleStateType.MANAGES_DESCENDANTS",
+ "com.sun.star.accessibility.AccessibleStateType.ENABLED",
+ "com.sun.star.accessibility.AccessibleStateType.FOCUSABLE",
+ "com.sun.star.accessibility.AccessibleStateType.SHOWING",
+ "com.sun.star.accessibility.AccessibleStateType.VISIBLE",
+ "com.sun.star.accessibility.AccessibleStateType.MANAGES_DESCENDANTS",
};
short[] expectedStates = new short[] {
- com.sun.star.accessibility.AccessibleStateType.ENABLED,
- com.sun.star.accessibility.AccessibleStateType.FOCUSABLE,
- com.sun.star.accessibility.AccessibleStateType.SHOWING,
- com.sun.star.accessibility.AccessibleStateType.VISIBLE,
- com.sun.star.accessibility.AccessibleStateType.MANAGES_DESCENDANTS,
+ com.sun.star.accessibility.AccessibleStateType.ENABLED,
+ com.sun.star.accessibility.AccessibleStateType.FOCUSABLE,
+ com.sun.star.accessibility.AccessibleStateType.SHOWING,
+ com.sun.star.accessibility.AccessibleStateType.VISIBLE,
+ com.sun.star.accessibility.AccessibleStateType.MANAGES_DESCENDANTS,
};
tEnv.addObjRelation("expectedStateNames", expectedStateNames);
tEnv.addObjRelation("expectedStates", expectedStates);
final XAccessibleSelection selection = (XAccessibleSelection) (XAccessibleSelection) UnoRuntime.queryInterface(
- XAccessibleSelection.class,
+ XAccessibleSelection.class,
oObj);
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
try {
diff --git a/qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrlEntry.java b/qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrlEntry.java
index 28ccb9859faf..c27c9eb7209f 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrlEntry.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrlEntry.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
diff --git a/qadevOOo/tests/java/mod/_svtools/AccessibleTabBar.java b/qadevOOo/tests/java/mod/_svtools/AccessibleTabBar.java
index c646aa1eaf25..a6a95185967d 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleTabBar.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleTabBar.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
@@ -80,7 +80,7 @@ public class AccessibleTabBar extends TestCase {
* @see ifc.accessibility._XAccessibleEventBroadcaster
* @see com.sun.star.accessibility.XAccessibleEventBroadcaster
*/
- protected TestEnvironment createTestEnvironment(TestParameters tParam,
+ protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
log.println("creating a test environment");
@@ -95,7 +95,7 @@ public class AccessibleTabBar extends TestCase {
try {
log.println("creating a calc document");
- xDoc = (XComponent) UnoRuntime.queryInterface(XComponent.class,
+ xDoc = (XComponent) UnoRuntime.queryInterface(XComponent.class,
SOF.createCalcDoc(
null));
} catch (com.sun.star.uno.Exception e) {
@@ -118,14 +118,14 @@ public class AccessibleTabBar extends TestCase {
XAccessible xRoot = at.getAccessibleObject(xWindow);
at.printAccessibleTree(log, xRoot, tParam.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PANEL);
-
+
log.println("ImplementationName: " + util.utils.getImplName(oObj));
TestEnvironment tEnv = new TestEnvironment(oObj);
-
+
final XWindow aWin = xWindow;
-
- tEnv.addObjRelation("EventProducer",
+
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
aWin.setPosSize(100,100, 500, 500, PosSize.POSSIZE);
diff --git a/qadevOOo/tests/java/mod/_svtools/AccessibleTabBarPage.java b/qadevOOo/tests/java/mod/_svtools/AccessibleTabBarPage.java
index 1e1b571881c2..791c27189f2e 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleTabBarPage.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleTabBarPage.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
@@ -152,11 +152,11 @@ public class AccessibleTabBarPage extends TestCase {
UnoRuntime.queryInterface(XWindow.class,tk.getActiveTopWindow());
XAccessible xRoot = at.getAccessibleObject(xWindow);
- at.printAccessibleTree(log, xRoot, tParam.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
+ at.printAccessibleTree(log, xRoot, tParam.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PAGE_TAB, "Sheet1");
XAccessibleContext acc = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PAGE_TAB, "Sheet2");
XAccessibleComponent accComp = (XAccessibleComponent) UnoRuntime.queryInterface(
- XAccessibleComponent.class,
+ XAccessibleComponent.class,
acc);
final Point point = accComp.getLocationOnScreen();
log.println("ImplementationName: " + util.utils.getImplName(oObj));
diff --git a/qadevOOo/tests/java/mod/_svtools/AccessibleTabBarPageList.java b/qadevOOo/tests/java/mod/_svtools/AccessibleTabBarPageList.java
index 1d367d97bc95..6f66b0c9f66a 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleTabBarPageList.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleTabBarPageList.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
@@ -108,7 +108,7 @@ public class AccessibleTabBarPageList extends TestCase {
* @see ifc.accessibility._XAccessibleEventBroadcaster
* @see com.sun.star.accessibility.XAccessibleEventBroadcaster
*/
- protected TestEnvironment createTestEnvironment(TestParameters tParam,
+ protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
log.println("creating a test environment");
@@ -148,31 +148,31 @@ public class AccessibleTabBarPageList extends TestCase {
shortWait();
- XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
tk.getActiveTopWindow());
XAccessible xRoot = at.getAccessibleObject(xWindow);
- oObj = at.getAccessibleObjectForRole(xRoot,
+ oObj = at.getAccessibleObjectForRole(xRoot,
AccessibleRole.PAGE_TAB_LIST);
log.println("ImplementationName: " + util.utils.getImplName(oObj));
TestEnvironment tEnv = new TestEnvironment(oObj);
- tEnv.addObjRelation("XAccessibleSelection.multiSelection",
+ tEnv.addObjRelation("XAccessibleSelection.multiSelection",
new Boolean(false));
- tEnv.addObjRelation("XAccessibleSelection.OneAlwaysSelected",
+ tEnv.addObjRelation("XAccessibleSelection.OneAlwaysSelected",
new Boolean(true));
XLayerSupplier oLS = (XLayerSupplier)
UnoRuntime.queryInterface(XLayerSupplier.class, xDoc);
XInterface oLM = oLS.getLayerManager();
final XLayerManager xLM = (XLayerManager) UnoRuntime.queryInterface(XLayerManager.class, oLM);
-
-
- tEnv.addObjRelation("EventProducer",
+
+
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
xLM.insertNewByIndex(0);
diff --git a/qadevOOo/tests/java/mod/_svtools/AccessibleTreeListBox.java b/qadevOOo/tests/java/mod/_svtools/AccessibleTreeListBox.java
index 6134bd1a3aef..e393b2c57a2c 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleTreeListBox.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleTreeListBox.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
diff --git a/qadevOOo/tests/java/mod/_svtools/AccessibleTreeListBoxEntry.java b/qadevOOo/tests/java/mod/_svtools/AccessibleTreeListBoxEntry.java
index c4ee3562d720..47554e907752 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleTreeListBoxEntry.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleTreeListBoxEntry.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
@@ -94,7 +94,7 @@ public class AccessibleTreeListBoxEntry extends TestCase {
* Creates the Desktop service (<code>com.sun.star.frame.Desktop</code>).
*/
protected void initialize(TestParameters Param, PrintWriter log) {
- the_Desk = (XDesktop) UnoRuntime.queryInterface(XDesktop.class,
+ the_Desk = (XDesktop) UnoRuntime.queryInterface(XDesktop.class,
DesktopTools.createDesktop(
(XMultiServiceFactory) Param.getMSF()));
}
@@ -143,7 +143,7 @@ public class AccessibleTreeListBoxEntry extends TestCase {
* @see com.sun.star.accessibility.XAccessibleSelection
* @see com.sun.star.accessibility.XAccessibleText
*/
- protected TestEnvironment createTestEnvironment(TestParameters tParam,
+ protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
log.println("creating a test environment");
@@ -165,13 +165,13 @@ public class AccessibleTreeListBoxEntry 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);
XDispatch getting = null;
@@ -200,7 +200,7 @@ public class AccessibleTreeListBoxEntry extends TestCase {
XInterface oObj = null;
XInitialization xInit = (XInitialization) UnoRuntime.queryInterface(
- XInitialization.class,
+ XInitialization.class,
the_frame2.getController());
PropertyValue[] params = new PropertyValue[3];
@@ -218,12 +218,12 @@ public class AccessibleTreeListBoxEntry extends TestCase {
param3.Name = "Command";
param3.Value = "select * from biblio";
params[2] = param3;
-
+
XController xCont = the_frame2.getController();
-
+
XSelectionSupplier xSelect = (XSelectionSupplier) UnoRuntime.queryInterface(
XSelectionSupplier.class, xCont);
-
+
try {
xSelect.select(params);
} catch (com.sun.star.lang.IllegalArgumentException ex) {
@@ -232,35 +232,35 @@ public class AccessibleTreeListBoxEntry extends TestCase {
shortWait();
- AccessibilityTools at = new AccessibilityTools();
+ AccessibilityTools at = new AccessibilityTools();
XWindow xWindow = secondController.getFrame().getContainerWindow();
XAccessible xRoot = at.getAccessibleObject(xWindow);
-
+
at.printAccessibleTree(log, xRoot, tParam.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
-
- oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.LABEL,
+
+ oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.LABEL,
"Bibliography");
-
+
log.println("ImplementationName: " + util.utils.getImplName(oObj));
TestEnvironment tEnv = new TestEnvironment(oObj);
- tEnv.addObjRelation("EditOnly",
+ tEnv.addObjRelation("EditOnly",
"This method isn't supported in this component");
-
+
//adding ObjectRelation for XAccessibleText
tEnv.addObjRelation("LimitedBounds", "true");
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
}
});
- tEnv.addObjRelation("XAccessibleSelection.multiSelection",
+ tEnv.addObjRelation("XAccessibleSelection.multiSelection",
new Boolean(false));
tEnv.addObjRelation("XAccessibleText.Text", "Bibliography");