You are here

public function vfsStreamZipTestCase::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamZipTestCase.php \org\bovigo\vfs\vfsStreamZipTestCase::setUp()

set up test environment

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamZipTestCase.php, line 21

Class

vfsStreamZipTestCase
Test for org\bovigo\vfs\vfsStreamWrapper in conjunction with ext/zip.

Namespace

org\bovigo\vfs

Code

public function setUp() {
  if (extension_loaded('zip') === false) {
    $this
      ->markTestSkipped('No ext/zip installed, skipping test.');
  }
  $this
    ->markTestSkipped('Zip extension can not work with vfsStream urls.');
  vfsStreamWrapper::register();
  vfsStreamWrapper::setRoot(vfsStream::newDirectory('root'));
}