Details
-
Type: Task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.12
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
We get a lot of different ways of test-commits. Sometimes it's a parsing failure or some unexpected responses.
The best way to write a test:
public void testDescription() throws Exception { JavaDocBuilder builder = new JavaDocBuilder(); String source = "public class Foo {}"; //One of next lines // builder.addSource(new StringReader(source)); // JavaSource javaSource = builder.addSource(new StringReader(source)); // JavaClass jClass = javaSource.getClasses()[0]; }
Would be nice if this was documented somewhere, maybe frontpage of qdox' Jira.
Activity
Robert Scholte
made changes -
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | Closed [ 6 ] |
Assignee | Paul Hammant [ paul ] | Robert Scholte [ rfscholte ] |
Fix Version/s | 1.12 [ 16282 ] | |
Resolution | Fixed [ 1 ] |