org.ourgrid.common.spec.io
Class CharReaderTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.ourgrid.common.spec.io.CharReaderTest
All Implemented Interfaces:
junit.framework.Test, CommonTest, FastTest, PreCommitTest, SelectiveTest, StressTest

public class CharReaderTest
extends junit.framework.TestCase
implements CommonTest


Constructor Summary
CharReaderTest(java.lang.String arg0)
          Constructor for CharReaderTest.
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testCharReaderWithNonExistentFile()
           
 void testReadChar()
           
 void testReadLine()
           
 void testReadNonBlankChar()
           
 void testUnreadChar()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface junit.framework.Test
countTestCases, run
 

Constructor Detail

CharReaderTest

public CharReaderTest(java.lang.String arg0)
Constructor for CharReaderTest.

Parameters:
arg0 -
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception
See Also:
TestCase.setUp()

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception
See Also:
TestCase.tearDown()

testCharReaderWithNonExistentFile

public void testCharReaderWithNonExistentFile()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testReadNonBlankChar

public void testReadNonBlankChar()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testReadChar

public void testReadChar()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testReadLine

public void testReadLine()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testUnreadChar

public void testUnreadChar()
                    throws java.lang.Exception
Throws:
java.lang.Exception