From 0a9e940ab776231bae235272bcb6615cbac7c067 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sun, 13 Feb 2005 13:50:30 +0000 Subject: [PATCH] - Add new test --- ext/reflection/tests/005.phpt | 54 +++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100755 ext/reflection/tests/005.phpt diff --git a/ext/reflection/tests/005.phpt b/ext/reflection/tests/005.phpt new file mode 100755 index 0000000000..f337e44ae6 --- /dev/null +++ b/ext/reflection/tests/005.phpt @@ -0,0 +1,54 @@ +--TEST-- +ReflectionMethod::getDocComment() uses wrong comment block +--FILE-- +getDocComment())); + +foreach($r->getMethods() as $m) +{ + var_dump(strip_doc_comment($m->getDocComment())); +} + +?> +===DONE=== +--EXPECT-- +string(19) "Comment for class A" +string(15) "Method A::bla()" +bool(false) +bool(false) +string(22) "* Comment for A::baz()" +===DONE=== -- 2.40.0