public class DefinitionFileScannerTest
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private Buffer<AbstractSymbol> |
buffer
The buffer of Symbols for the tests.
|
| Constructor and Description |
|---|
DefinitionFileScannerTest()
The constructor for the testclass.
|
| Modifier and Type | Method and Description |
|---|---|
void |
definitionFileScannerTest1()
test the Stringsymbol.
|
void |
definitionFileScannerTest10()
test the regexsymbol.
|
void |
definitionFileScannerTest10a()
test the IdentifiereSymbol.
|
void |
definitionFileScannerTest10b()
test the IdentifiereSymbol.
|
void |
definitionFileScannerTest10c()
test the IdentifiereSymbol.
|
void |
definitionFileScannerTest10d()
test the IdentifiereSymbol.
|
void |
definitionFileScannerTest11()
tests the combination of commentsymbol and identifiersymbol.
|
void |
definitionFileScannerTest12()
tests the combination of Plus-, Equal- and Unknownsymbol.
|
void |
definitionFileScannerTest13()
tests the IdentifierSymbol and the RE.
|
void |
definitionFileScannerTest14()
tests the IdentifierSymbol and the RE.
|
void |
definitionFileScannerTest15()
test the identifiersymbol and the EndSymbol.
|
void |
definitionFileScannerTest16()
tests if small letters scan as Unknownsymbol.
|
void |
definitionFileScannerTest17()
tests if small letters scan as Unknownsymbol.
|
void |
definitionFileScannerTest18()
tests if a part of the generaltest3 runs.
|
void |
definitionFileScannerTest19()
tests if a part of the generaltest04 runs.
|
void |
definitionFileScannerTest1a()
test the Stringsymbol.
|
void |
definitionFileScannerTest1b()
test the Stringsymbol.
|
void |
definitionFileScannerTest1c()
test the Stringsymbol.
|
void |
definitionFileScannerTest2()
test the identifiersymbol.
|
void |
definitionFileScannerTest20()
tests if a part of the general test run.
|
void |
definitionFileScannerTest21()
tests the identifiersymbol.
|
void |
definitionFileScannerTest3()
tests the IdentifierSymbol.
|
void |
definitionFileScannerTest4()
tests the commentsymbol.
|
void |
definitionFileScannerTest5()
test the RegExSymbol.
|
void |
definitionFileScannerTest5a()
test the RegExSymbol.
|
void |
definitionFileScannerTest6()
tests the StringSymbol.
|
void |
definitionFileScannerTest7()
tests the combination of Identifiersymbol, emptysymbol and stringsymbol.
|
void |
definitionFileScannerTest8()
tests the identifiersymbol.
|
void |
definitionFileScannerTest9()
tests the combination of two plussymbols and a identifiersymbol.
|
static junit.framework.Test |
suite()
Necessary for "ant".
|
private void |
testGeruest(java.lang.String expression)
test the Geruest.
|
private java.util.ArrayList<AbstractSymbol> |
transform(Buffer<AbstractSymbol> buffer1)
transform the filled buffer in a arrayList of Symbols.
|
private final Buffer<AbstractSymbol> buffer
public DefinitionFileScannerTest()
public static junit.framework.Test suite()
public void definitionFileScannerTest1()
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 methodspublic void definitionFileScannerTest1a()
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 methodspublic void definitionFileScannerTest1c()
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 methodspublic void definitionFileScannerTest1b()
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 methodspublic void definitionFileScannerTest2()
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 methodspublic void definitionFileScannerTest3()
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 methodspublic void definitionFileScannerTest4()
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 methodspublic void definitionFileScannerTest5()
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 methodspublic void definitionFileScannerTest5a()
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 methodspublic void definitionFileScannerTest6()
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 methodspublic void definitionFileScannerTest7()
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 methodspublic void definitionFileScannerTest8()
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 methodspublic void definitionFileScannerTest9()
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 methodspublic void definitionFileScannerTest10()
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 methodspublic void definitionFileScannerTest10a()
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 methodspublic void definitionFileScannerTest10b()
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 methodspublic void definitionFileScannerTest10c()
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 methodspublic void definitionFileScannerTest10d()
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 methodspublic void definitionFileScannerTest11()
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 methodspublic void definitionFileScannerTest12()
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 methodspublic void definitionFileScannerTest13()
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 methodspublic void definitionFileScannerTest14()
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 methodspublic void definitionFileScannerTest15()
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 methodspublic void definitionFileScannerTest16()
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 methodspublic void definitionFileScannerTest17()
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 methodspublic void definitionFileScannerTest18()
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 methodspublic void definitionFileScannerTest19()
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 methodspublic void definitionFileScannerTest20()
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 methodspublic void definitionFileScannerTest21()
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 java.util.ArrayList<AbstractSymbol> transform(Buffer<AbstractSymbol> buffer1) throws java.lang.InterruptedException
buffer1 - input buffer.java.lang.InterruptedException - for the Semaphore.private void testGeruest(java.lang.String expression)
throws java.lang.InterruptedException,
ScannerException,
java.io.IOException
expression - as Stringjava.lang.InterruptedException - on failing with interruption.ScannerException - on failing by scanningjava.io.IOException - cannot read/write data