You are here

public function ViewsDataExportBaseTest::assertExportEqual in Views data export 7.3

Same name and namespace in other branches
  1. 7.4 tests/base.test \ViewsDataExportBaseTest::assertExportEqual()
2 calls to ViewsDataExportBaseTest::assertExportEqual()
ViewsDataExportSimpleExportTest::executeAndCompareGivenView in tests/base.test
Execute a given view very simply.
ViewsDataExportSimpleExportTest::testNonBatchedExport in tests/base.test
Tests the non-batched export functionality for this style.

File

tests/base.test, line 314

Class

ViewsDataExportBaseTest

Code

public function assertExportEqual($a, $b, $message) {
  $this
    ->logViewResult($a);
  $this
    ->logViewResult($b, 'Expected result:<br>');
  $this
    ->assertEqual($this
    ->normaliseString($a), $this
    ->normaliseString($b), $message);
}