protected function ViewTestBase::dataSet

Returns a very simple test dataset.

2 calls to ViewTestBase::dataSet()
CustomBooleanTest::dataSet in drupal/core/modules/views_ui/lib/Drupal/views_ui/Tests/CustomBooleanTest.php
Overrides \Drupal\views\Tests\ViewTestBase::dataSet().
ViewTestBase::enableViewsTestModule in drupal/core/modules/views/lib/Drupal/views/Tests/ViewTestBase.php
Sets up the views_test_data.module.
1 method overrides ViewTestBase::dataSet()
CustomBooleanTest::dataSet in drupal/core/modules/views_ui/lib/Drupal/views_ui/Tests/CustomBooleanTest.php
Overrides \Drupal\views\Tests\ViewTestBase::dataSet().

File

drupal/core/modules/views/lib/Drupal/views/Tests/ViewTestBase.php, line 288
Contains \Drupal\views\Tests\ViewTestBase.

Class

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

Namespace

Drupal\views\Tests

Code

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