protected function ViewsTestCase::assertNotIdenticalResultset in Views (for Drupal 7) 7.3
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 55 - Abstract class for views testing.
Class
Code
protected function assertNotIdenticalResultset($view, $expected_result, $column_map = array(), $message = 'Identical result set') {
return $this
->assertIdenticalResultsetHelper($view, $expected_result, $column_map, $message, 'assertNotIdentical');
}