public class ReaderTokenizerTest extends Object
| Constructor and Description |
|---|
ReaderTokenizerTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
emptyInput()
Test that empty input yields no tokens.
|
void |
inputSpanningTheReadBuffer()
Test input shorter than, equal to and longer than the read buffer, with fields of
increasing width so that a token straddles each buffer boundary.
|
void |
lineEndingOnTheBufferBoundary()
Test that a line ending is still recognised when it falls on a buffer boundary.
|
void |
repeatedReadsPastTheEnd()
Test that reading past the end keeps reporting the end.
|
@Test
public void emptyInput()
throws IOException
IOException - if the tokenizer cannot read@Test
public void repeatedReadsPastTheEnd()
throws IOException
IOException - if the tokenizer cannot read@Test
public void inputSpanningTheReadBuffer()
throws IOException
IOException - if the tokenizer cannot read@Test
public void lineEndingOnTheBufferBoundary()
throws IOException
IOException - if the tokenizer cannot readCopyright © 2000–2026 MPXJ. All rights reserved.