Exemplo n.º 1
0
 /**
  * @test
  */
 public function getMaximumPathLengthReturnsCorrectValue()
 {
     $environment = new \TYPO3\FLOW3\Utility\Environment(new ApplicationContext('Testing'));
     $expectedValue = PHP_MAXPATHLEN;
     if ((int) $expectedValue <= 0) {
         $this->fail('The PHP Constant PHP_MAXPATHLEN is not available on your system! Please file a PHP bug report.');
     }
     $this->assertEquals($expectedValue, $environment->getMaximumPathLength());
 }