Issue Details (XML | Word | Printable)

Key: QDOX-169
Type: Task Task
Status: Open Open
Priority: Major Major
Assignee: Paul Hammant
Reporter: Robert Scholte
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QDox

add description of writing proper tests in jira

Created: 24/Jun/09 03:59 AM   Updated: 24/Jun/09 03:59 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified


 Description  « Hide

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.



There are no comments yet on this issue.