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
1714027e
Kaydet (Commit)
1714027e
authored
Agu 11, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
clean up formatting
Change-Id: Ib81b58a6fbcd14a4902bd0650117c07f08088ad6
üst
59a68fe4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
34 deletions
+19
-34
TestParameters.java
qadevOOo/runner/lib/TestParameters.java
+19
-34
No files found.
qadevOOo/runner/lib/TestParameters.java
Dosyayı görüntüle @
1714027e
...
@@ -38,29 +38,25 @@ public class TestParameters extends HashMap<String,Object> {
...
@@ -38,29 +38,25 @@ public class TestParameters extends HashMap<String,Object> {
* The ConnectionString for Office Connection<br>
* The ConnectionString for Office Connection<br>
* default is 'socket,host=localhost,port=8100'
* default is 'socket,host=localhost,port=8100'
*/
*/
public
String
ConnectionString
=
"socket,host=localhost,port=8100"
;
public
String
ConnectionString
=
"socket,host=localhost,port=8100"
;
/**
/**
* The AppProvider contains the Application Provider<br>
* The AppProvider contains the Application Provider<br>
* to control the ServiceFactory.
* to control the ServiceFactory.
*/
*/
public
Object
AppProvider
=
null
;
public
Object
AppProvider
=
null
;
/**
/**
* The Process contains the Process handler<br>
* The Process contains the Process handler<br>
* to control the Application.
* to control the Application.
*/
*/
public
Object
ProcessHandler
=
null
;
public
Object
ProcessHandler
=
null
;
/**
/**
* The AppExecutionCmd contains the full qualified<br>
* The AppExecutionCmd contains the full qualified<br>
* command to an Application to be started.
* command to an Application to be started.
*/
*/
public
String
AppExecutionCommand
=
""
;
public
String
AppExecutionCommand
=
""
;
/**
/**
* If this parameter is <CODE>true</CODE> the <CODE>OfficeProvider</CODE> tries
* If this parameter is <CODE>true</CODE> the <CODE>OfficeProvider</CODE> tries
...
@@ -70,42 +66,36 @@ public class TestParameters extends HashMap<String,Object> {
...
@@ -70,42 +66,36 @@ public class TestParameters extends HashMap<String,Object> {
public
boolean
AutoRestart
=
false
;
public
boolean
AutoRestart
=
false
;
/**
/**
* Sho
e
rt wait time for the Office: default is 500 milliseconds
* Short wait time for the Office: default is 500 milliseconds
*/
*/
public
int
ShortWait
=
500
;
public
int
ShortWait
=
500
;
/**
/**
* The OfficeProvider contains the full qualified
* The OfficeProvider contains the full qualified
* class that provides a connection to StarOffice<br>
* class that provides a connection to StarOffice<br>
* default is helper.OfficeProvider
* default is helper.OfficeProvider
*/
*/
public
String
OfficeProvider
=
"helper.OfficeProvider"
;
public
String
OfficeProvider
=
"helper.OfficeProvider"
;
/**
/**
* The Testbase to be executed by the runner<br>
* The Testbase to be executed by the runner<br>
* default is 'java_fat'
* default is 'java_fat'
*/
*/
public
String
TestBase
=
"java_fat"
;
public
String
TestBase
=
"java_fat"
;
/**
/**
* The ServiceFactory to create instances
* The ServiceFactory to create instances
*/
*/
public
Object
ServiceFactory
;
public
Object
ServiceFactory
;
/**
/**
* The Path to the component description
* The Path to the component description
*/
*/
public
String
DescriptionPath
;
public
String
DescriptionPath
;
/**
/**
* The Path to the test documents that are loaded during the test <br>
* The Path to the test documents that are loaded during the test <br>
*/
*/
public
String
TestDocumentPath
=
"unknown"
;
public
String
TestDocumentPath
=
"unknown"
;
/**
/**
...
@@ -113,8 +103,7 @@ public class TestParameters extends HashMap<String,Object> {
...
@@ -113,8 +103,7 @@ public class TestParameters extends HashMap<String,Object> {
* these will be provided by the testcases<br>
* these will be provided by the testcases<br>
* default is true
* default is true
*/
*/
public
boolean
LoggingIsActive
=
true
;
public
boolean
LoggingIsActive
=
true
;
/**
/**
* 'true' is a debug information should be written, 'false' elsewhere
* 'true' is a debug information should be written, 'false' elsewhere
...
@@ -122,50 +111,46 @@ public class TestParameters extends HashMap<String,Object> {
...
@@ -122,50 +111,46 @@ public class TestParameters extends HashMap<String,Object> {
* Debug information will always be written on standard out.<br>
* Debug information will always be written on standard out.<br>
* default is true
* default is true
*/
*/
public
boolean
DebugIsActive
=
false
;
public
boolean
DebugIsActive
=
false
;
/**
* This parameter contains the test job to be executed<br>
/*
* This parameter contains the testjob to be executed<br>
* by the framework
* by the framework
*/
*/
public
Object
TestJob
;
public
Object
TestJob
;
/*
/*
*
* This parameter contains the class used<br>
* This parameter contains the class used<br>
* for Logging
* for Logging
*/
*/
public
String
LogWriter
=
"stats.SimpleLogWriter"
;
public
String
LogWriter
=
"stats.SimpleLogWriter"
;
/*
/*
*
* This parameter contains the class used<br>
* This parameter contains the class used<br>
* for Logging
* for Logging
*/
*/
public
String
OutProducer
=
"stats.SimpleOutProducer"
;
public
String
OutProducer
=
"stats.SimpleOutProducer"
;
/*
/*
*
* This parameter contains the timeout used<br>
* This parameter contains the timeout used<br>
* by the watcher
* by the watcher
*/
*/
public
Integer
TimeOut
=
new
Integer
(
3000000
);
public
Integer
TimeOut
=
new
Integer
(
3000000
);
/*
/*
*
* This parameter contains the timeout used<br>
* This parameter contains the timeout used<br>
* by the complex tests
* by the complex tests
*/
*/
public
Integer
ThreadTimeOut
=
new
Integer
(
3000000
);
public
Integer
ThreadTimeOut
=
new
Integer
(
3000000
);
/*
/*
*
* This parameter contains the time which the office could use to close for
* This parameter contains the time which the office could use to close for
* itself before its destroyed. Default is 15000 ms
* itself before it
i
s destroyed. Default is 15000 ms
*/
*/
public
Integer
OfficeCloseTimeOut
=
new
Integer
(
15000
);
public
Integer
OfficeCloseTimeOut
=
new
Integer
(
15000
);
/**
/**
* Wraper around "get()" with some debug output
* Wrap
p
er around "get()" with some debug output
* @param key A key of this table.
* @param key A key of this table.
* @return The value of this key.
* @return The value of this key.
* @see java.util.HashMap
* @see java.util.HashMap
...
@@ -184,7 +169,7 @@ public class TestParameters extends HashMap<String,Object> {
...
@@ -184,7 +169,7 @@ public class TestParameters extends HashMap<String,Object> {
* Special get method for boolean values: for convenience.
* Special get method for boolean values: for convenience.
* Will return 'false' if the value is not of "Boolean" type.
* Will return 'false' if the value is not of "Boolean" type.
* @param key A key of this table.
* @param key A key of this table.
* @return The value of this key, cast
et
to a boolean type.
* @return The value of this key, cast to a boolean type.
*/
*/
public
boolean
getBool
(
Object
key
)
{
public
boolean
getBool
(
Object
key
)
{
Object
val
=
super
.
get
(
key
);
Object
val
=
super
.
get
(
key
);
...
@@ -210,7 +195,7 @@ public class TestParameters extends HashMap<String,Object> {
...
@@ -210,7 +195,7 @@ public class TestParameters extends HashMap<String,Object> {
* Special get method for integer values: for convenience.
* Special get method for integer values: for convenience.
* Will return 0 if the value cannot be interpreted as Integer.
* Will return 0 if the value cannot be interpreted as Integer.
* @param key A key of this table.
* @param key A key of this table.
* @return The value of this key, cast
et
to an int type.
* @return The value of this key, cast to an int type.
*/
*/
public
int
getInt
(
Object
key
)
{
public
int
getInt
(
Object
key
)
{
Object
val
=
super
.
get
(
key
);
Object
val
=
super
.
get
(
key
);
...
...
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