Kaydet (Commit) 1053f63d authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

INTEGRATION: CWS fwkmerge1 (1.4.42); FILE MERGED

2004/02/18 12:50:45 sw 1.4.42.1: #115240#
üst cfc63bce
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: CachedContentResultSetFactory.java,v $ * $RCSfile: CachedContentResultSetFactory.java,v $
* *
* $Revision: 1.4 $ * $Revision: 1.5 $
* *
* last change:$Date: 2003-09-08 11:35:11 $ * last change:$Date: 2004-03-09 10:20:30 $
* *
* 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
...@@ -61,13 +61,6 @@ ...@@ -61,13 +61,6 @@
package mod._cached; package mod._cached;
import java.io.PrintWriter;
import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
import com.sun.star.beans.Property; import com.sun.star.beans.Property;
import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.sdbc.XResultSet; import com.sun.star.sdbc.XResultSet;
...@@ -82,10 +75,15 @@ import com.sun.star.ucb.XContentIdentifier; ...@@ -82,10 +75,15 @@ import com.sun.star.ucb.XContentIdentifier;
import com.sun.star.ucb.XContentIdentifierFactory; import com.sun.star.ucb.XContentIdentifierFactory;
import com.sun.star.ucb.XContentProvider; import com.sun.star.ucb.XContentProvider;
import com.sun.star.ucb.XDynamicResultSet; import com.sun.star.ucb.XDynamicResultSet;
import com.sun.star.uno.AnyConverter;
import com.sun.star.uno.Type;
import com.sun.star.uno.UnoRuntime; import com.sun.star.uno.UnoRuntime;
import com.sun.star.uno.XInterface; import com.sun.star.uno.XInterface;
import com.sun.star.uno.Type;
import com.sun.star.uno.AnyConverter;
import java.io.PrintWriter;
import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
/** /**
* Test for object which is represented by service * Test for object which is represented by service
...@@ -94,12 +92,6 @@ import com.sun.star.uno.XInterface; ...@@ -94,12 +92,6 @@ import com.sun.star.uno.XInterface;
* <ul> * <ul>
* <li> <code>com::sun::star::ucb::XCachedContentResultSetFactory</code></li> * <li> <code>com::sun::star::ucb::XCachedContentResultSetFactory</code></li>
* </ul> <p> * </ul> <p>
* The following files used by this test :
* <ul>
* <li><b> solibrary.jar </b> : this file is used for <code>
* PackageContentProvider</code> from which a list of contents is
* retrieved. </li>
* </ul> <p>
* This object test <b> is NOT </b> designed to be run in several * This object test <b> is NOT </b> designed to be run in several
* threads concurently. * threads concurently.
* @see com.sun.star.ucb.XCachedContentResultSetFactory * @see com.sun.star.ucb.XCachedContentResultSetFactory
...@@ -133,6 +125,7 @@ public class CachedContentResultSetFactory extends TestCase { ...@@ -133,6 +125,7 @@ public class CachedContentResultSetFactory extends TestCase {
XInterface oObj = null; XInterface oObj = null;
Object oInterface = null; Object oInterface = null;
XMultiServiceFactory xMSF = (XMultiServiceFactory)Param.getMSF(); XMultiServiceFactory xMSF = (XMultiServiceFactory)Param.getMSF();
Object relationContainer = null ;
try { try {
...@@ -160,7 +153,7 @@ public class CachedContentResultSetFactory extends TestCase { ...@@ -160,7 +153,7 @@ public class CachedContentResultSetFactory extends TestCase {
XContentIdentifierFactory ciFac = (XContentIdentifierFactory) XContentIdentifierFactory ciFac = (XContentIdentifierFactory)
UnoRuntime.queryInterface(XContentIdentifierFactory.class, oUCB) ; UnoRuntime.queryInterface(XContentIdentifierFactory.class, oUCB) ;
String url = util.utils.getFullTestURL("solibrary.jar") ; String url = util.utils.getFullTestURL("SwXTextEmbeddedObject.sxw") ;
String escUrl = "" ; String escUrl = "" ;
// In base URL of a JAR file in content URL all directory // In base URL of a JAR file in content URL all directory
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment