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
e15807f4
Kaydet (Commit)
e15807f4
authored
Ara 22, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
java: nothing is passing in a "ComplexIni" parameter
Change-Id: Iae7530a52eda020f9074a6de0ef9e4b9779593f6
üst
04e26ca2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
19 deletions
+3
-19
java_complex.java
qadevOOo/runner/base/java_complex.java
+3
-19
No files found.
qadevOOo/runner/base/java_complex.java
Dosyayı görüntüle @
e15807f4
...
@@ -45,14 +45,6 @@ public class java_complex implements TestBase
...
@@ -45,14 +45,6 @@ public class java_complex implements TestBase
public
boolean
executeTest
(
TestParameters
param
)
public
boolean
executeTest
(
TestParameters
param
)
{
{
// is there an ini file for the complex tests defined?
String
complexIniFileName
=
((
String
)
param
.
get
(
"ComplexIni"
));
if
(
complexIniFileName
!=
null
)
{
CfgParser
ini
=
new
CfgParser
(
complexIniFileName
);
ini
.
getIniParameters
(
param
);
}
// get the test job
// get the test job
String
testJob
=
((
String
)
param
.
get
(
"TestJob"
));
String
testJob
=
((
String
)
param
.
get
(
"TestJob"
));
...
@@ -69,25 +61,17 @@ public class java_complex implements TestBase
...
@@ -69,25 +61,17 @@ public class java_complex implements TestBase
*/
*/
public
boolean
executeTest
(
TestParameters
param
,
DescEntry
[]
entries
)
public
boolean
executeTest
(
TestParameters
param
,
DescEntry
[]
entries
)
{
{
// is there an ini file for the complex tests defined?
String
complexIniFileName
=
((
String
)
param
.
get
(
"ComplexIni"
));
if
(
complexIniFileName
!=
null
)
{
CfgParser
ini
=
new
CfgParser
(
complexIniFileName
);
ini
.
getIniParameters
(
param
);
}
DynamicClassLoader
dcl
=
new
DynamicClassLoader
();
DynamicClassLoader
dcl
=
new
DynamicClassLoader
();
ComplexTestCase
testClass
=
null
;
ComplexTestCase
testClass
=
null
;
boolean
returnVal
=
true
;
boolean
returnVal
=
true
;
// the concept of the TimeOut depends on runner logs. If the runner log,
// the concept of the TimeOut depends on runner logs. If the runner log,
// for example to start a test method, the timeout was reset. This is not
// for example to start a test method, the timeout was reset. This is not
// while the test itself log something like "open docuent...".
// while the test itself log something like "open docu
m
ent...".
// An property of complex test could be that it have only one test method
// An property of complex test could be that it have only one test method
// which works for se
rveral minutes. Ih
this case the TimeOut get not trigger
// which works for se
veral minutes. In
this case the TimeOut get not trigger
// and the office was killed.
// and the office was killed.
// In complex tests just use "ThreadTimeOut" as timout.
// In complex tests just use "ThreadTimeOut" as tim
e
out.
for
(
int
i
=
0
;
i
<
entries
.
length
;
i
++)
for
(
int
i
=
0
;
i
<
entries
.
length
;
i
++)
{
{
...
...
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