1 views_query.test protected ViewsTestCase::executeView($view, $args = array())

Helper function to execute a view with debugging.

Parameters

view $view:

array $args:

File

core/modules/views/tests/views_query.test, line 117
Tests for Views query features.

Class

ViewsTestCase
Abstract class for views testing.

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>');
}