Difference between revisions of "RunnerProps"
From Apache OpenOffice Wiki
(configuration file for UNO-API testing (checkapi)) |
m (we have >100 articles in category "Quality Assurance", and only 2 in category "QA" - which means we should move the two latter) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 8: | Line 8: | ||
== useful values == | == useful values == | ||
;<nowiki>jdbc.url=mysql://myServer:3306/testDB</nowiki>:used in database related tests | ;<nowiki>jdbc.url=mysql://myServer:3306/testDB</nowiki>:used in database related tests | ||
− | ;<nowiki>jdbc.user= | + | ;<nowiki>jdbc.user=myUser</nowiki>:used in database related tests |
− | ;<nowiki>jdbc.password= | + | ;<nowiki>jdbc.password=myPasswd</nowiki>:used in database related tests |
− | ;<nowiki>mysql.url=sdbc:mysql:jdbc</nowiki>:<nowiki> | + | ;<nowiki>mysql.url=sdbc:mysql:jdbc</nowiki>:<nowiki>myServer:3306/TestDB:used in database related tests</nowiki> |
;<nowiki>LoggingIsActive=true</nowiki>:enables the logging. This is usefull for debug purposes. This could also be done by command line parameter '''-log''' | ;<nowiki>LoggingIsActive=true</nowiki>:enables the logging. This is usefull for debug purposes. This could also be done by command line parameter '''-log''' | ||
;<nowiki>DebugIsActive=true</nowiki>:enhance some the logging. This is usefull for debug purposes. This could also be done by command line parameter '''-debug''' | ;<nowiki>DebugIsActive=true</nowiki>:enhance some the logging. This is usefull for debug purposes. This could also be done by command line parameter '''-debug''' | ||
;<nowiki>KeepDocument=true</nowiki>:keeps all documents open, which created while test run | ;<nowiki>KeepDocument=true</nowiki>:keeps all documents open, which created while test run | ||
Solaris/Linux: | Solaris/Linux: | ||
− | ;<nowiki>TestDocumentPath= | + | ;<nowiki>TestDocumentPath=$SRC_ROOT/qadeOOo/testdocs</nowiki>:some test uses predefined test documents. They are located here |
+ | ;<nowiki>DescriptionPath=$SRC_ROOT/qadeOOo/objdsc</nowiki>:the descriptions of the implementation objects | ||
Windows: | Windows: | ||
− | ;<nowiki>TestDocumentPath=\\\\ | + | ;<nowiki>TestDocumentPath=$SRC_ROOT\\qadevOOo\\testdocs</nowiki>: be aware with double back slash! |
− | The test documents are part of the '''qadevOOo''' project. | + | ;<nowiki>DescriptionPath=$SRC_ROOT\\qadeOOo\\objdsc</nowiki>: be aware with double back slash! |
+ | The test documents and the object descriptions are part of the '''qadevOOo''' project. | ||
+ | |||
---- | ---- | ||
Line 25: | Line 28: | ||
;<nowiki>ConnectionString=socket,host=myHost,port=8100</nowiki>:connection string to connect the office via port 8100 as host "myHost" | ;<nowiki>ConnectionString=socket,host=myHost,port=8100</nowiki>:connection string to connect the office via port 8100 as host "myHost" | ||
− | [[Category: | + | [[Category:Quality Assurance]] |
[[Category:UNO-API]] | [[Category:UNO-API]] |
Latest revision as of 06:41, 29 November 2007
The RunnerProps file is the configuration file for the UnoApiTests, especially for CheckAPI tool. It is located here:
${HOME}/.runner.props # Unix %USERPROFILE%\runner.props # Windows
To comment use the hash: #
useful values
- jdbc.url=mysql://myServer:3306/testDB
- used in database related tests
- jdbc.user=myUser
- used in database related tests
- jdbc.password=myPasswd
- used in database related tests
- mysql.url=sdbc:mysql:jdbc
- myServer:3306/TestDB:used in database related tests
- LoggingIsActive=true
- enables the logging. This is usefull for debug purposes. This could also be done by command line parameter -log
- DebugIsActive=true
- enhance some the logging. This is usefull for debug purposes. This could also be done by command line parameter -debug
- KeepDocument=true
- keeps all documents open, which created while test run
Solaris/Linux:
- TestDocumentPath=$SRC_ROOT/qadeOOo/testdocs
- some test uses predefined test documents. They are located here
- DescriptionPath=$SRC_ROOT/qadeOOo/objdsc
- the descriptions of the implementation objects
Windows:
- TestDocumentPath=$SRC_ROOT\\qadevOOo\\testdocs
- be aware with double back slash!
- DescriptionPath=$SRC_ROOT\\qadeOOo\\objdsc
- be aware with double back slash!
The test documents and the object descriptions are part of the qadevOOo project.
optional values
- ConnectionString=pipe,name=myFaforitePipeName
- connection string to connect the office via a pipe
- ConnectionString=socket,host=myHost,port=8100
- connection string to connect the office via port 8100 as host "myHost"