protected function ViewUnitTestBase::dataSet

Returns a very simple test dataset.

17 calls to ViewUnitTestBase::dataSet()
BasicTest::testSimpleArgument in drupal/core/modules/views/lib/Drupal/views/Tests/BasicTest.php
Tests simple argument.
BasicTest::testSimpleResultSet in drupal/core/modules/views/lib/Drupal/views/Tests/BasicTest.php
Tests a trivial result set.
FieldBooleanTest::dataSet in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldBooleanTest.php
Returns a very simple test dataset.
FieldFileSizeTest::dataSet in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldFileSizeTest.php
Returns a very simple test dataset.
FieldUnitTest::testExclude in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldUnitTest.php
Tests the exclude setting.

... See full list

6 methods override ViewUnitTestBase::dataSet()
FieldBooleanTest::dataSet in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldBooleanTest.php
Returns a very simple test dataset.
FieldFileSizeTest::dataSet in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldFileSizeTest.php
Returns a very simple test dataset.
FilterCombineTest::dataSet in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FilterCombineTest.php
Additional data to test the NULL issue.
FilterStringTest::dataSet in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FilterStringTest.php
An extended test dataset.
LanguageTestBase::dataSet in drupal/core/modules/views/lib/Drupal/views/Tests/Language/LanguageTestBase.php
Overrides \Drupal\views\Tests\ViewTestBase::dataSet().

... See full list

File

drupal/core/modules/views/lib/Drupal/views/Tests/ViewUnitTestBase.php, line 211
Contains \Drupal\views\Tests\ViewUnitTestBase.

Class

ViewUnitTestBase
Defines a base class for Views unit testing.

Namespace

Drupal\views\Tests

Code

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