INTEGRATION: CWS qadev6 (1.1.8); FILE MERGED

2003/05/21 10:59:15 sg 1.1.8.1: #109819# prepare devide of runner
This commit is contained in:
Vladimir Glazounov
2003-05-27 13:05:34 +00:00
parent fe3f2a9697
commit deffdc083c
3 changed files with 13 additions and 10 deletions

View File

@@ -2,9 +2,9 @@
* *
* $RCSfile: UnoControlGroupBox.java,v $ * $RCSfile: UnoControlGroupBox.java,v $
* *
* $Revision: 1.1 $ * $Revision: 1.2 $
* *
* last change:$Date: 2003-01-27 18:19:16 $ * last change:$Date: 2003-05-27 14:05:15 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@@ -62,6 +62,7 @@
package mod._toolkit; package mod._toolkit;
import com.sun.star.awt.XControl; import com.sun.star.awt.XControl;
import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.awt.XControlModel; import com.sun.star.awt.XControlModel;
import com.sun.star.awt.XDevice; import com.sun.star.awt.XDevice;
import com.sun.star.awt.XGraphics; import com.sun.star.awt.XGraphics;
@@ -89,7 +90,7 @@ public class UnoControlGroupBox extends TestCase {
XTextDocument xTextDoc; XTextDocument xTextDoc;
protected void initialize ( TestParameters Param, PrintWriter log) { protected void initialize ( TestParameters Param, PrintWriter log) {
SOfficeFactory SOF = SOfficeFactory.getFactory( Param.getMSF() ); SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)Param.getMSF() );
try { try {
log.println( "creating a textdocument" ); log.println( "creating a textdocument" );

View File

@@ -2,9 +2,9 @@
* *
* $RCSfile: UnoControlGroupBoxModel.java,v $ * $RCSfile: UnoControlGroupBoxModel.java,v $
* *
* $Revision: 1.1 $ * $Revision: 1.2 $
* *
* last change:$Date: 2003-01-27 18:19:16 $ * last change:$Date: 2003-05-27 14:05:25 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@@ -62,6 +62,7 @@
package mod._toolkit; package mod._toolkit;
import com.sun.star.text.XTextDocument; import com.sun.star.text.XTextDocument;
import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.uno.XInterface; import com.sun.star.uno.XInterface;
import java.io.PrintWriter; import java.io.PrintWriter;
import lib.StatusException; import lib.StatusException;
@@ -81,7 +82,7 @@ public class UnoControlGroupBoxModel extends TestCase {
protected void initialize( TestParameters tParam, PrintWriter log ) { protected void initialize( TestParameters tParam, PrintWriter log ) {
log.println( "creating a textdocument" ); log.println( "creating a textdocument" );
xTextDoc = WriterTools.createTextDoc(tParam.getMSF()); xTextDoc = WriterTools.createTextDoc((XMultiServiceFactory)tParam.getMSF());
} }
/** /**
@@ -100,7 +101,7 @@ public class UnoControlGroupBoxModel extends TestCase {
XInterface oObj = null; XInterface oObj = null;
try { try {
oObj = (XInterface) Param.getMSF().createInstance( oObj = (XInterface) ((XMultiServiceFactory)Param.getMSF()).createInstance(
"com.sun.star.awt.UnoControlGroupBoxModel"); "com.sun.star.awt.UnoControlGroupBoxModel");
} catch (Exception e) { } catch (Exception e) {

View File

@@ -2,9 +2,9 @@
* *
* $RCSfile: UnoControlImageControl.java,v $ * $RCSfile: UnoControlImageControl.java,v $
* *
* $Revision: 1.1 $ * $Revision: 1.2 $
* *
* last change:$Date: 2003-01-27 18:19:15 $ * last change:$Date: 2003-05-27 14:05:34 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@@ -62,6 +62,7 @@
package mod._toolkit; package mod._toolkit;
import com.sun.star.awt.XControl; import com.sun.star.awt.XControl;
import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.awt.XControlModel; import com.sun.star.awt.XControlModel;
import com.sun.star.awt.XDevice; import com.sun.star.awt.XDevice;
import com.sun.star.awt.XGraphics; import com.sun.star.awt.XGraphics;
@@ -90,7 +91,7 @@ public class UnoControlImageControl extends TestCase {
XTextDocument xTextDoc; XTextDocument xTextDoc;
protected void initialize ( TestParameters Param, PrintWriter log) { protected void initialize ( TestParameters Param, PrintWriter log) {
SOfficeFactory SOF = SOfficeFactory.getFactory( Param.getMSF() ); SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)Param.getMSF() );
try { try {
log.println( "creating a textdocument" ); log.println( "creating a textdocument" );