Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
74c14daa
Kaydet (Commit)
74c14daa
authored
Mar 09, 2004
tarafından
Jens-Heiner Rechtien
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS fwkmerge1 (1.3.42); FILE MERGED
2004/02/18 12:46:29 sw 1.3.42.1: #115240#
üst
97dba396
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
12 deletions
+8
-12
_XImplementationRegistration.java
...tests/java/ifc/registry/_XImplementationRegistration.java
+8
-12
No files found.
qadevOOo/tests/java/ifc/registry/_XImplementationRegistration.java
Dosyayı görüntüle @
74c14daa
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: _XImplementationRegistration.java,v $
* $RCSfile: _XImplementationRegistration.java,v $
*
*
* $Revision: 1.
3
$
* $Revision: 1.
4
$
*
*
* last change:$Date: 200
3-09-08 10:49:34
$
* last change:$Date: 200
4-03-09 10:19:55
$
*
*
* 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,15 +61,14 @@
...
@@ -61,15 +61,14 @@
package
ifc
.
registry
;
package
ifc
.
registry
;
import
lib.MultiMethodTest
;
import
util.RegistryTools
;
import
util.utils
;
import
com.sun.star.lang.XMultiServiceFactory
;
import
com.sun.star.lang.XMultiServiceFactory
;
import
com.sun.star.registry.CannotRegisterImplementationException
;
import
com.sun.star.registry.CannotRegisterImplementationException
;
import
com.sun.star.registry.XImplementationRegistration
;
import
com.sun.star.registry.XImplementationRegistration
;
import
com.sun.star.registry.XSimpleRegistry
;
import
com.sun.star.registry.XSimpleRegistry
;
import
com.sun.star.uno.RuntimeException
;
import
com.sun.star.uno.RuntimeException
;
import
lib.MultiMethodTest
;
import
util.RegistryTools
;
import
util.utils
;
/**
/**
* Testing <code>com.sun.star.registry.XImplementationRegistration</code>
* Testing <code>com.sun.star.registry.XImplementationRegistration</code>
...
@@ -109,10 +108,7 @@ public class _XImplementationRegistration extends MultiMethodTest {
...
@@ -109,10 +108,7 @@ public class _XImplementationRegistration extends MultiMethodTest {
public
void
_registerImplementation
()
public
void
_registerImplementation
()
throws
CannotRegisterImplementationException
,
RuntimeException
throws
CannotRegisterImplementationException
,
RuntimeException
{
{
/* url = tParam.get("DOCPTH") +
url
=
util
.
utils
.
getFullTestURL
(
"qadevlibs/MyPersistObjectImpl.jar"
);
System.getProperty("file.separator") + "XImpReg.dll" ;
loader = "com.sun.star.loader.SharedLibrary" ;*/
url
=
util
.
utils
.
getFullTestURL
(
"solibrary.jar"
);
loader
=
"com.sun.star.loader.Java2"
;
loader
=
"com.sun.star.loader.Java2"
;
boolean
result
=
false
;
boolean
result
=
false
;
String
name
=
null
;
String
name
=
null
;
...
@@ -158,7 +154,7 @@ public class _XImplementationRegistration extends MultiMethodTest {
...
@@ -158,7 +154,7 @@ public class _XImplementationRegistration extends MultiMethodTest {
log
.
println
(
"Implementations found :"
)
;
log
.
println
(
"Implementations found :"
)
;
for
(
int
i
=
0
;
i
<
impl
.
length
;
i
++)
{
for
(
int
i
=
0
;
i
<
impl
.
length
;
i
++)
{
log
.
println
(
" '"
+
impl
[
i
]
+
"'"
)
;
log
.
println
(
" '"
+
impl
[
i
]
+
"'"
)
;
if
(
"com.
ivistaportal.solibrary.HistogramImpl
"
.
if
(
"com.
sun.star.cmp.MyPersistObject
"
.
equals
(
impl
[
i
]))
{
equals
(
impl
[
i
]))
{
result
=
true
;
result
=
true
;
...
@@ -225,7 +221,7 @@ public class _XImplementationRegistration extends MultiMethodTest {
...
@@ -225,7 +221,7 @@ public class _XImplementationRegistration extends MultiMethodTest {
e
.
printStackTrace
(
log
);
e
.
printStackTrace
(
log
);
}
}
tRes
.
tested
(
"revokeImplementation()"
,
result
)
;
tRes
.
tested
(
"revokeImplementation()"
,
true
)
;
}
}
public
void
after
()
{
public
void
after
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment