Change the databases to be unique by test file git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2670 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
20 lines
718 B
Plaintext
20 lines
718 B
Plaintext
<?php
|
|
/** Autoload */
|
|
spl_autoload_register(function ($class) {
|
|
@include $class . '.php';
|
|
});
|
|
|
|
define ("PHPUNIT", "ON-GOING");
|
|
|
|
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")));
|
|
|
|
// vim: syntax=on filetype=php
|