You are here

protected function KernelTestBase::setUp in Zircon Profile 8

Same name in this branch
  1. 8 core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::setUp()
  2. 8 core/modules/simpletest/src/KernelTestBase.php \Drupal\simpletest\KernelTestBase::setUp()
Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::setUp()
16 calls to KernelTestBase::setUp()
AliasStorageTest::setUp in core/tests/Drupal/KernelTests/Core/Path/AliasStorageTest.php
CacheCollectorTest::setUp in core/tests/Drupal/KernelTests/Core/Cache/CacheCollectorTest.php
DbDumpCommandTest::setUp in core/modules/system/tests/src/Kernel/Scripts/DbDumpCommandTest.php
DefaultConfigTest::setUp in core/tests/Drupal/KernelTests/Config/DefaultConfigTest.php
EntityReferenceSelectionReferenceableTest::setUp in core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelectionReferenceableTest.php

... See full list

16 methods override KernelTestBase::setUp()
AliasStorageTest::setUp in core/tests/Drupal/KernelTests/Core/Path/AliasStorageTest.php
CacheCollectorTest::setUp in core/tests/Drupal/KernelTests/Core/Cache/CacheCollectorTest.php
DbDumpCommandTest::setUp in core/modules/system/tests/src/Kernel/Scripts/DbDumpCommandTest.php
DefaultConfigTest::setUp in core/tests/Drupal/KernelTests/Config/DefaultConfigTest.php
EntityReferenceSelectionReferenceableTest::setUp in core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelectionReferenceableTest.php

... See full list

File

core/tests/Drupal/KernelTests/KernelTestBase.php, line 216
Contains \Drupal\KernelTests\KernelTestBase.

Class

KernelTestBase
Base class for functional integration tests.

Namespace

Drupal\KernelTests

Code

protected function setUp() {
  parent::setUp();
  $this->root = static::getDrupalRoot();
  $this
    ->initFileCache();
  $this
    ->bootEnvironment();
  $this
    ->bootKernel();
}