Class SimpleFileLoader

Description

Helps to extract test cases automatically from a file.

Located in /test_case.php (line 378)


	
			
Method Summary
 TestSuite &createSuiteFromClasses (string $title, array $classes)
 TestSuite &load (string $test_file)
 array selectRunnableTests (array $candidates)
Methods
createSuiteFromClasses (line 464)

Builds a test suite from a class list.

  • return: Group loaded with the new test cases.
  • access: public
TestSuite &createSuiteFromClasses (string $title, array $classes)
  • string $title: Title of new group.
  • array $classes: Test classes.
load (line 388)

Builds a test suite from a library of test cases.

The new suite is composed into this one.

  • return: The new test suite.
  • access: public
TestSuite &load (string $test_file)
  • string $test_file: File name of library with test case classes.
selectRunnableTests (line 441)

Calculates the incoming test cases. Skips abstract and ignored classes.

  • return: New classes which are test cases that shouldn't be ignored.
  • access: public
array selectRunnableTests (array $candidates)
  • array $candidates: Candidate classes.

Documentation generated on Sun, 04 May 2008 09:22:18 -0500 by phpDocumentor 1.3.0