Neos\Flow\Tests\Unit\Utility\EnvironmentTest::getMaximumPathLengthReturnsCorrectValue PHP 메소드

getMaximumPathLengthReturnsCorrectValue() 공개 메소드

    public function getMaximumPathLengthReturnsCorrectValue()
    {
        $environment = new 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());
    }