You are here

protected function ViewsTestCase::executeView in Views (for Drupal 7) 7.3

Execute a view with debugging.

Parameters

view $view:

array $args:

87 calls to ViewsTestCase::executeView()
ViewsBasicTest::testSimpleArgument in tests/views_basic.test
Tests simple argument.
ViewsBasicTest::testSimpleFiltering in tests/views_basic.test
Tests filtering of the result set.
ViewsBasicTest::testSimpleResultSet in tests/views_basic.test
Tests a trivial result set.
ViewsCacheTest::testExposedFilterSameResultsCaching in tests/views_cache.test
Test caching of different exposed filter values with the same view result.
ViewsCacheTest::testNoneCaching in tests/views_cache.test
Tests no caching.

... See full list

File

tests/views_query.test, line 131
Abstract class for views testing.

Class

ViewsTestCase

Code

protected function executeView($view, $args = array()) {
  $view
    ->set_display();
  $view
    ->pre_execute($args);
  $view
    ->execute();
  $this
    ->verbose('<pre>Executed view: ' . (string) $view->build_info['query'] . '</pre>');
}