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, 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, failNotEquals, failNotSame, failSame, format
public static junit.framework.Test suite()
public void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
public void testCountCharacters() throws Exception
Exception
public void testCountWords() throws Exception
Exception
public void testCountLines() throws Exception
Exception
public void testCountWordsExcludingComments() throws Exception
Exception
public void testCountCommentLines() throws Exception
Exception
public void testFindMatchingLines() throws Exception
Exception
public void testFindMatchingFromTail() throws Exception
Exception
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.