function CoderReviewUpgrade6xTest::testUpgrade6xDeprecatedHooks in Coder 7
Same name and namespace in other branches
- 7.2 coder_review/tests/coder_review_6x.test \CoderReviewUpgrade6xTest::testUpgrade6xDeprecatedHooks()
File
- coder_review/
tests/ coder_review_6x.test, line 257
Class
Code
function testUpgrade6xDeprecatedHooks() {
$this
->assertCoderReviewFail(' function mymodule_auth($username, $password, $server) {');
$this
->assertCoderReviewFail(' function mymodule_info($field = 0) {');
// Miscellaneous deprecated functions.
$this
->assertCoderReviewFail(' locale_refresh_cache();');
$this
->assertCoderReviewFail(' theme_get_function();');
}