You are here

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

A very simple test dataset.

Overrides ViewsSqlTest::dataSet

File

tests/handlers/views_handler_field_file_size.test, line 22
Definition of ViewsHandlerTestFileSize.

Class

ViewsHandlerTestFileSize
Tests the core views_handler_field_file_size handler.

Code

function dataSet() {
  $data = parent::dataSet();
  $data[0]['age'] = 0;
  $data[1]['age'] = 10;
  $data[2]['age'] = 1000;
  $data[3]['age'] = 10000;
  return $data;
}