[fdo][FDO119][Modified] Prepare GenericRdbms unit tests for open source.

Romica Dascalescu romica.dascalescu at autodesk.com
Tue Aug 8 12:22:53 EDT 2006


You can view the artifact detail at the following URL:

    https://fdo.osgeo.org/servlets/Scarab/id/FDO119

Type:
Task

Artifact ID:
FDO119 (Prepare GenericRdbms unit tests for open source.)

Modified by:
Romica Dascalescu
romicadascalescu (romica.dascalescu at autodesk.com)

The following modifications were made to this artifact:
---------------------------------------------------------------------

-- Description set to new value:
Old value:
Prepare GenericRdbms (MySql and Odbc) unit tests for open source.
New value:
Prepare GenericRdbms (MySql and Odbc) unit tests for open source.

Each unit test is looking after a default configuration file, as following:
 - MySql by default looks for MySqlCfg.txt
 - Odbc by default looks for OdbcCfg.txt

If you want to provide a different configuration file (with a different name, 
e.g. MyOdbcCfg.txt) you can set the environment variable "configfile" 
with the name of the file before running the test, or you can provide the file 
name as parameter e.g. "UnitTestMySql.exe configfile=MyOdbcCfg.txt"

You will need to modify in a configuration file some of the settings as follows:
 - For MySql
service=<service name>;
username=<user name>;
password=<user password>;
clean=<true/false - if all generated files will be erased at the end of test>;

 - For Odbc - it has multiple groups of parameters depending of which ODBC units 
you want to run: 

serviceOracle=<Oracle service name used>;
usernameOracle=<Oracle user name>;
passwordOracle=<Oracle user password>;
DSNOracle=<Oracle DSN ODBC name>;
ODBC Oracle tests name is OdbcOracleTests

serviceMySql=<MySql service name used>;
usernameMySql=<MySql user name>;
passwordMySql=<MySql user password>;
DSNMySql=<MySql DSN ODBC name>;
ODBC MySql tests name is OdbcMySqlTests

serviceSqlServer=<SqlServer service name used>;
usernameSqlServer=<SqlServer user name>;
passwordSqlServer=<SqlServer user password>;
DSNSqlServer=<SqlServer DSN ODBC name>;
ODBC SqlServer tests name is OdbcSqlServerTests

DSNAccess=<SqlServer DSN ODBC name>;
ODBC Access tests name is OdbcAccessTests

DSNExcel=<SqlServer DSN ODBC name>;
ODBC Excel tests name is OdbcExcelTests

DSNText=<SqlServer DSN ODBC name>;
ODBC Text tests name is OdbcTextTests

clean=<true/false - if all generated files will be erased at the end of test>;

Note: all parameters are optional, if a parameter is missing then the hard-coded 
value will be used.




---------------------------------------------------------------------
This message was automatically generated by Project Tracker.








More information about the Fdo_issues mailing list