aboutsummaryrefslogtreecommitdiff
path: root/vendors/simpletest/test/autorun_test.php
blob: 76c919d6c600a7bba95bbd6104eb15c9ff867ddd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);
    }
}

?>