|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectname.angoca.db2sa.core.syntactic.impl.ImplementationSyntacticAnalyzerTest
public final class ImplementationSyntacticAnalyzerTest
Set of test of the implementation of the syntax analyzer.
Control Version
Constructor Summary | |
---|---|
ImplementationSyntacticAnalyzerTest()
Default constructor. |
Method Summary | |
---|---|
static void |
setUpBeforeClass()
Reads the graph just once for all tests. |
static void |
tearDownAfterClass()
Clears the configuration file name property at the end of the test. |
void |
testGetOptions0()
Test the possible options of an empty command. |
void |
testGetOptions0options()
Test the possible options of an empty command (Only options). |
void |
testGetOptions0phrase()
Test the possible options of an empty command (Only phrase). |
void |
testGetOptions1()
Test the possible options of a 'create' command. |
void |
testGetOptions1options()
Test the possible options of a 'create' command (Only options). |
void |
testGetOptions1phrase()
Test the possible options of a 'create' command (Only phrase). |
void |
testGetOptions1WithSpace()
Test the possible options of a 'create ' command. |
void |
testGetOptions2()
Test the possible options of a 'create table' command. |
void |
testGetOptions2options()
Test the possible options of a 'create table' command (Only options). |
void |
testGetOptions2phrase()
Test the possible options of a 'create table' command (Only phrase). |
void |
testGetOptions2WithSpace()
Test the possible options of a 'create table ' command. |
void |
testGetOptions3()
Test the possible options of a 'create table t1' command. |
void |
testGetOptions3options()
Test the possible options of a 'create table t1' command (Only options). |
void |
testGetOptions3phrase()
Test the possible options of a 'create table t1' command (Only phrase). |
void |
testGetOptions4()
Test the possible options of a 'create table t1 (' command. |
void |
testGetOptions4options()
Test the possible options of a 'create table t1 (' command (Only options). |
void |
testGetOptions4phrase()
Test the possible options of a 'create table t1 (' command (Only phrase). |
void |
testGetOptions5()
Test the possible options of a 'create table t1 (c1 int)' command. |
void |
testGetOptions6()
Test the possible options of a 'create table t1 (c1 int) in ts1' command. |
void |
testGetOptions7()
Test the possible options of a 'create table t1 (c1 int) in' command. |
void |
testGetOptions8()
Test the possible options of a 'create tab' command. |
void |
testInvalidFirstToken()
This is a test of an invalid initial token. |
void |
testInvalidSecondToken()
This is a test of an invalid token. |
void |
testNullGetOption()
Tests that the get option method cannot receive a null parameter. |
void |
testNullTokenGetOption()
Tests that the get option method cannot receive a null token. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImplementationSyntacticAnalyzerTest()
Method Detail |
---|
public static void setUpBeforeClass() throws AbstractDB2SAException
AbstractDB2SAException
- Never.public static void tearDownAfterClass()
public void testGetOptions0() throws AbstractDB2SAException
AbstractDB2SAException
- Neverpublic void testGetOptions0options() throws AbstractDB2SAException
AbstractDB2SAException
- Neverpublic void testGetOptions0phrase() throws AbstractDB2SAException
AbstractDB2SAException
- Neverpublic void testGetOptions1() throws AbstractDB2SAException
AbstractDB2SAException
- Neverpublic void testGetOptions1options() throws AbstractDB2SAException
AbstractDB2SAException
- Neverpublic void testGetOptions1phrase() throws AbstractDB2SAException
AbstractDB2SAException
- Neverpublic void testGetOptions1WithSpace() throws AbstractDB2SAException
AbstractDB2SAException
- Neverpublic void testGetOptions2() throws AbstractDB2SAException
AbstractDB2SAException
- Neverpublic void testGetOptions2options() throws AbstractDB2SAException
AbstractDB2SAException
- Neverpublic void testGetOptions2phrase() throws AbstractDB2SAException
AbstractDB2SAException
- Neverpublic void testGetOptions2WithSpace() throws AbstractDB2SAException
AbstractDB2SAException
- Neverpublic void testGetOptions3() throws AbstractDB2SAException
AbstractDB2SAException
- Neverpublic void testGetOptions3options() throws AbstractDB2SAException
AbstractDB2SAException
- Neverpublic void testGetOptions3phrase() throws AbstractDB2SAException
AbstractDB2SAException
- Neverpublic void testGetOptions4() throws AbstractDB2SAException
AbstractDB2SAException
- Neverpublic void testGetOptions4options() throws AbstractDB2SAException
AbstractDB2SAException
- Neverpublic void testGetOptions4phrase() throws AbstractDB2SAException
AbstractDB2SAException
- Neverpublic void testGetOptions5() throws AbstractDB2SAException
AbstractDB2SAException
- Neverpublic void testGetOptions6() throws AbstractDB2SAException
AbstractDB2SAException
- Neverpublic void testGetOptions7() throws AbstractDB2SAException
AbstractDB2SAException
- Neverpublic void testGetOptions8() throws AbstractDB2SAException
AbstractDB2SAException
- Neverpublic void testInvalidFirstToken() throws AbstractDB2SAException
AbstractDB2SAException
- Neverpublic void testInvalidSecondToken() throws AbstractDB2SAException
AbstractDB2SAException
- Neverpublic void testNullGetOption() throws AbstractDB2SAException
AbstractDB2SAException
- Never.public void testNullTokenGetOption() throws AbstractDB2SAException
AbstractDB2SAException
- Never.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |