protected function CodeFilterUnitTestCase::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
3 calls to CodeFilterUnitTestCase::assertIdentical()
- CodeFilterUnitTestCase::testCodeFilter in ./
codefilter.test - Checks that <code> tags are escaped and highlighted correctly.
- CodeFilterUnitTestCase::testCodeFilterAttributes in ./
codefilter.test - Tests <code class="..."> tags (with attributes).
- CodeFilterUnitTestCase::testPhpFilter in ./
codefilter.test - Checks that <?php tags are escaped and highlighted correctly.
File
- ./
codefilter.test, line 115 - Functional and unit tests for codefilter.module.
Class
- CodeFilterUnitTestCase
- Contains unit tests for codefilter.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);
}