|
OOoRunner test harness | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
lib
Class TestParameters
java.lang.Object | +--java.util.Dictionary | +--java.util.Hashtable | +--lib.TestParameters
- All Implemented Interfaces:
- Cloneable, Map, Serializable
- public class TestParameters
- extends Hashtable
TestParameters describes a parameters (in a form of pairs: name, value) to be passed to tests and which may affect the test behaviour. That can be, for example, standard paths, connection strings, etc. The TestParameters also provides XMultiServiceFactory for the test (tests).
- See Also:
- Serialized Form
Inner classes inherited from class java.util.Map |
Map.Entry |
Field Summary | |
String |
AppExecutionCommand
The AppExecutionCmd contains the full qualified command to an Application to be started. |
Object |
AppProvider
The AppProvider contains the Application Provider to control the ServiceFactory. |
String |
ConnectionString
The ConnectionString for Office Connection default is 'socket,host=localhost,port=8100' |
boolean |
DebugIsActive
'true' is a debug information should be written, 'false' elsewhere these will be provided by the framework. Debug information will always be written on standard out. default is true |
String |
DescriptionPath
The Path to the component description |
boolean |
LoggingIsActive
'true' is a log should be written, 'false' elsewhere these will be provided by the testcases default is true |
String |
LogWriter
|
String |
OfficeProvider
The OfficeProvider contains the full qualified class that provides a connection to StarOffice default is helper.OfficeProvider |
String |
OutProducer
|
Object |
ProcessHandler
The Process contains the Process handler to control the Application. |
Object |
ServiceFactory
The ServiceFactory to create instances |
String |
TestBase
The Testbase to be executed by the runner default is 'java_fat' |
String |
TestDocumentPath
The Path to the test documents that are loaded during the test default will be the tmp dir |
Object |
TestJob
|
Integer |
TimeOut
|
Constructor Summary | |
TestParameters()
Constructor, defaults for Parameters are set. |
Method Summary | |
Object |
get(Object key)
Wraper around "get()" with some debug output |
boolean |
getBool(Object key)
Special get method for boolean values: for convenience. |
int |
getInt(Object key)
Special get method for integer values: for convenience. |
Object |
getMSF()
|
Object |
put(Object key,
Object val)
Wraper around "put()" |
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, hashCode, isEmpty, keys, keySet, putAll, rehash, remove, size, toString, values |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
ConnectionString
public String ConnectionString
- The ConnectionString for Office Connection
default is 'socket,host=localhost,port=8100'
AppProvider
public Object AppProvider
- The AppProvider contains the Application Provider
to control the ServiceFactory.
ProcessHandler
public Object ProcessHandler
- The Process contains the Process handler
to control the Application.
AppExecutionCommand
public String AppExecutionCommand
- The AppExecutionCmd contains the full qualified
command to an Application to be started.
OfficeProvider
public String OfficeProvider
- The OfficeProvider contains the full qualified
class that provides a connection to StarOffice
default is helper.OfficeProvider
TestBase
public String TestBase
- The Testbase to be executed by the runner
default is 'java_fat'
ServiceFactory
public Object ServiceFactory
- The ServiceFactory to create instances
DescriptionPath
public String DescriptionPath
- The Path to the component description
TestDocumentPath
public String TestDocumentPath
- The Path to the test documents that are loaded during the test
default will be the tmp dir
LoggingIsActive
public boolean LoggingIsActive
- 'true' is a log should be written, 'false' elsewhere
these will be provided by the testcases
default is true
DebugIsActive
public boolean DebugIsActive
- 'true' is a debug information should be written, 'false' elsewhere
these will be provided by the framework.
Debug information will always be written on standard out.
default is true
TestJob
public Object TestJob
LogWriter
public String LogWriter
OutProducer
public String OutProducer
TimeOut
public Integer TimeOut
Constructor Detail |
TestParameters
public TestParameters()
- Constructor, defaults for Parameters are set.
Method Detail |
get
public Object get(Object key)
- Wraper around "get()" with some debug output
- Parameters:
key
- A key of this table.- Returns:
- The value of this key.
- See Also:
Hashtable
getBool
public boolean getBool(Object key)
- Special get method for boolean values: for convenience.
Will return 'false' if the value is not of "Boolean" type.
- Parameters:
key
- A key of this table.- Returns:
- The value of this key, castet to a boolean type.
getInt
public int getInt(Object key)
- Special get method for integer values: for convenience.
Will return 0 if the value cannot be interpreted as Integer.
- Parameters:
key
- A key of this table.- Returns:
- The value of this key, castet to an int type.
put
public Object put(Object key, Object val)
- Wraper around "put()"
- Parameters:
key
- A key of this table.val
- The value of the key.- Returns:
- The value of this key.
- See Also:
Hashtable
getMSF
public Object getMSF()
- Returns:
- a XMultiServiceFactory to be used by a test (tests).
|
OOoRunner test harness | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |