summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_brdgfctr/BridgeFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_brdgfctr/BridgeFactory.java')
-rw-r--r--qadevOOo/tests/java/mod/_brdgfctr/BridgeFactory.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/qadevOOo/tests/java/mod/_brdgfctr/BridgeFactory.java b/qadevOOo/tests/java/mod/_brdgfctr/BridgeFactory.java
index 9e7f903703bb..4bd3f68ca44a 100644
--- a/qadevOOo/tests/java/mod/_brdgfctr/BridgeFactory.java
+++ b/qadevOOo/tests/java/mod/_brdgfctr/BridgeFactory.java
@@ -42,12 +42,14 @@ public class BridgeFactory extends TestCase {
* Retrieves host name where StarOffice is started from test
* parameter <code>'CNCSTR'</code>.
*/
+ @Override
protected void initialize( TestParameters tParam, PrintWriter log ) {
String cncstr = (String) tParam.get("CNCSTR") ;
int idx = cncstr.indexOf("host=") + 5 ;
sOfficeHost = cncstr.substring(idx, cncstr.indexOf(",", idx)) ;
}
+ @Override
protected void cleanup( TestParameters tParam, PrintWriter log ) {
}
@@ -64,6 +66,7 @@ public class BridgeFactory extends TestCase {
* Just creates <code>com.sun.star.bridge.BridgeFactory</code>
* service as object to be tested.
*/
+ @Override
public synchronized TestEnvironment createTestEnvironment(
TestParameters Param, PrintWriter log ) throws StatusException {
@@ -99,6 +102,7 @@ public class BridgeFactory extends TestCase {
/**
* Just clears flag which indicates that port is free now.
*/
+ @Override
public synchronized void disposeTestEnvironment( TestEnvironment tEnv,
TestParameters tParam) {
curPort = ((Integer)tEnv.getObjRelation("Connector.Port")).intValue() ;