function CoderReviewCommentTest::testGeneralCommentStyle in Coder 7.2
Same name and namespace in other branches
- 7 coder_review/tests/coder_review_comment.test \CoderReviewCommentTest::testGeneralCommentStyle()
???
File
- coder_review/
tests/ coder_review_comment.test, line 49
Class
- CoderReviewCommentTest
- Tests the functionality of comment review rules in Coder_review module.
Code
function testGeneralCommentStyle() {
$this
->assertCoderReviewPass($this->comment_header . "/**\n * Comment.\n");
$this
->assertCoderReviewFail($this->comment_header . "/**\n* Comment.\n");
$this
->assertCoderReviewFail($this->comment_header . "/**\n *Comment.\n");
}