|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectname.angoca.db2sa.grammarReader.impl.xml.ImplementationXMLGrammarReaderTest
public final class ImplementationXMLGrammarReaderTest
Tests for the graph constructor.
Control Version
| Constructor Summary | |
|---|---|
ImplementationXMLGrammarReaderTest()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
setUp()
Clears the configuration file name property before each test. |
static void |
tearDownAfterClass()
Clears the configuration file name property at the end of the test. |
void |
testBuildDuplicatedNode()
Tests a grammar that has a duplicated node. |
void |
testBuildEmptyFile()
Tests a grammar that has an empty file. |
void |
testBuildInvalidStructure()
Tests a grammar that has an invalid structure. |
void |
testBuildInverted()
Tests that a simple graph inverted can be constructed. |
void |
testBuildNodeNotComeFromStartingNode()
Tests a grammar that has a node does not come from StartingNode. |
void |
testBuildNodeNotGoesToEndingNode()
Tests a grammar that has a node that does not go to EndingNode. |
void |
testBuildNodeReferencingStartingNode()
Tests a grammar that has a node that references to StartingNode. |
void |
testBuildNoEndingNode()
Tests a grammar that has an ending node. |
void |
testBuildNoId()
Tests a grammar that has a node without the id tag. |
void |
testBuildNoIdNoName()
Tests a grammar that has a node without the id tag. |
void |
testBuildNoName()
Tests a grammar that has a node without the name tag. |
void |
testBuildNoNodes()
Tests a grammar that has no nodes. |
void |
testBuildNoStartingNode()
Tests a grammar that does not have starting node. |
void |
testBuildNotAllChildren()
Tests a grammar that has defined all the nodes that are children. |
void |
testBuildNotConnectedGraph()
Tests a grammar that has the starting node is not connected to the ending node. |
void |
testBuildUnknownStructure()
Tests a grammar that has a file with an unknown structure. |
void |
testBuildWithExtraTokens()
Tests that a simple graph can be constructed with extra tokens. |
void |
testBuildWithoutExtraTokens()
Tests that a simple graph can be constructed without extra tokens. |
void |
testDoubleDelimiters()
Tests that the configuration file has only one delimiters tag. |
void |
testEmptyDelimiters()
Tests that the configuration file has wrongly defined the delimiters. |
void |
testEmptyGrammar()
Tests that the configuration file has only StartingNode and EndingNode. |
void |
testErrorBuildWithExtraTokens()
Tests that a simple graph is different with and without extra tokens. |
void |
testGrammarFileInDirectory()
Tests a grammar file in a directory. |
void |
testGrammarFileInOneDirectory()
Tests a grammar file that are in a given directory. |
void |
testGrammarFilesInDirectories()
Tests a set of grammar files that are in several directories. |
void |
testGrammarFilesInDirectory()
Tests a grammar file in a directory. |
void |
testGrammarFilesInOneDirectory()
Tests a set of grammar files that are in a given directory. |
void |
testNoDelimiters()
Tests that the configuration file has at least one delimiters tag. |
void |
testNotExistingFile()
Tests a not existing file as grammar. |
void |
testNullContent1()
Tests that the configuration file is null. |
void |
testNullContent2()
Tests that the configuration file is null. |
void |
testNullGraph()
Tests that a graph cannot be null. |
void |
testReadNoFileDefined()
Test the exception thrown when no filename defined. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImplementationXMLGrammarReaderTest()
| Method Detail |
|---|
public static void tearDownAfterClass()
public void setUp()
public void testBuildDuplicatedNode()
throws AbstractDB2SAException
AbstractDB2SAException - Never.
public void testBuildEmptyFile()
throws AbstractDB2SAException
AbstractDB2SAException - Never
public void testBuildInvalidStructure()
throws AbstractDB2SAException
AbstractDB2SAException - Never
public void testBuildInverted()
throws AbstractDB2SAException
AbstractDB2SAException - Never
public void testBuildNodeNotComeFromStartingNode()
throws AbstractDB2SAException
AbstractDB2SAException - Never
public void testBuildNodeNotGoesToEndingNode()
throws AbstractDB2SAException
AbstractDB2SAException - Never
public void testBuildNodeReferencingStartingNode()
throws AbstractDB2SAException
AbstractDB2SAException - Never
public void testBuildNoEndingNode()
throws AbstractDB2SAException
AbstractDB2SAException - Never
public void testBuildNoId()
throws AbstractDB2SAException
AbstractDB2SAException - Never
public void testBuildNoIdNoName()
throws AbstractDB2SAException
AbstractDB2SAException - Never
public void testBuildNoName()
throws AbstractDB2SAException
AbstractDB2SAException - Never
public void testBuildNoNodes()
throws AbstractDB2SAException
AbstractDB2SAException - Never
public void testBuildNoStartingNode()
throws AbstractDB2SAException
AbstractDB2SAException - Never
public void testBuildNotAllChildren()
throws AbstractDB2SAException
AbstractDB2SAException - Never
public void testBuildNotConnectedGraph()
throws AbstractDB2SAException
AbstractDB2SAException - Never
public void testBuildUnknownStructure()
throws AbstractDB2SAException
AbstractDB2SAException - Never
public void testBuildWithExtraTokens()
throws AbstractDB2SAException
AbstractDB2SAException - Never
public void testBuildWithoutExtraTokens()
throws AbstractDB2SAException
AbstractDB2SAException - Never
public void testDoubleDelimiters()
throws AbstractDB2SAException
AbstractDB2SAException - Never
public void testEmptyGrammar()
throws AbstractDB2SAException
AbstractDB2SAException - Never
public void testErrorBuildWithExtraTokens()
throws AbstractDB2SAException
AbstractDB2SAException - Never
public void testNoDelimiters()
throws AbstractDB2SAException
AbstractDB2SAException - Never
public void testEmptyDelimiters()
throws AbstractDB2SAException
AbstractDB2SAException - Never
public void testNotExistingFile()
throws AbstractDB2SAException
AbstractDB2SAException - Never.
public void testNullContent1()
throws AbstractDB2SAException
AbstractDB2SAException - Never
public void testNullContent2()
throws AbstractDB2SAException
AbstractDB2SAException - Never
public void testNullGraph()
throws AbstractDB2SAException
AbstractDB2SAException - Never
public void testReadNoFileDefined()
throws AbstractDB2SAException
AbstractDB2SAException - Never
public final void testGrammarFileInDirectory()
throws AbstractDB2SAException
AbstractDB2SAException - Never.
public final void testGrammarFilesInDirectory()
throws AbstractDB2SAException
AbstractDB2SAException - Never.
public final void testGrammarFileInOneDirectory()
throws AbstractDB2SAException
AbstractDB2SAException - Never.
public final void testGrammarFilesInOneDirectory()
throws AbstractDB2SAException
AbstractDB2SAException - Never.
public final void testGrammarFilesInDirectories()
throws AbstractDB2SAException
AbstractDB2SAException - Never.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
