You are here

protected function EFQViewsTestBase::runView in EntityFieldQuery Views Backend 7

4 calls to EFQViewsTestBase::runView()
EFQViewsFieldTestCase::testFields in tests/efq_views.test
EFQViewsFilterTestCase::testFilters in tests/efq_views.test
EFQViewsNodeLinkTestCase::testNodeLink in tests/efq_views.test
EFQViewsQueryTagsTestCase::testQueryTags in tests/efq_views.test

File

tests/efq_views.test, line 91
Tests for EFQ Views query features.

Class

EFQViewsTestBase
Abstract class for EFQ views testing.

Code

protected function runView($view = NULL) {
  if (!isset($view)) {
    $view = $this
      ->view();
  }
  $content = $view
    ->preview();
  $this
    ->verbose($content);
  $this
    ->drupalSetContent($content);
}