Public Member Functions | |
| & | load ($test_file) |
| selectRunnableTests ($candidates) | |
| & | createSuiteFromClasses ($title, $classes) |
Definition at line 318 of file test_case.php.
| & SimpleFileLoader::load | ( | $ | test_file | ) |
Builds a test suite from a library of test cases. The new suite is composed into this one.
| string | $test_file File name of library with test case classes. |
Definition at line 328 of file test_case.php.
References createSuiteFromClasses(), and selectRunnableTests().
| SimpleFileLoader::selectRunnableTests | ( | $ | candidates | ) |
Calculates the incoming test cases. Skips abstract and ignored classes.
| array | $candidates Candidate classes. |
Definition at line 345 of file test_case.php.
References TestSuite::getBaseTestCase(), and SimpleTest::ignore().
Referenced by load().
| & SimpleFileLoader::createSuiteFromClasses | ( | $ | title, | |
| $ | classes | |||
| ) |
Builds a test suite from a class list.
| string | $title Title of new group. | |
| array | $classes Test classes. |
Definition at line 367 of file test_case.php.
References $title, SimpleTest::ignoreParentsIfIgnored(), and SimpleTest::isIgnored().
Referenced by load().