Neos\Flow\Cache\Tests\Unit\Backend\ApcBackendTest::setUp PHP Метод

setUp() публичный Метод

Sets up this testcase
public setUp ( ) : void
Результат void
    public function setUp()
    {
        $this->markTestSkipped('Disabling ALL apc tests for now as they are so unreliable');
        if (ini_get('apc.enabled') == 0 || ini_get('apc.enable_cli') == 0) {
            $this->markTestSkipped('APC is disabled (for CLI).');
        }
        if (ini_get('apc.slam_defense') == 1) {
            $this->markTestSkipped('This testcase can only be executed with apc.slam_defense = Off');
        }
    }