function ViewTestBase::setUp
Same name in this branch
- 8.9.x core/modules/views/src/Tests/ViewTestBase.php \Drupal\views\Tests\ViewTestBase::setUp()
Same name in other branches
- 9 core/modules/views/tests/src/Functional/ViewTestBase.php \Drupal\Tests\views\Functional\ViewTestBase::setUp()
- 10 core/modules/views/tests/src/Functional/ViewTestBase.php \Drupal\Tests\views\Functional\ViewTestBase::setUp()
- 11.x core/modules/views/tests/src/Functional/ViewTestBase.php \Drupal\Tests\views\Functional\ViewTestBase::setUp()
Overrides BrowserTestBase::setUp
75 calls to ViewTestBase::setUp()
- AccessTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Plugin/ AccessTest.php - AreaTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Handler/ AreaTest.php - AreaTitleWebTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Handler/ AreaTitleWebTest.php - ArgumentDefaultTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Plugin/ ArgumentDefaultTest.php - BaseFieldAccessTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Entity/ BaseFieldAccessTest.php
75 methods override ViewTestBase::setUp()
- AccessTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Plugin/ AccessTest.php - AreaTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Handler/ AreaTest.php - AreaTitleWebTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Handler/ AreaTitleWebTest.php - ArgumentDefaultTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Plugin/ ArgumentDefaultTest.php - BaseFieldAccessTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Entity/ BaseFieldAccessTest.php
File
-
core/
modules/ views/ tests/ src/ Functional/ ViewTestBase.php, line 34
Class
- ViewTestBase
- Defines a base class for Views testing in the full web test environment.
Namespace
Drupal\Tests\views\FunctionalCode
protected function setUp($import_test_views = TRUE) {
parent::setUp();
if ($import_test_views) {
ViewTestData::createTestViews(get_class($this), [
'views_test_config',
]);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.