You are here

protected function DOCExportViewsDataExportExporterTests::testEOF in Views data export 7.4

Test End Of File.

File

tests/exporter_tests/doc.test, line 114

Class

DOCExportViewsDataExportExporterTests

Code

protected function testEOF() {
  $exporter = $this
    ->getExporter();
  $result = $this
    ->executeEOF($exporter);
  $expect = '      </tbody>
    </table>
  </body>
</html>';
  $this
    ->logVerboseResult($result, 'Actual result');
  $this
    ->logVerboseResult($expect, 'Expected to contain');
  $this
    ->assertEqual($result, $expect, 'The EOF is as expected.');
}