org.apache.commons.functor.example.lines
Class TestLines

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.functor.example.lines.TestLines
All Implemented Interfaces:
junit.framework.Test

public class TestLines
extends junit.framework.TestCase

Version:
$Revision: 665786 $ $Date: 2008-06-09 19:17:39 +0200 (Mon, 09 Jun 2008) $
Author:
Rodney Waldhoff

Constructor Summary
TestLines(String testName)
           
 
Method Summary
 void setUp()
           
static junit.framework.Test suite()
           
 void tearDown()
           
 void testCountCharacters()
           
 void testCountCommentLines()
           
 void testCountLines()
           
 void testCountWords()
           
 void testCountWordsExcludingComments()
           
 void testFindMatchingFromTail()
           
 void testFindMatchingLines()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestLines

public TestLines(String testName)
Method Detail

suite

public static junit.framework.Test suite()

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testCountCharacters

public void testCountCharacters()
                         throws Exception
Throws:
Exception

testCountWords

public void testCountWords()
                    throws Exception
Throws:
Exception

testCountLines

public void testCountLines()
                    throws Exception
Throws:
Exception

testCountWordsExcludingComments

public void testCountWordsExcludingComments()
                                     throws Exception
Throws:
Exception

testCountCommentLines

public void testCountCommentLines()
                           throws Exception
Throws:
Exception

testFindMatchingLines

public void testFindMatchingLines()
                           throws Exception
Throws:
Exception

testFindMatchingFromTail

public void testFindMatchingFromTail()
                              throws Exception
Throws:
Exception


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.