More SQL command (drop table, drop database)
delete, select & insert upgraded More utility function (node to array, arrayToNode) XMLDB special move command PHP Unit Test
This commit is contained in:
13
simpletest/test/autorun_test.php
Normal file
13
simpletest/test/autorun_test.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
require_once(dirname(__FILE__) . '/../autorun.php');
|
||||
require_once(dirname(__FILE__) . '/support/test1.php');
|
||||
|
||||
class LoadIfIncludedTestCase extends UnitTestCase {
|
||||
function test_load_if_included() {
|
||||
$tests = new GroupTest();
|
||||
$tests->addFile(dirname(__FILE__) . '/support/test1.php');
|
||||
$this->assertEqual($tests->getSize(), 1);
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user