You are here

function ViewsHandlerFileExtensionTest::dataSet in Views (for Drupal 7) 7.3

A very simple test dataset.

Overrides ViewsSqlTest::dataSet

File

tests/handlers/views_handler_field_file_extension.test, line 20
Definition of ViewsHandlerFileExtensionTest.

Class

ViewsHandlerFileExtensionTest
Tests the views_handler_field_file_extension handler.

Code

function dataSet() {
  $data = parent::dataSet();
  $data[0]['name'] = 'file.png';
  $data[1]['name'] = 'file.tar';
  $data[2]['name'] = 'file.tar.gz';
  $data[3]['name'] = 'file';
  return $data;
}