You are here

public static function Framework_SuiteTest::suite in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/tests/Framework/SuiteTest.php \Framework_SuiteTest::suite()

File

vendor/phpunit/phpunit/tests/Framework/SuiteTest.php, line 37

Class

Framework_SuiteTest
@since Class available since Release 2.0.0 @covers PHPUnit_Framework_TestSuite

Code

public static function suite() {
  $suite = new PHPUnit_Framework_TestSuite();
  $suite
    ->addTest(new self('testAddTestSuite'));
  $suite
    ->addTest(new self('testInheritedTests'));
  $suite
    ->addTest(new self('testNoTestCases'));
  $suite
    ->addTest(new self('testNoTestCaseClass'));
  $suite
    ->addTest(new self('testNotExistingTestCase'));
  $suite
    ->addTest(new self('testNotPublicTestCase'));
  $suite
    ->addTest(new self('testNotVoidTestCase'));
  $suite
    ->addTest(new self('testOneTestCase'));
  $suite
    ->addTest(new self('testShadowedTests'));
  $suite
    ->addTest(new self('testBeforeClassAndAfterClassAnnotations'));
  $suite
    ->addTest(new self('testBeforeAnnotation'));
  $suite
    ->addTest(new self('testTestWithAnnotation'));
  $suite
    ->addTest(new self('testSkippedTestDataProvider'));
  $suite
    ->addTest(new self('testIncompleteTestDataProvider'));
  $suite
    ->addTest(new self('testRequirementsBeforeClassHook'));
  $suite
    ->addTest(new self('testDontSkipInheritedClass'));
  return $suite;
}