You are here

protected function ViewTestBase::dataSet in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Tests/ViewTestBase.php \Drupal\views\Tests\ViewTestBase::dataSet()

Returns a very simple test dataset.

4 calls to ViewTestBase::dataSet()
CustomBooleanTest::dataSet in core/modules/views_ui/src/Tests/CustomBooleanTest.php
Returns a very simple test dataset.
StyleTableTest::testNumericFieldVisible in core/modules/views/src/Tests/Plugin/StyleTableTest.php
Test that a number with the value of "0" is displayed in the table.
ViewsThemeIntegrationTest::testThemedViewPage in core/modules/views/src/Tests/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/src/Tests/ViewTestBase.php
Sets up the views_test_data.module.
1 method overrides ViewTestBase::dataSet()
CustomBooleanTest::dataSet in core/modules/views_ui/src/Tests/CustomBooleanTest.php
Returns a very simple test dataset.

File

core/modules/views/src/Tests/ViewTestBase.php, line 150
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();
}