function ViewsKernelTestBase::dataSet

Same name in other branches
  1. 9 core/modules/views/tests/src/Kernel/ViewsKernelTestBase.php \Drupal\Tests\views\Kernel\ViewsKernelTestBase::dataSet()
  2. 8.9.x core/modules/views/tests/src/Kernel/ViewsKernelTestBase.php \Drupal\Tests\views\Kernel\ViewsKernelTestBase::dataSet()
  3. 11.x core/modules/views/tests/src/Kernel/ViewsKernelTestBase.php \Drupal\Tests\views\Kernel\ViewsKernelTestBase::dataSet()

Returns a very simple test dataset.

9 calls to ViewsKernelTestBase::dataSet()
BasicTest::testSimpleArgument in core/modules/views/tests/src/Kernel/BasicTest.php
Tests simple argument.
BasicTest::testSimpleResultSet in core/modules/views/tests/src/Kernel/BasicTest.php
Tests a trivial result set.
FieldKernelTest::testExclude in core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php
Tests the exclude setting.
FieldKernelTest::testQuery in core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php
Tests all things related to the query.
QueryTest::_testQueryExecute in core/modules/views/tests/src/Kernel/Plugin/QueryTest.php

... See full list

9 methods override ViewsKernelTestBase::dataSet()
FieldBooleanTest::dataSet in core/modules/views/tests/src/Kernel/Handler/FieldBooleanTest.php
Returns a very simple test dataset.
FieldDateTest::dataSet in core/modules/views/tests/src/Kernel/Handler/FieldDateTest.php
Returns a very simple test dataset.
FieldFileSizeTest::dataSet in core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php
Returns a very simple test dataset.
FieldTimeIntervalTest::dataSet in core/modules/views/tests/src/Kernel/Handler/FieldTimeIntervalTest.php
Returns a very simple test dataset.
FilterBooleanOperatorStringTest::dataSet in core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorStringTest.php
Returns a very simple test dataset.

... See full list

File

core/modules/views/tests/src/Kernel/ViewsKernelTestBase.php, line 149

Class

ViewsKernelTestBase
Defines a base class for Views kernel testing.

Namespace

Drupal\Tests\views\Kernel

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.