Files
DomFramework/Tests/autoload.php.dist
Dominique Fournier 5c4f903987 * dblayeroo : add a new dblayer class. More OO, supports more options than dblayer
* fts : The Full Text Search module for dummies


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3459 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-03-27 07:42:18 +00:00

30 lines
1.3 KiB
Plaintext

<?php
/** Autoload */
spl_autoload_register(function ($class) {
@include $class . '.php';
});
define ("PHPUNIT", "ON-GOING");
file_put_contents ("Tests/dblayerooSqliteTest.php",
str_replace ("{ENGINE}", "sqlite",
file_get_contents ("Tests/dblayerooComplet.php")));
file_put_contents ("Tests/dblayerooMySQLTest.php",
str_replace ("{ENGINE}", "mysql",
file_get_contents ("Tests/dblayerooComplet.php")));
file_put_contents ("Tests/dblayerooPostgreSQLTest.php",
str_replace ("{ENGINE}", "pgsql",
file_get_contents ("Tests/dblayerooComplet.php")));
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