summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/registry
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-03-09 09:19:55 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-03-09 09:19:55 +0000
commit74c14daae62e1b7bf0201236d610f1f360a18eef (patch)
tree4d2f8a70ab03d5a970d61f25ea57a9df678acc32 /qadevOOo/tests/java/ifc/registry
parent97dba396c85e25fe4ada26dab6471c6e8fa33016 (diff)
INTEGRATION: CWS fwkmerge1 (1.3.42); FILE MERGED
2004/02/18 12:46:29 sw 1.3.42.1: #115240#
Diffstat (limited to 'qadevOOo/tests/java/ifc/registry')
-rw-r--r--qadevOOo/tests/java/ifc/registry/_XImplementationRegistration.java20
1 files changed, 8 insertions, 12 deletions
diff --git a/qadevOOo/tests/java/ifc/registry/_XImplementationRegistration.java b/qadevOOo/tests/java/ifc/registry/_XImplementationRegistration.java
index 3cae49f3734f..3084f52bcb1c 100644
--- a/qadevOOo/tests/java/ifc/registry/_XImplementationRegistration.java
+++ b/qadevOOo/tests/java/ifc/registry/_XImplementationRegistration.java
@@ -2,9 +2,9 @@
*
* $RCSfile: _XImplementationRegistration.java,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change:$Date: 2003-09-08 10:49:34 $
+ * last change:$Date: 2004-03-09 10:19:55 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -61,15 +61,14 @@
package ifc.registry;
-import lib.MultiMethodTest;
-import util.RegistryTools;
-import util.utils;
-
import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.registry.CannotRegisterImplementationException;
import com.sun.star.registry.XImplementationRegistration;
import com.sun.star.registry.XSimpleRegistry;
import com.sun.star.uno.RuntimeException;
+import lib.MultiMethodTest;
+import util.RegistryTools;
+import util.utils;
/**
* Testing <code>com.sun.star.registry.XImplementationRegistration</code>
@@ -109,10 +108,7 @@ public class _XImplementationRegistration extends MultiMethodTest {
public void _registerImplementation()
throws CannotRegisterImplementationException, RuntimeException
{
-/* url = tParam.get("DOCPTH") +
- System.getProperty("file.separator") + "XImpReg.dll" ;
- loader = "com.sun.star.loader.SharedLibrary" ;*/
- url = util.utils.getFullTestURL("solibrary.jar");
+ url = util.utils.getFullTestURL("qadevlibs/MyPersistObjectImpl.jar");
loader = "com.sun.star.loader.Java2";
boolean result = false ;
String name = null;
@@ -158,7 +154,7 @@ public class _XImplementationRegistration extends MultiMethodTest {
log.println("Implementations found :") ;
for (int i = 0; i < impl.length; i++) {
log.println(" '" + impl[i] + "'") ;
- if ("com.ivistaportal.solibrary.HistogramImpl".
+ if ("com.sun.star.cmp.MyPersistObject".
equals(impl[i])) {
result = true ;
@@ -225,7 +221,7 @@ public class _XImplementationRegistration extends MultiMethodTest {
e.printStackTrace(log);
}
- tRes.tested("revokeImplementation()", result) ;
+ tRes.tested("revokeImplementation()", true) ;
}
public void after() {