diff options
Diffstat (limited to 'qadevOOo/tests/java/ifc/ui')
10 files changed, 14 insertions, 0 deletions
diff --git a/qadevOOo/tests/java/ifc/ui/_XContextMenuInterception.java b/qadevOOo/tests/java/ifc/ui/_XContextMenuInterception.java index e9b41cb1819c..8399a9d25f09 100644 --- a/qadevOOo/tests/java/ifc/ui/_XContextMenuInterception.java +++ b/qadevOOo/tests/java/ifc/ui/_XContextMenuInterception.java @@ -53,6 +53,7 @@ public class _XContextMenuInterception extends MultiMethodTest { private XMultiServiceFactory xMSF = null; private Point point = null; + @Override public void before() { docModel = UnoRuntime.queryInterface( XModel.class,tEnv.getObjRelation("FirstModel")); @@ -70,6 +71,7 @@ public class _XContextMenuInterception extends MultiMethodTest { utils.shortWait(3000); } + @Override public void after() { if (xCI != null) { oObj.releaseContextMenuInterceptor(xCI); diff --git a/qadevOOo/tests/java/ifc/ui/_XModuleUIConfigurationManager.java b/qadevOOo/tests/java/ifc/ui/_XModuleUIConfigurationManager.java index aedb4571b7bc..ec3a14d6b219 100644 --- a/qadevOOo/tests/java/ifc/ui/_XModuleUIConfigurationManager.java +++ b/qadevOOo/tests/java/ifc/ui/_XModuleUIConfigurationManager.java @@ -27,6 +27,7 @@ public class _XModuleUIConfigurationManager extends MultiMethodTest { public XModuleUIConfigurationManager oObj = null; private String resourceUrl = null; + @Override public void before() { resourceUrl = (String)tEnv.getObjRelation("XModuleUIConfigurationManager.ResourceURL"); } diff --git a/qadevOOo/tests/java/ifc/ui/_XUIConfiguration.java b/qadevOOo/tests/java/ifc/ui/_XUIConfiguration.java index e4afe2dc8b0f..44682acf33ca 100644 --- a/qadevOOo/tests/java/ifc/ui/_XUIConfiguration.java +++ b/qadevOOo/tests/java/ifc/ui/_XUIConfiguration.java @@ -56,6 +56,7 @@ public class _XUIConfiguration extends MultiMethodTest { * try to get a listener out of the object relation * <CODE>XUIConfiguration.XUIConfigurationListenerImpl</CODE> */ + @Override public void before() { xListener = (XUIConfigurationListenerImpl)tEnv.getObjRelation( "XUIConfiguration.XUIConfigurationListenerImpl"); @@ -86,6 +87,7 @@ public class _XUIConfiguration extends MultiMethodTest { /** * Dispose because the UIConfigurationManager has to be recreated */ + @Override public void after() { disposeEnvironment(); } diff --git a/qadevOOo/tests/java/ifc/ui/_XUIConfigurationManager.java b/qadevOOo/tests/java/ifc/ui/_XUIConfigurationManager.java index dc20472b0a61..f57ccc97374e 100644 --- a/qadevOOo/tests/java/ifc/ui/_XUIConfigurationManager.java +++ b/qadevOOo/tests/java/ifc/ui/_XUIConfigurationManager.java @@ -47,6 +47,7 @@ public class _XUIConfigurationManager extends MultiMethodTest { * Some stuff before the tests: * extract the multi service factory. */ + @Override protected void before() { mxMSF = tParam.getMSF(); sShortCutManagerServiceName = (String)tEnv.getObjRelation("XConfigurationManager.ShortCutManager"); diff --git a/qadevOOo/tests/java/ifc/ui/_XUIConfigurationPersistence.java b/qadevOOo/tests/java/ifc/ui/_XUIConfigurationPersistence.java index fc905e79beba..a7a7b5c43699 100644 --- a/qadevOOo/tests/java/ifc/ui/_XUIConfigurationPersistence.java +++ b/qadevOOo/tests/java/ifc/ui/_XUIConfigurationPersistence.java @@ -27,6 +27,7 @@ public class _XUIConfigurationPersistence extends MultiMethodTest { public XUIConfigurationPersistence oObj; private XStorage xStore = null; + @Override public void before() { xStore = (XStorage)tEnv.getObjRelation("XUIConfigurationStorage.Storage"); } diff --git a/qadevOOo/tests/java/ifc/ui/_XUIConfigurationStorage.java b/qadevOOo/tests/java/ifc/ui/_XUIConfigurationStorage.java index 35d4e803c8fc..1e40a0577e95 100644 --- a/qadevOOo/tests/java/ifc/ui/_XUIConfigurationStorage.java +++ b/qadevOOo/tests/java/ifc/ui/_XUIConfigurationStorage.java @@ -37,6 +37,7 @@ public class _XUIConfigurationStorage extends MultiMethodTest { public XUIConfigurationStorage oObj; private XStorage xStore = null; + @Override public void before() { xStore = (XStorage)tEnv.getObjRelation("XUIConfigurationStorage.Storage"); } diff --git a/qadevOOo/tests/java/ifc/ui/dialogs/_XControlAccess.java b/qadevOOo/tests/java/ifc/ui/dialogs/_XControlAccess.java index 63ef27bab1ca..7d6bf621d2aa 100644 --- a/qadevOOo/tests/java/ifc/ui/dialogs/_XControlAccess.java +++ b/qadevOOo/tests/java/ifc/ui/dialogs/_XControlAccess.java @@ -56,6 +56,7 @@ public class _XControlAccess extends MultiMethodTest { * @throw StatusException if interface is not supported or * properties couldn't be get. */ + @Override protected void before() { xCI = UnoRuntime.queryInterface (XControlInformation.class, oObj); diff --git a/qadevOOo/tests/java/ifc/ui/dialogs/_XExecutableDialog.java b/qadevOOo/tests/java/ifc/ui/dialogs/_XExecutableDialog.java index 8729566d63a8..f4e573174f0f 100644 --- a/qadevOOo/tests/java/ifc/ui/dialogs/_XExecutableDialog.java +++ b/qadevOOo/tests/java/ifc/ui/dialogs/_XExecutableDialog.java @@ -104,6 +104,7 @@ public class _XExecutableDialog extends MultiMethodTest { this.Diag = Diag ; } + @Override public void run() { try { execRes = Diag.execute(); @@ -126,6 +127,7 @@ public class _XExecutableDialog extends MultiMethodTest { } } + @Override public void after() { if (eThread.isAlive()) { log.println("Thread didn't die ... cleaning up"); diff --git a/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePickerControlAccess.java b/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePickerControlAccess.java index 29d1589c546f..69776dedf646 100644 --- a/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePickerControlAccess.java +++ b/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePickerControlAccess.java @@ -61,6 +61,7 @@ public class _XFilePickerControlAccess extends MultiMethodTest { * Retrieves object relations. * @throws StatusException If one of relations not found. */ + @Override public void before() { Short ID = (Short) tEnv.getObjRelation ("XFilePickerControlAccess.ControlID") ; diff --git a/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePickerNotifier.java b/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePickerNotifier.java index 4b4c822a54a1..503baf630a4b 100644 --- a/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePickerNotifier.java +++ b/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePickerNotifier.java @@ -93,6 +93,7 @@ public class _XFilePickerNotifier extends MultiMethodTest { * @throw StatusException If object doesn't support <code>XFilePicker</code> * interface. */ + @Override public void before() { fps = UnoRuntime.queryInterface (XFilePicker.class, oObj) ; @@ -188,6 +189,7 @@ public class _XFilePickerNotifier extends MultiMethodTest { this.Diag = Diag ; } + @Override public void run() { try { execRes = Diag.execute(); |