function ViewTestBase::dataSet

Same name in other branches
  1. 9 core/modules/views/tests/src/Functional/ViewTestBase.php \Drupal\Tests\views\Functional\ViewTestBase::dataSet()
  2. 8.9.x core/modules/views/src/Tests/ViewTestBase.php \Drupal\views\Tests\ViewTestBase::dataSet()
  3. 8.9.x core/modules/views/tests/src/Functional/ViewTestBase.php \Drupal\Tests\views\Functional\ViewTestBase::dataSet()
  4. 10 core/modules/views/tests/src/Functional/ViewTestBase.php \Drupal\Tests\views\Functional\ViewTestBase::dataSet()

Returns a very simple test dataset.

4 calls to ViewTestBase::dataSet()
CustomBooleanTest::dataSet in core/modules/views_ui/tests/src/Functional/CustomBooleanTest.php
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 pre_render and post_render hooks in a theme and sub-theme.
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

File

core/modules/views/tests/src/Functional/ViewTestBase.php, line 157

Class

ViewTestBase
Defines a base class for Views testing in the full web test environment.

Namespace

Drupal\Tests\views\Functional

Code

protected function dataSet() {
    return ViewTestData::dataSet();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.