You are here

protected function PhpStorageTestBase::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Component/PhpStorage/PhpStorageTestBase.php \Drupal\Tests\Component\PhpStorage\PhpStorageTestBase::setUp()

Overrides UnitTestCase::setUp

3 calls to PhpStorageTestBase::setUp()
FileStorageReadOnlyTest::setUp in core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php
FileStorageTest::setUp in core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php
MTimeProtectedFileStorageBase::setUp in core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageBase.php
3 methods override PhpStorageTestBase::setUp()
FileStorageReadOnlyTest::setUp in core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php
FileStorageTest::setUp in core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php
MTimeProtectedFileStorageBase::setUp in core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageBase.php

File

core/tests/Drupal/Tests/Component/PhpStorage/PhpStorageTestBase.php, line 29
Contains \Drupal\Tests\Component\PhpStorage\PhpStorageTestBase.

Class

PhpStorageTestBase
Base test for PHP storages.

Namespace

Drupal\Tests\Component\PhpStorage

Code

protected function setUp() {
  parent::setUp();
  vfsStream::setup('exampleDir');
  $this->directory = vfsStream::url('exampleDir');
}