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, toStringassertEquals, 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, failpublic HelpFormatterTest()
public void setUp()
setUp in class junit.framework.TestCasepublic void testPrint() throws IOException
IOExceptionpublic void testComparator() throws IOException
IOExceptionpublic void testPrintHelp() throws IOException
IOExceptionpublic void testPrintHelp_WithException() throws IOException
IOExceptionpublic void testPrintHelp_TooNarrow() throws IOException
IOExceptionpublic void testPrintException() throws IOException
IOExceptionpublic void testPrintUsage() throws IOException
IOExceptionpublic void testPrintHeader() throws IOException
IOExceptionpublic void testPrintFooter() throws IOException
IOExceptionpublic void testPrintDivider() throws IOException
IOExceptionpublic 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
IOExceptionpublic void testPad_Null() throws IOException
IOExceptionpublic void testPad_TooLong() throws IOException
IOExceptionpublic void testPad_TooShort() throws IOException
IOExceptionpublic void testGutters() throws IOException
IOExceptionCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.