function ViewsTestCase::assertNotIdenticalResultset

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

Inverse of ViewsTestCase::assertIdenticalResultset().

Parameters

view $view: An executed View.

array $expected_result: An expected result set.

array $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 ViewsTestCase::assertNotIdenticalResultset()
ViewsHandlerSortRandomTest::testRandomOrdering in tests/handlers/views_handler_sort_random.test
Tests random ordering of the result set.

File

tests/views_query.test, line 56

Class

ViewsTestCase

Code

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