function CoderReviewCommentTest::testSeeDoxygenComment in Coder 7
Same name and namespace in other branches
- 7.2 coder_review/tests/coder_review_comment.test \CoderReviewCommentTest::testSeeDoxygenComment()
File
- coder_review/
tests/ coder_review_comment.test, line 56
Class
Code
function testSeeDoxygenComment() {
$this
->assertCoderReviewPass($this->comment_header . "/**\n * @see some_function()");
$this
->assertCoderReviewPass($this->comment_header . "/**\n * @see some_function(), foo.tpl.php");
$this
->assertCoderReviewPass($this->comment_header . "/**\n * @see some_function(), foo.tpl.php, bar.tpl.php");
$this
->assertCoderReviewFail($this->comment_header . "/**\n * foo bar @see some_function()");
$this
->assertCoderReviewFail($this->comment_header . "/**\n * @see some_function");
$this
->assertCoderReviewFail($this->comment_header . "/**\n * @see some_function, foo.tpl.php");
$this
->assertCoderReviewFail($this->comment_header . "/**\n * @see some_function(),foo.tpl.php");
$this
->assertCoderReviewFail($this->comment_header . "/**\n * @see some_function() foo.tpl.php");
$this
->assertCoderReviewFail($this->comment_header . "/**\n * @see some_function(), foo.tpl.php bar.tpl.php");
$this
->assertCoderReviewFail($this->comment_header . "/**\n * @see some_function(),");
$this
->assertCoderReviewFail($this->comment_header . "/**\n * @see some_function().");
$this
->assertCoderReviewFail($this->comment_header . "/**\n * @see some_function(), foo.tpl.php.");
$this
->assertCoderReviewFail($this->comment_header . "/**\n * @see\n * some_function()");
$this
->assertCoderReviewPass($this->comment_header . "// @see some_function()");
$this
->assertCoderReviewPass($this->comment_header . "// @see foo.tpl.php");
$this
->assertCoderReviewPass($this->comment_header . "// @see some_function(), foo.tpl.php");
$this
->assertCoderReviewFail($this->comment_header . "// @see some_function");
}