You are here

protected function ViewTestBase::dataSet in Drupal 8

Same name in this branch
  1. 8 core/modules/views/src/Tests/ViewTestBase.php \Drupal\views\Tests\ViewTestBase::dataSet()
  2. 8 core/modules/views/tests/src/Functional/ViewTestBase.php \Drupal\Tests\views\Functional\ViewTestBase::dataSet()
Same name and namespace in other branches
  1. 9 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
Returns a very simple test dataset.
StyleTableTest::testNumericFieldVisible in core/modules/views/tests/src/Functional/Plugin/StyleTableTest.php
Test 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 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();
}