public class ScannerTest
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private Buffer<AbstractSymbol> |
buffer
The buffer of Symbols for the tests.
|
| Constructor and Description |
|---|
ScannerTest()
The constructor for the testclass.
|
| Modifier and Type | Method and Description |
|---|---|
void |
scannerTest1()
tests the inputStream.
|
static junit.framework.Test |
suite()
Necessary for "ant".
|
private void |
testGeruest(java.lang.String expression)
test the Geruest.
|
private final Buffer<AbstractSymbol> buffer
public ScannerTest()
public static junit.framework.Test suite()
public void scannerTest1()
throws java.lang.InterruptedException,
ScannerException,
java.io.IOException
java.lang.InterruptedException - for the semaphoreScannerException - on failing the scanjava.io.IOException - on failing in input/output methodsprivate void testGeruest(java.lang.String expression)
throws java.lang.InterruptedException,
ScannerException,
java.io.IOException
expression - as String for the Geruestjava.lang.InterruptedException - for the semaphoreScannerException - on failing scanjava.io.IOException - on failing in input/output methods