Details
Description
Using SVN version 463, I'm having a a problem reading annotations. Specifically, the problem occurs when I have an class instance initialization block. The contents of the instance initialization block is showing up in the annotation value reported by Qdox. For example:
public class foo {
....
@Test (description="test blah blah")
public void myTest() { ... }
}
In my Qdox class:
...
JavaMethod m = testClass.getMethods()[0];
m.getAnnotations()[0].getNamedParameter("description").toString();
give:
[{ dosomething(..); }
test blah blah blah]
Activity
Robert Scholte
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Robert Scholte [ rfscholte ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Fix Version/s | 1.8 [ 14826 ] | |
Resolution | Fixed [ 1 ] |
This issue look a lot like
QDOX-145. Since that issue is resolved this one seems to work just fine.To be sure I've added a test
r533 | rfscholte | 2009-01-31 14:47:53 CET
added test for qdox-117.
----------------------------------------------------------------------------