You are here

function CoderReviewUpgrade7xTest::testTheming7x in Coder 7

Same name and namespace in other branches
  1. 7.2 coder_review/tests/coder_review_7x.test \CoderReviewUpgrade7xTest::testTheming7x()

File

coder_review/tests/coder_review_7x.test, line 433

Class

CoderReviewUpgrade7xTest

Code

function testTheming7x() {

  // http://drupal.org/node/224333#rebuild_functions
  $this
    ->assertCoderReviewFail('  drupal_rebuild_theme_registry();');

  // http://drupal.org/node/224333#theme_page
  $this
    ->assertCoderReviewFail("  return theme('page');");

  // http://drupal.org/node/224333#hook_footer
  $this
    ->assertCoderReviewFail('  function mymodule_footer()');
  $this
    ->assertCoderReviewFail('  function mymodule_footer($main = 0)');
  $this
    ->assertCoderReviewFail('  function mymodule_footer()');
  $this
    ->assertCoderReviewFail('  function mytheme_closure()');
  $this
    ->assertCoderReviewFail('  function mytheme_closure($main = 0)');
  $this
    ->assertCoderReviewFail("  return theme('closure');");

  // http://drupal.org/node/224333#element_theme_properties
  // http://drupal.org/node/224333#drupal_render_children
  // http://drupal.org/node/224333#theme-links-param
  // http://drupal.org/node/224333#theme_changes
}