function ViewsKernelTestBase::dataSet

Same name and namespace in other branches
  1. 11.x core/modules/views/tests/src/Kernel/ViewsKernelTestBase.php \Drupal\Tests\views\Kernel\ViewsKernelTestBase::dataSet()
  2. 10 core/modules/views/tests/src/Kernel/ViewsKernelTestBase.php \Drupal\Tests\views\Kernel\ViewsKernelTestBase::dataSet()
  3. 8.9.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()
FieldBooleanTest::dataSet in core/modules/views/tests/src/Kernel/Handler/FieldBooleanTest.php
FieldDateTest::dataSet in core/modules/views/tests/src/Kernel/Handler/FieldDateTest.php
FieldFileSizeTest::dataSet in core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php
FilterBooleanOperatorStringTest::dataSet in core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorStringTest.php
FilterCombineTest::dataSet in core/modules/views/tests/src/Kernel/Handler/FilterCombineTest.php
Additional data to test the NULL issue.

... 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.