You are here

protected function ViewTestBase::assertNotIdenticalResultset in Views (for Drupal 7) 8.3

Helper function: verify a result set returned by view..

Inverse of ViewsTestCase::assertIdenticalResultset().

Parameters

$view: An executed View.

$expected_result: An expected result set.

$column_map: An associative array mapping the columns of the result set from the view (as keys) and the expected result set (as values).

1 call to ViewTestBase::assertNotIdenticalResultset()
SortRandomTest::testRandomOrdering in lib/Drupal/views/Tests/Handler/SortRandomTest.php
Tests random ordering of the result set.

File

lib/Drupal/views/Tests/ViewTestBase.php, line 103
Definition of Drupal\views\Tests\ViewTestBase.

Class

ViewTestBase
Abstract class for views testing.

Namespace

Drupal\views\Tests

Code

protected function assertNotIdenticalResultset($view, $expected_result, $column_map = array(), $message = 'Identical result set') {
  return $this
    ->assertIdenticalResultsetHelper($view, $expected_result, $column_map, $message, 'assertNotIdentical');
}