lithium\tests\cases\storage\cache\adapter\FileTest::skip PHP Method

skip() public method

Skip the test if the default File adapter read/write path is not read/write-able.
public skip ( )
    public function skip()
    {
        $directory = new SplFileInfo(Libraries::get(true, 'resources') . "/tmp/cache/");
        $accessible = $directory->isDir() && $directory->isReadable() && $directory->isWritable();
        $message = 'The File cache adapter path does not have the proper permissions.';
        $this->skipIf(!$accessible, $message);
    }