Current File : //opt/RZphp5/includes/test/MDB_QueryTool/tests/simpletest_tests/index.php |
<?php
$dbtypes = array(
'mysql' => 'Mysql',
'pgsql' => 'PostgreSQL',
'ibase' => 'Firebird/Interbase',
);
$tests = array(
'all_tests.php' => '<b>All tests</b>',
'mdb_querytool_tests_get.php' => '<b>All get*() tests</b>',
'mdb_querytool_tests_usage.php' => '<b>All usage tests</b>',
'mdb_querytool_testGet.php' => 'testGet',
'mdb_querytool_testGetAll.php' => 'testGetAll',
'mdb_querytool_testGetCount.php' => 'testGetCount',
'mdb_querytool_testGetQueryString.php' => 'testGetQueryString',
'mdb_querytool_testHaving.php' => 'testHaving',
'mdb_querytool_testLimit.php' => 'testLimit',
'mdb_querytool_testWhere.php' => 'testWhere',
'mdb_querytool_testResult.php' => 'testResult',
);
?>
<h1>MDB_QueryTool tests</h1>
<ul>
<?php
foreach ($dbtypes as $dbtype => $dbname) {
echo '<li><h2>'.$dbname.'</h2><ul>';
foreach ($tests as $testfile => $testname) {
echo '<li><a href="'.$testfile.'?type='.$dbtype.'">'.$testname.'</a></li>';
}
echo '</ul></li>';
}
?>
</ul>