You are here

public function ViewsDataExportBaseTest::assertBatchedExportEqual in Views data export 7.4

Same name and namespace in other branches
  1. 7.3 tests/base.test \ViewsDataExportBaseTest::assertBatchedExportEqual()
1 call to ViewsDataExportBaseTest::assertBatchedExportEqual()
ViewsDataExportSimpleExportTest::testBatchedExport in tests/base.test
Tests the batched export functionality for this style.

File

tests/base.test, line 306

Class

ViewsDataExportBaseTest

Code

public function assertBatchedExportEqual($path, $expected, $message) {
  $this
    ->drupalGet($path);
  $output = $this
    ->drupalGetContent();
  $this
    ->logViewResult($output);
  $this
    ->logViewResult($expected, 'Expected result:<br>');
  $this
    ->assertEqual($this
    ->normaliseString($output), $this
    ->normaliseString($expected), $message);
}