public class HelpFormatterTest extends junit.framework.TestCase
Constructor and Description |
---|
HelpFormatterTest() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
testComparator() |
void |
testGutters() |
void |
testPad_Null() |
void |
testPad_TooLong() |
void |
testPad_TooShort() |
void |
testPad() |
void |
testPrint() |
void |
testPrintDivider() |
void |
testPrintException() |
void |
testPrintFooter() |
void |
testPrintHeader() |
void |
testPrintHelp_TooNarrow() |
void |
testPrintHelp_WithException() |
void |
testPrintHelp() |
void |
testPrintUsage() |
void |
testWrap_AfterSpace() |
void |
testWrap_BeforeSpace() |
void |
testWrap_Below1Length() |
void |
testWrap_InWord() |
void |
testWrap_NewLine() |
void |
testWrap_NewLine2() |
void |
testWrap_WrapNeeded() |
void |
testWrap() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
public HelpFormatterTest()
public void setUp()
setUp
in class junit.framework.TestCase
public void testPrint() throws IOException
IOException
public void testComparator() throws IOException
IOException
public void testPrintHelp() throws IOException
IOException
public void testPrintHelp_WithException() throws IOException
IOException
public void testPrintHelp_TooNarrow() throws IOException
IOException
public void testPrintException() throws IOException
IOException
public void testPrintUsage() throws IOException
IOException
public void testPrintHeader() throws IOException
IOException
public void testPrintFooter() throws IOException
IOException
public void testPrintDivider() throws IOException
IOException
public void testWrap()
public void testWrap_WrapNeeded()
public void testWrap_BeforeSpace()
public void testWrap_AfterSpace()
public void testWrap_InWord()
public void testWrap_NewLine()
public void testWrap_NewLine2()
public void testWrap_Below1Length()
public void testPad() throws IOException
IOException
public void testPad_Null() throws IOException
IOException
public void testPad_TooLong() throws IOException
IOException
public void testPad_TooShort() throws IOException
IOException
public void testGutters() throws IOException
IOException
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.