function CoderCommentTest::testSeeDoxygenComment in Coder 6.2
File
- tests/
coder_comment.test, line 57
Class
Code
function testSeeDoxygenComment() {
$this
->assertCoderPass($this->comment_header . "/**\n * @see some_function()");
$this
->assertCoderPass($this->comment_header . "/**\n * @see some_function(), foo.tpl.php");
$this
->assertCoderPass($this->comment_header . "/**\n * @see some_function(), foo.tpl.php, bar.tpl.php");
$this
->assertCoderFail($this->comment_header . "/**\n * foo bar @see some_function()");
$this
->assertCoderFail($this->comment_header . "/**\n * @see some_function");
$this
->assertCoderFail($this->comment_header . "/**\n * @see some_function, foo.tpl.php");
$this
->assertCoderFail($this->comment_header . "/**\n * @see some_function() foo.tpl.php");
$this
->assertCoderFail($this->comment_header . "/**\n * @see some_function(),foo.tpl.php");
$this
->assertCoderFail($this->comment_header . "/**\n * @see some_function(), foo.tpl.php bar.tpl.php");
$this
->assertCoderFail($this->comment_header . "/**\n * @see some_function(),");
$this
->assertCoderFail($this->comment_header . "/**\n * @see some_function().");
$this
->assertCoderFail($this->comment_header . "/**\n * @see some_function(), foo.tpl.php.");
$this
->assertCoderFail($this->comment_header . "/**\n * @see\n * some_function()");
$this
->assertCoderPass($this->comment_header . "// @see some_function()");
$this
->assertCoderPass($this->comment_header . "// @see foo.tpl.php");
$this
->assertCoderPass($this->comment_header . "// @see some_function(), foo.tpl.php");
$this
->assertCoderFail($this->comment_header . "// @see some_function");
}