You are here

protected function CodeFilterPrismUnitTestCase::assertIdentical in Code Filter 7

Overrides DrupalTestCase::assertIdentical().

Ignores $message and dump-exports $first and $second into the test result output instead.

Overrides DrupalTestCase::assertIdentical

5 calls to CodeFilterPrismUnitTestCase::assertIdentical()
CodeFilterPrismUnitTestCase::testCodeFilterPrism in modules/codefilter_prism/codefilter_prism.test
Checks that <code> tags are escaped and highlighted correctly.
CodeFilterPrismUnitTestCase::testCodeFilterPrismAttributes in modules/codefilter_prism/codefilter_prism.test
Tests <code class="..."> tags (with attributes).
CodeFilterPrismUnitTestCase::testInlineFilter in modules/codefilter_prism/codefilter_prism.test
Checks that <code> and <?php inline escaped and highlighted correctly.
CodeFilterPrismUnitTestCase::testPhpFilter in modules/codefilter_prism/codefilter_prism.test
Checks that <?php tags are escaped and highlighted correctly.
CodeFilterPrismUnitTestCase::testPhpFilterWithMarkup in modules/codefilter_prism/codefilter_prism.test
Checks that <?php tags are escaped and highlighted correctly with markup.

File

modules/codefilter_prism/codefilter_prism.test, line 175
Unit tests for codefilter_prism.module.

Class

CodeFilterPrismUnitTestCase
Contains unit tests for codefilter_prism.module.

Code

protected function assertIdentical($first, $second, $message = '', $group = '') {
  $message = format_string('<pre>@first</pre> is identical to <pre>@second</pre>', array(
    '@first' => var_export($first, TRUE),
    '@second' => var_export($second, TRUE),
  ));
  parent::assertIdentical($first, $second, $message);
}