You are here

protected function TXTExportViewsDataExportExporterTests::testBOF in Views data export 7.4

Test the header writing.

File

tests/exporter_tests/txt.test, line 31

Class

TXTExportViewsDataExportExporterTests

Code

protected function testBOF() {
  $result = $this
    ->executeBOF($this
    ->getExporter());
  $expected = '';

  // We don't expect a header.
  $this
    ->logVerboseResult($result, 'Actual result');
  $this
    ->logVerboseResult($expected, 'Expected result');
  $this
    ->assertEqual($result, $expected, 'The header is as expected.');
}