XMLDB/simpletest/test/autorun_test.php

13 lines
378 B
PHP
Raw Normal View History

<?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);
}
}
?>