summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-05-27 11:27:54 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-05-27 11:27:54 +0000
commit580bb0a1ceaf3727caac51fce6caf7a4c1ce458a (patch)
tree5562fed5012fc94b1f3084ca2de769a73e9ff5e4
parent8a65deb96f378f303ae31f4337cdf734b2eb622c (diff)
INTEGRATION: CWS qadev6 (1.1.8); FILE MERGED
2003/05/21 10:53:57 sg 1.1.8.1: #109819# prepare devide of runner
-rw-r--r--qadevOOo/tests/java/ifc/script/_XEventAttacherManager.java6
-rw-r--r--qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory.java11
-rw-r--r--qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory2.java11
3 files changed, 17 insertions, 11 deletions
diff --git a/qadevOOo/tests/java/ifc/script/_XEventAttacherManager.java b/qadevOOo/tests/java/ifc/script/_XEventAttacherManager.java
index 8b350a3a4065..1f5555d49837 100644
--- a/qadevOOo/tests/java/ifc/script/_XEventAttacherManager.java
+++ b/qadevOOo/tests/java/ifc/script/_XEventAttacherManager.java
@@ -2,9 +2,9 @@
*
* $RCSfile: _XEventAttacherManager.java,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change:$Date: 2003-01-27 18:11:28 $
+ * last change:$Date: 2003-05-27 12:27:36 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -316,7 +316,7 @@ public class _XEventAttacherManager extends MultiMethodTest {
requiredMethod("insertEntry()");
try {
- XMultiServiceFactory xMSF = tParam.getMSF();
+ XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF();
attachedObject = xMSF.createInstance
( "com.sun.star.reflection.TypeDescriptionProvider" );
} catch( com.sun.star.uno.Exception e ) {
diff --git a/qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory.java b/qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory.java
index 43ab97d736f9..b9dc872740a5 100644
--- a/qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory.java
+++ b/qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory.java
@@ -2,9 +2,9 @@
*
* $RCSfile: _XInvocationAdapterFactory.java,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change:$Date: 2003-01-27 18:11:27 $
+ * last change:$Date: 2003-05-27 12:27:46 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -62,6 +62,7 @@
package ifc.script;
import com.sun.star.io.XInputStream;
+import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.lang.XSingleServiceFactory;
import com.sun.star.script.XInvocation;
import com.sun.star.script.XInvocationAdapterFactory;
@@ -102,11 +103,13 @@ public class _XInvocationAdapterFactory extends MultiMethodTest {
*/
public void _createAdapter() {
XInvocation xInv = null ;
+ XMultiServiceFactory xMSF = null;
try {
- Object[] args = {tParam.getMSF().createInstance
+ xMSF = (XMultiServiceFactory)tParam.getMSF();
+ Object[] args = {xMSF.createInstance
("com.sun.star.io.Pipe")};
- Object oInvFac = tParam.getMSF().createInstance
+ Object oInvFac = xMSF.createInstance
("com.sun.star.script.Invocation") ;
XSingleServiceFactory xInvFac = (XSingleServiceFactory) UnoRuntime.
diff --git a/qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory2.java b/qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory2.java
index 30d825e09021..e7f302e93905 100644
--- a/qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory2.java
+++ b/qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory2.java
@@ -2,9 +2,9 @@
*
* $RCSfile: _XInvocationAdapterFactory2.java,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change:$Date: 2003-01-27 18:11:26 $
+ * last change:$Date: 2003-05-27 12:27:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -63,6 +63,7 @@ package ifc.script;
import com.sun.star.io.XInputStream;
import com.sun.star.lang.XSingleServiceFactory;
+import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.script.XInvocation;
import com.sun.star.script.XInvocationAdapterFactory2;
import com.sun.star.uno.Type;
@@ -102,11 +103,13 @@ public class _XInvocationAdapterFactory2 extends MultiMethodTest {
*/
public void _createAdapter() {
XInvocation xInv = null ;
+ XMultiServiceFactory xMSF = null;
try {
- Object[] args = {tParam.getMSF().createInstance
+ xMSF = (XMultiServiceFactory)tParam.getMSF();
+ Object[] args = {xMSF.createInstance
("com.sun.star.io.Pipe")};
- Object oInvFac = tParam.getMSF().createInstance
+ Object oInvFac = xMSF.createInstance
("com.sun.star.script.Invocation") ;
XSingleServiceFactory xInvFac = (XSingleServiceFactory) UnoRuntime.