executePrepareItemsByDelta example

$options = [
      'group_column' => 'value',
      'group_columns' => [],
      'table' => 'test_entity__integer',
    ] + $options;
    $handler->init($this->executable, $this->display, $options);

    $this->executable->row_index = 0;
    $this->executable->result = [0 => new ResultRow([])];

    $items = [3, 1, 4, 1, 5, 9];
    $this->assertEquals($expected_values$handler->executePrepareItemsByDelta($items));
  }

  /** * Provides test data for testPrepareItemsByDelta(). */
  public function providerTestPrepareItemsByDelta() {
    $data = [];

    // Let's display all values.     $data[] = [[][3, 1, 4, 1, 5, 9]];
    // Test just reversed deltas.
Home | Imprint | This part of the site doesn't use cookies.