First version of tests for dblayer with support of 3 db engines. The tests files are generated from dblayerComplet
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1810 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -14,6 +14,16 @@ if (file_exists ("/tmp/database.db"))
|
||||
unlink ("/tmp/database.db");
|
||||
}
|
||||
|
||||
file_put_contents ("Tests/dblayerSqliteTest.php",
|
||||
str_replace ("{ENGINE}", "sqlite",
|
||||
file_get_contents ("Tests/dblayerComplet.php")));
|
||||
file_put_contents ("Tests/dblayerMySQLTest.php",
|
||||
str_replace ("{ENGINE}", "mysql",
|
||||
file_get_contents ("Tests/dblayerComplet.php")));
|
||||
file_put_contents ("Tests/dblayerPostgreSQLTest.php",
|
||||
str_replace ("{ENGINE}", "pgsql",
|
||||
file_get_contents ("Tests/dblayerComplet.php")));
|
||||
|
||||
require_once ("domframework/config.php");
|
||||
/** The class need to take care of configuration parameters */
|
||||
class configuration extends config
|
||||
|
||||
Reference in New Issue
Block a user