java.lang.Object
TestCase
openfuture.util.misc.testcase.StripWhitespaceReaderTestCase
- public class StripWhitespaceReaderTestCase
- extends TestCase
Testsuite for StripWhitespaceReader.
Created: Wed May 02 19:17:36 2001
- Version:
- $Revision: 1.1.1.1 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StripWhitespaceReaderTestCase
public StripWhitespaceReaderTestCase(java.lang.String name)
- Creates a new
StripWhitespaceReaderTestCase
instance.
testFilterStream
public void testFilterStream()
throws java.lang.Exception
- Test reading strings containing only whitespace.
readAll
protected java.lang.String readAll(java.lang.String init)
throws java.io.IOException
- Read the complete content of the stream and count the
number of characters occured. The
init
string
is processed by StripWhitespaceReader.
read
protected int read(java.lang.String init,
char[] buffer,
int offset,
int len)
throws java.io.IOException
- Read maximal
len
characters into the
character buffer buffer[]
. The buffer is filled
starting at offset
. The init
string
is processed by StripWhitespaceReader.