You are here

public function Util_TestTest::requirementsProvider in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/tests/Util/TestTest.php \Util_TestTest::requirementsProvider()

File

vendor/phpunit/phpunit/tests/Util/TestTest.php, line 133

Class

Util_TestTest
@since Class available since Release 3.3.6

Code

public function requirementsProvider() {
  return array(
    array(
      'testOne',
      array(),
    ),
    array(
      'testTwo',
      array(
        'PHPUnit' => '1.0',
      ),
    ),
    array(
      'testThree',
      array(
        'PHP' => '2.0',
      ),
    ),
    array(
      'testFour',
      array(
        'PHPUnit' => '2.0',
        'PHP' => '1.0',
      ),
    ),
    array(
      'testFive',
      array(
        'PHP' => '5.4.0RC6',
      ),
    ),
    array(
      'testSix',
      array(
        'PHP' => '5.4.0-alpha1',
      ),
    ),
    array(
      'testSeven',
      array(
        'PHP' => '5.4.0beta2',
      ),
    ),
    array(
      'testEight',
      array(
        'PHP' => '5.4-dev',
      ),
    ),
    array(
      'testNine',
      array(
        'functions' => array(
          'testFunc',
        ),
      ),
    ),
    array(
      'testTen',
      array(
        'extensions' => array(
          'testExt',
        ),
      ),
    ),
    array(
      'testEleven',
      array(
        'OS' => '/Linux/i',
      ),
    ),
    array(
      'testSpace',
      array(
        'extensions' => array(
          'spl',
        ),
        'OS' => '/.*/i',
      ),
    ),
    array(
      'testAllPossibleRequirements',
      array(
        'PHP' => '99-dev',
        'PHPUnit' => '9-dev',
        'OS' => '/DOESNOTEXIST/i',
        'functions' => array(
          'testFuncOne',
          'testFuncTwo',
        ),
        'extensions' => array(
          'testExtOne',
          'testExtTwo',
        ),
      ),
    ),
  );
}