Difference between revisions of "RunnerProps"
From Apache OpenOffice Wiki
(configuration file for UNO-API testing (checkapi)) |
m (→useful values) |
||
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''' |
Revision as of 13:23, 16 October 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=/net/myServer/qadeOOo/testdocs
- some test uses predefined test documents. They are located here
Windows:
- TestDocumentPath=\\\\myServer\\qadevOOo\\testdocs
- be aware with double back slash!
The test documents 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"