/[drupal]/contributions/modules/coder/coder_review/tests/coder_review_7x.test
ViewVC logotype

Diff of /contributions/modules/coder/coder_review/tests/coder_review_7x.test

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.37, Sun Oct 18 21:28:23 2009 UTC revision 1.38, Sun Oct 18 22:11:03 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: coder_review_7x.test,v 1.36 2009/10/18 13:36:01 snpower Exp $  // $Id: coder_review_7x.test,v 1.37 2009/10/18 21:28:23 snpower Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 20  class CoderReviewUpgrade7xTest extends C Line 20  class CoderReviewUpgrade7xTest extends C
20      );      );
21    }    }
22    
23      function testTestModule7x() {
24        // http://drupal.org/node/224333#block_optional
25    
26        $this->runTestModuleTest();
27      }
28    
29    
30    function testModule7x() {    function testModule7x() {
31      // N/A - in comment review - http://drupal.org/node/224333#afile      // N/A - in comment review - http://drupal.org/node/224333#afile
# Line 197  class CoderReviewUpgrade7xTest extends C Line 203  class CoderReviewUpgrade7xTest extends C
203    }    }
204    
205    function testBlock7x() {    function testBlock7x() {
     // http://drupal.org/node/224333#block_optional  
   
206      // http://drupal.org/node/224333#remove_op      // http://drupal.org/node/224333#remove_op
207      $this->assertCoderReviewFail("  function mymodule_block(\$op, \$delta, \$edit) {\n}");      $this->assertCoderReviewFail("  function mymodule_block(\$op, \$delta, \$edit) {\n}");
208      $this->assertCoderReviewFail("  function mymodule_block(\$delta, \$edit) {\n  if (\$op == 'list') {\n  }\n}");      $this->assertCoderReviewFail("  function mymodule_block(\$delta, \$edit) {\n  if (\$op == 'list') {\n  }\n}");

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

  ViewVC Help
Powered by ViewVC 1.1.2