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
e33d9d74
Kaydet (Commit)
e33d9d74
authored
Ock 03, 2006
tarafından
Kurt Zenker
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS sb44 (1.2.8); FILE MERGED
2005/12/12 15:55:41 sb 1.2.8.1: #i51419# Added javanative-test.
üst
f4a9c1ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
20 deletions
+4
-20
JavaMain.java
ure/source/uretest/JavaMain.java
+4
-20
No files found.
ure/source/uretest/JavaMain.java
Dosyayı görüntüle @
e33d9d74
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
*
*
* $RCSfile: JavaMain.java,v $
* $RCSfile: JavaMain.java,v $
*
*
* $Revision: 1.
2
$
* $Revision: 1.
3
$
*
*
* last change: $Author:
rt $ $Date: 2005-09-09 10:12:37
$
* last change: $Author:
kz $ $Date: 2006-01-03 12:39:56
$
*
*
* The Contents of this file are made available subject to
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
* the terms of GNU Lesser General Public License Version 2.1.
...
@@ -41,10 +41,7 @@ import com.sun.star.lang.XMultiServiceFactory;
...
@@ -41,10 +41,7 @@ import com.sun.star.lang.XMultiServiceFactory;
import
com.sun.star.lang.XSingleServiceFactory
;
import
com.sun.star.lang.XSingleServiceFactory
;
import
com.sun.star.registry.XRegistryKey
;
import
com.sun.star.registry.XRegistryKey
;
import
com.sun.star.uno.XComponentContext
;
import
com.sun.star.uno.XComponentContext
;
import
test.types.CppTest
;
import
test.java.tester.Tester
;
import
test.types.JavaTest
;
import
test.types.TestException
;
import
test.types.XTest
;
public
final
class
JavaMain
implements
XMain
{
public
final
class
JavaMain
implements
XMain
{
public
JavaMain
(
XComponentContext
context
)
{
public
JavaMain
(
XComponentContext
context
)
{
...
@@ -52,8 +49,7 @@ public final class JavaMain implements XMain {
...
@@ -52,8 +49,7 @@ public final class JavaMain implements XMain {
}
}
public
int
run
(
String
[]
arguments
)
{
public
int
run
(
String
[]
arguments
)
{
test
(
CppTest
.
create
(
context
),
CppTest
.
class
.
getName
());
Tester
.
test
(
context
);
test
(
JavaTest
.
create
(
context
),
JavaTest
.
class
.
getName
());
return
0
;
return
0
;
}
}
...
@@ -74,18 +70,6 @@ public final class JavaMain implements XMain {
...
@@ -74,18 +70,6 @@ public final class JavaMain implements XMain {
}
}
}
}
private
static
final
void
test
(
XTest
test
,
String
name
)
{
boolean
ok
=
false
;
try
{
test
.
throwException
();
}
catch
(
TestException
e
)
{
ok
=
true
;
}
if
(!
ok
)
{
throw
new
RuntimeException
(
name
+
".throwException failed"
);
}
}
private
static
final
String
IMPLEMENTATION_NAME
private
static
final
String
IMPLEMENTATION_NAME
=
"test.java.javamain.Component"
;
=
"test.java.javamain.Component"
;
private
static
final
String
SERVICE_NAME
=
"test.dummy.JavaMain"
;
private
static
final
String
SERVICE_NAME
=
"test.dummy.JavaMain"
;
...
...
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