public class TestLines extends junit.framework.TestCase
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
static junit.framework.Test |
suite() |
void |
tearDown() |
void |
testCountCharacters() |
void |
testCountCommentLines() |
void |
testCountLines() |
void |
testCountWords() |
void |
testCountWordsExcludingComments() |
void |
testFindMatchingFromTail() |
void |
testFindMatchingLines() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, fail, failNotEquals, failNotSame, failSame, formatpublic static junit.framework.Test suite()
public void setUp() throws Exception
setUp in class junit.framework.TestCaseExceptionpublic void tearDown() throws Exception
tearDown in class junit.framework.TestCaseExceptionpublic void testCountCharacters() throws Exception
Exceptionpublic void testCountWords() throws Exception
Exceptionpublic void testCountLines() throws Exception
Exceptionpublic void testCountWordsExcludingComments() throws Exception
Exceptionpublic void testCountCommentLines() throws Exception
Exceptionpublic void testFindMatchingLines() throws Exception
Exceptionpublic void testFindMatchingFromTail() throws Exception
ExceptionCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.