Parent Directory
|
Revision Log
|
Revision Graph
|
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}"); |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |