You are here

protected function PhpStorageTestBase::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Component/PhpStorage/PhpStorageTestBase.php \Drupal\Tests\Component\PhpStorage\PhpStorageTestBase::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 25

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');
}