protected function ViewTestBase::dataSet in Drupal 9
Same name and namespace in other branches
- 8 core/modules/views/tests/src/Functional/ViewTestBase.php \Drupal\Tests\views\Functional\ViewTestBase::dataSet()
- 10 core/modules/views/tests/src/Functional/ViewTestBase.php \Drupal\Tests\views\Functional\ViewTestBase::dataSet()
Returns a very simple test dataset.
3 calls to ViewTestBase::dataSet()
- StyleTableTest::testNumericFieldVisible in core/
modules/ views/ tests/ src/ Functional/ Plugin/ StyleTableTest.php - Tests that a number with the value of "0" is displayed in the table.
- ViewsThemeIntegrationTest::testThemedViewPage in core/
modules/ views/ tests/ src/ Functional/ ViewsThemeIntegrationTest.php - Tests for exceptions and successful execution of hook_views_pre_render() and hook_views_post_render() in theme and subtheme.
- ViewTestBase::enableViewsTestModule in core/
modules/ views/ tests/ src/ Functional/ ViewTestBase.php - Sets up the views_test_data.module.
1 method overrides ViewTestBase::dataSet()
- CustomBooleanTest::dataSet in core/
modules/ views_ui/ tests/ src/ Functional/ CustomBooleanTest.php - Returns a very simple test dataset.
File
- core/
modules/ views/ tests/ src/ Functional/ ViewTestBase.php, line 150
Class
- ViewTestBase
- Defines a base class for Views testing in the full web test environment.
Namespace
Drupal\Tests\views\FunctionalCode
protected function dataSet() {
return ViewTestData::dataSet();
}