protected function KernelTestBase::setUp in Drupal 8
Same name in this branch
- 8 core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::setUp()
- 8 core/modules/simpletest/src/KernelTestBase.php \Drupal\simpletest\KernelTestBase::setUp()
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::setUp()
- 10 core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::setUp()
337 calls to KernelTestBase::setUp()
- AccessPermissionTest::setUp in core/modules/ user/ tests/ src/ Kernel/ Views/ AccessPermissionTest.php 
- AccessTest::setUp in core/modules/ file/ tests/ src/ Kernel/ AccessTest.php 
- ActionTest::setUp in core/modules/ system/ tests/ src/ Kernel/ Action/ ActionTest.php 
- AggregatorTitleTest::setUp in core/modules/ aggregator/ tests/ src/ Kernel/ AggregatorTitleTest.php 
- AliasTest::setUp in core/modules/ path_alias/ tests/ src/ Kernel/ AliasTest.php 
343 methods override KernelTestBase::setUp()
- AccessPermissionTest::setUp in core/modules/ user/ tests/ src/ Kernel/ Views/ AccessPermissionTest.php 
- AccessTest::setUp in core/modules/ file/ tests/ src/ Kernel/ AccessTest.php 
- ActionTest::setUp in core/modules/ system/ tests/ src/ Kernel/ Action/ ActionTest.php 
- AggregatorTitleTest::setUp in core/modules/ aggregator/ tests/ src/ Kernel/ AggregatorTitleTest.php 
- AliasTest::setUp in core/modules/ path_alias/ tests/ src/ Kernel/ AliasTest.php 
File
- core/tests/ Drupal/ KernelTests/ KernelTestBase.php, line 237 
Class
- KernelTestBase
- Base class for functional integration tests.
Namespace
Drupal\KernelTestsCode
protected function setUp() {
  parent::setUp();
  // Allow tests to compare MarkupInterface objects via assertEquals().
  $this
    ->registerComparator(new MarkupInterfaceComparator());
  $this->root = static::getDrupalRoot();
  $this
    ->initFileCache();
  $this
    ->bootEnvironment();
  $this
    ->bootKernel();
}