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
230dea5b
Kaydet (Commit)
230dea5b
authored
Mar 29, 2005
tarafından
Rüdiger Timm
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS qadev22 (1.10.8); FILE MERGED
2005/03/10 16:22:02 sw 1.10.8.1: i44711
üst
2aa55de4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
ComplexTestCase.java
qadevOOo/runner/complexlib/ComplexTestCase.java
+8
-7
No files found.
qadevOOo/runner/complexlib/ComplexTestCase.java
Dosyayı görüntüle @
230dea5b
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: ComplexTestCase.java,v $
* $RCSfile: ComplexTestCase.java,v $
*
*
* $Revision: 1.1
0
$
* $Revision: 1.1
1
$
*
*
* last change: $Date: 2005-0
2-02 13:55:31
$
* last change: $Date: 2005-0
3-29 11:52: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
...
@@ -61,6 +61,7 @@
...
@@ -61,6 +61,7 @@
package
complexlib
;
package
complexlib
;
import
java.lang.Class
;
import
java.lang.reflect.Method
;
import
java.lang.reflect.Method
;
import
share.DescEntry
;
import
share.DescEntry
;
import
lib.TestParameters
;
import
lib.TestParameters
;
...
@@ -112,8 +113,8 @@ public abstract class ComplexTestCase implements ComplexTest {
...
@@ -112,8 +113,8 @@ public abstract class ComplexTestCase implements ComplexTest {
// start with the before() method
// start with the before() method
boolean
beforeWorked
=
true
;
boolean
beforeWorked
=
true
;
try
{
try
{
Method
before
=
this
.
getClass
().
getMethod
(
"before"
,
n
ull
);
Method
before
=
this
.
getClass
().
getMethod
(
"before"
,
n
ew
Class
[]{}
);
before
.
invoke
(
this
,
n
ull
);
before
.
invoke
(
this
,
n
ew
Object
[]{}
);
}
}
catch
(
java
.
lang
.
NoSuchMethodException
e
)
{
catch
(
java
.
lang
.
NoSuchMethodException
e
)
{
// simply ignore
// simply ignore
...
@@ -153,7 +154,7 @@ public abstract class ComplexTestCase implements ComplexTest {
...
@@ -153,7 +154,7 @@ public abstract class ComplexTestCase implements ComplexTest {
Method
testMethod
=
null
;
Method
testMethod
=
null
;
try
{
try
{
testMethod
=
this
.
getClass
().
getMethod
(
testMethod
=
this
.
getClass
().
getMethod
(
subEntry
.
entryName
,
null
);
subEntry
.
entryName
,
new
Class
[]{}
);
MethodThread
th
=
new
MethodThread
(
testMethod
,
this
,
MethodThread
th
=
new
MethodThread
(
testMethod
,
this
,
(
java
.
io
.
PrintWriter
)
log
);
(
java
.
io
.
PrintWriter
)
log
);
log
.
println
(
"Starting "
+
testMethod
.
getName
());
log
.
println
(
"Starting "
+
testMethod
.
getName
());
...
@@ -235,8 +236,8 @@ public abstract class ComplexTestCase implements ComplexTest {
...
@@ -235,8 +236,8 @@ public abstract class ComplexTestCase implements ComplexTest {
if
(
beforeWorked
)
{
if
(
beforeWorked
)
{
// the after() method
// the after() method
try
{
try
{
Method
after
=
this
.
getClass
().
getMethod
(
"after"
,
null
);
Method
after
=
this
.
getClass
().
getMethod
(
"after"
,
new
Class
[]{}
);
after
.
invoke
(
this
,
n
ull
);
after
.
invoke
(
this
,
n
ew
Object
[]{}
);
}
}
catch
(
java
.
lang
.
NoSuchMethodException
e
)
{
catch
(
java
.
lang
.
NoSuchMethodException
e
)
{
// simply ignore
// simply ignore
...
...
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