diff options
Diffstat (limited to 'qadevOOo/tests/java/ifc/io')
9 files changed, 16 insertions, 0 deletions
diff --git a/qadevOOo/tests/java/ifc/io/_XActiveDataControl.java b/qadevOOo/tests/java/ifc/io/_XActiveDataControl.java index a13145edf334..33a2bd09b78e 100644 --- a/qadevOOo/tests/java/ifc/io/_XActiveDataControl.java +++ b/qadevOOo/tests/java/ifc/io/_XActiveDataControl.java @@ -232,6 +232,7 @@ public class _XActiveDataControl extends MultiMethodTest { /** * Disposes the test environment, since it is used. */ + @Override public void after() { this.disposeEnvironment(); } diff --git a/qadevOOo/tests/java/ifc/io/_XActiveDataSink.java b/qadevOOo/tests/java/ifc/io/_XActiveDataSink.java index 00d9cf64e37d..ec1dad459570 100644 --- a/qadevOOo/tests/java/ifc/io/_XActiveDataSink.java +++ b/qadevOOo/tests/java/ifc/io/_XActiveDataSink.java @@ -53,6 +53,7 @@ public class _XActiveDataSink extends MultiMethodTest { /** * Take the XInputStream from the environment for setting and getting */ + @Override public void before() { XInterface x = (XInterface)tEnv.getObjRelation("InputStream"); iStream = UnoRuntime.queryInterface @@ -94,6 +95,7 @@ public class _XActiveDataSink extends MultiMethodTest { tRes.tested("getInputStream()", getStream != oldStream) ; } + @Override public void after() { this.disposeEnvironment() ; } diff --git a/qadevOOo/tests/java/ifc/io/_XActiveDataSource.java b/qadevOOo/tests/java/ifc/io/_XActiveDataSource.java index a7092aa91ce2..5cd2dd3efa3d 100644 --- a/qadevOOo/tests/java/ifc/io/_XActiveDataSource.java +++ b/qadevOOo/tests/java/ifc/io/_XActiveDataSource.java @@ -53,6 +53,7 @@ public class _XActiveDataSource extends MultiMethodTest { /** * Take the XOutputStream from the environment for setting and getting. */ + @Override public void before() { XInterface x = (XInterface)tEnv.getObjRelation("OutputStream"); oStream = UnoRuntime.queryInterface @@ -88,6 +89,7 @@ public class _XActiveDataSource extends MultiMethodTest { /** * Forces object environment recreation. */ + @Override public void after() { this.disposeEnvironment() ; } diff --git a/qadevOOo/tests/java/ifc/io/_XConnectable.java b/qadevOOo/tests/java/ifc/io/_XConnectable.java index 8c8d061b9c7c..35742e8d4dee 100644 --- a/qadevOOo/tests/java/ifc/io/_XConnectable.java +++ b/qadevOOo/tests/java/ifc/io/_XConnectable.java @@ -51,6 +51,7 @@ public class _XConnectable extends MultiMethodTest { /** * Get another connectable object from object relations. */ + @Override public void before() { XInterface x = (XInterface)tEnv.getObjRelation("Connectable"); xConnect = UnoRuntime.queryInterface( @@ -116,6 +117,7 @@ public class _XConnectable extends MultiMethodTest { /** * Forces object environment recreation. */ + @Override public void after() { this.disposeEnvironment() ; } diff --git a/qadevOOo/tests/java/ifc/io/_XDataInputStream.java b/qadevOOo/tests/java/ifc/io/_XDataInputStream.java index 2671b4baf620..5a3321f541c7 100644 --- a/qadevOOo/tests/java/ifc/io/_XDataInputStream.java +++ b/qadevOOo/tests/java/ifc/io/_XDataInputStream.java @@ -76,6 +76,7 @@ public class _XDataInputStream extends MultiMethodTest { * data of different types and fills the appropriate variables. * @throws StatusException If one of relations not found. */ + @Override public void before(){ XInterface x = (XInterface)tEnv.getObjRelation("StreamWriter") ; @@ -396,6 +397,7 @@ public class _XDataInputStream extends MultiMethodTest { /** * Forces object environment recreation. */ + @Override public void after() { try { oStream.flush(); diff --git a/qadevOOo/tests/java/ifc/io/_XDataOutputStream.java b/qadevOOo/tests/java/ifc/io/_XDataOutputStream.java index 90d049cbd05f..51dcff41c2f0 100644 --- a/qadevOOo/tests/java/ifc/io/_XDataOutputStream.java +++ b/qadevOOo/tests/java/ifc/io/_XDataOutputStream.java @@ -56,6 +56,7 @@ public class _XDataOutputStream extends MultiMethodTest { * If relation or data of some type in stream not found then * tests of corresponding methods are skipped. */ + @Override public void before() throws RuntimeException { List<Object> data = (List<Object>) tEnv.getObjRelation("StreamData") ; @@ -253,6 +254,7 @@ public class _XDataOutputStream extends MultiMethodTest { /** * Forces object environment recreation. */ + @Override public void after() { this.disposeEnvironment() ; } diff --git a/qadevOOo/tests/java/ifc/io/_XInputStream.java b/qadevOOo/tests/java/ifc/io/_XInputStream.java index f60a3c5f43a1..9bfe93b337be 100644 --- a/qadevOOo/tests/java/ifc/io/_XInputStream.java +++ b/qadevOOo/tests/java/ifc/io/_XInputStream.java @@ -60,6 +60,7 @@ public class _XInputStream extends MultiMethodTest { * Before the test, the stream writer and the data are ecxtracted from * the object relations and the data is written to the stream. */ + @Override public void before() { XInterface x = (XInterface)tEnv.getObjRelation("StreamWriter"); oStream = UnoRuntime.queryInterface( @@ -77,6 +78,7 @@ public class _XInputStream extends MultiMethodTest { * After the test, the stream writer is closed and the * environment is disposed. */ + @Override public void after() { try { oStream.flush(); diff --git a/qadevOOo/tests/java/ifc/io/_XObjectInputStream.java b/qadevOOo/tests/java/ifc/io/_XObjectInputStream.java index 01235e3d39d8..197a97086629 100644 --- a/qadevOOo/tests/java/ifc/io/_XObjectInputStream.java +++ b/qadevOOo/tests/java/ifc/io/_XObjectInputStream.java @@ -158,6 +158,7 @@ public class _XObjectInputStream extends MultiMethodTest { /** * Forces object environment recreation. */ + @Override public void after() { this.disposeEnvironment() ; } diff --git a/qadevOOo/tests/java/ifc/io/_XOutputStream.java b/qadevOOo/tests/java/ifc/io/_XOutputStream.java index 8e53c67def0b..5a3b90e7726b 100644 --- a/qadevOOo/tests/java/ifc/io/_XOutputStream.java +++ b/qadevOOo/tests/java/ifc/io/_XOutputStream.java @@ -56,6 +56,7 @@ public class _XOutputStream extends MultiMethodTest { public void resetStreams(); } + @Override protected void before() { checker = (StreamChecker) tEnv.getObjRelation("XOutputStream.StreamChecker"); @@ -157,6 +158,7 @@ public class _XOutputStream extends MultiMethodTest { /** * Forces object environment recreation. */ + @Override public void after() { this.disposeEnvironment() ; } |