|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.torque.generator.outlet.java.JavadocOutletTest
public class JavadocOutletTest
Constructor Summary | |
---|---|
JavadocOutletTest()
|
Method Summary | |
---|---|
void |
setUp()
|
void |
testCompleteJavadoc()
Tests that the javadoc contains both the body and the attributes and both are properly line wrapped. |
void |
testDoubleWrapAtDifferentAttributes()
Checks that between different javadoc attributes, a double line wrap is inserted. |
void |
testDoubleWrapAtDifferentAttributesWithLineBreak()
Checks that between different javadoc attributes where the first ends with a line break, a double line wrap is inserted. |
void |
testDoubleWrapAtNewAttribute()
Checks that a new javadoc attribute causes a double line wrap |
void |
testRemoveEndAllButFirstCharacterRemoved()
Tests that removeEnd works if everything but the first character is removed. |
void |
testRemoveEndEmptyString()
Tests that removeEnd works for an empty String. |
void |
testRemoveEndEverythingRemoved()
Tests that removeEnd works if everything is removed. |
void |
testRemoveEndNothingRemoved()
Tests that removeEnd works if nothing is removed. |
void |
testRemoveEndOnlyLastCharacterRemoved()
Tests that removeEnd works if only the last character is removed. |
void |
testRemoveEndPartRemoved()
Tests that removeEnd works if a part is removed. |
void |
testSetIndent()
Checks that setIndent works as expected. |
void |
testSetLineBreak()
Checks that setLineBreak works as expected. |
void |
testSetLineBreakIllegalInput()
Checks that setLineBreak works as expected. |
void |
testSetWrapAfterCharacters()
Checks that setWrapAfterCharacters works as expected. |
void |
testSingleWrapAtAttribute()
Checks that a preceding \n or two same javadoc attribute cause a single line wrap |
void |
testSingleWrapAtAttributeWithLineBreak()
Checks that a preceding \n or two same javadoc attribute cause a single line wrap |
void |
testSpaceAtEndRemoved()
Checks that a space can cause a line break and the space is removed in the output. |
void |
testWrapAfterNotRemovedCharacters()
Checks that a break-after character can cause a line break , and that a single space after such a break is removed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavadocOutletTest()
Method Detail |
---|
public void setUp()
public void testCompleteJavadoc() throws Exception
Exception
public void testWrapAfterNotRemovedCharacters()
public void testSpaceAtEndRemoved()
public void testDoubleWrapAtNewAttribute()
public void testDoubleWrapAtDifferentAttributes()
public void testDoubleWrapAtDifferentAttributesWithLineBreak()
public void testSingleWrapAtAttribute()
public void testSingleWrapAtAttributeWithLineBreak()
public void testSetWrapAfterCharacters()
public void testSetIndent()
public void testSetLineBreak()
public void testSetLineBreakIllegalInput()
public void testRemoveEndEmptyString()
public void testRemoveEndEverythingRemoved()
public void testRemoveEndNothingRemoved()
public void testRemoveEndPartRemoved()
public void testRemoveEndAllButFirstCharacterRemoved()
public void testRemoveEndOnlyLastCharacterRemoved()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |