|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectname.angoca.db2sa.grammarReader.api.GrammarReaderControllerTest
public class GrammarReaderControllerTest
Set of test of the grammar reader controller.
Control Version
Constructor Summary | |
---|---|
GrammarReaderControllerTest()
Default constructor. |
Method Summary | |
---|---|
void |
setUp()
Refreshes the singletons for each tests. |
void |
testAbstractBadConstructorGrammar()
Test an abstract bad constructor for the grammar reader. |
void |
testBadConstructorGrammar()
Test a bad constructor for the grammar reader. |
void |
testEmptyValue()
Tests that the grammar reader name cannot be empty. |
void |
testExtraCommas1()
Tests to read the files with extra commas. |
void |
testExtraCommas2()
Tests to read the files with extra commas. |
void |
testExtraCommas3()
Tests to read the files with extra commas. |
void |
testExtraSpaces1()
Tests to read the files with extra spaces. |
void |
testExtraSpaces2()
Tests to read the files with extra spaces. |
void |
testExtraSpaces3()
Tests to read the files with extra spaces. |
void |
testExtraSpaces4()
Tests to read the files with extra spaces. |
void |
testInexistantGrammar()
Test an invalid value for the grammar reader. |
void |
testInvalidValue()
Tests that the grammar reader name cannot be empty. |
void |
testNullValue()
Tests that the grammar reader name cannot be null. |
void |
testSameGrammarFileTwice()
Tests the merge of the same file twice. |
void |
testTwoDifferentFileGrammars()
Tests the merge of two different grammar files. |
void |
testTwoDifferentFileIdenticalGrammars()
Tests the merge of two different files containing the same grammar. |
void |
testUnrecognizedGrammar()
Try to load an unrecognized grammar. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GrammarReaderControllerTest()
Method Detail |
---|
public final void setUp()
public final void testAbstractBadConstructorGrammar() throws AbstractDB2SAException
AbstractDB2SAException
- Never.public final void testBadConstructorGrammar() throws AbstractDB2SAException
AbstractDB2SAException
- Never.public final void testInexistantGrammar() throws AbstractDB2SAException
AbstractDB2SAException
- Never.public final void testNullValue() throws AbstractDB2SAException
AbstractDB2SAException
- Neverpublic final void testEmptyValue() throws AbstractDB2SAException
AbstractDB2SAException
- Neverpublic final void testInvalidValue() throws AbstractDB2SAException
AbstractDB2SAException
- Neverpublic final void testSameGrammarFileTwice() throws AbstractDB2SAException
AbstractDB2SAException
- Never.public final void testTwoDifferentFileGrammars() throws AbstractDB2SAException
AbstractDB2SAException
- Never.public final void testTwoDifferentFileIdenticalGrammars() throws AbstractDB2SAException
AbstractDB2SAException
- Never.public final void testExtraCommas1() throws AbstractDB2SAException
AbstractDB2SAException
- Never.public final void testExtraCommas2() throws AbstractDB2SAException
AbstractDB2SAException
- Never.public final void testExtraCommas3() throws AbstractDB2SAException
AbstractDB2SAException
- Never.public final void testExtraSpaces1() throws AbstractDB2SAException
AbstractDB2SAException
- Never.public final void testExtraSpaces2() throws AbstractDB2SAException
AbstractDB2SAException
- Never.public final void testExtraSpaces3() throws AbstractDB2SAException
AbstractDB2SAException
- Never.public final void testExtraSpaces4() throws AbstractDB2SAException
AbstractDB2SAException
- Never.public final void testUnrecognizedGrammar() throws AbstractDB2SAException
AbstractDB2SAException
- Never.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |