You are here

public function ViewsDataExportBaseTest::assertBatchedExportEqual in Views data export 7.3

Same name and namespace in other branches
  1. 7.4 tests/base.test \ViewsDataExportBaseTest::assertBatchedExportEqual()
3 calls to ViewsDataExportBaseTest::assertBatchedExportEqual()
ViewsDataExportAccessTest::testExportedTempFileAccess in tests/access.test
Test that VDE export can only be downloaded by the user that created them.
ViewsDataExportGarbageCollectionTest::testExportedGarbageCollection in tests/garbagecollection.test
Test that VDE export can only be downloaded by the user that created them.
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);
}