name.angoca.db2sa.core.lexical.impl
Class ImplementationLexicalAnalyzerRealGrammarTest

Package class diagram package ImplementationLexicalAnalyzerRealGrammarTest
java.lang.Object
  extended by name.angoca.db2sa.core.lexical.impl.ImplementationLexicalAnalyzerRealGrammarTest

public final class ImplementationLexicalAnalyzerRealGrammarTest
extends Object

This is the set of test for the lexical analyzer. The inputs are phrases that represents the user's command, they are received like strings and this class tests its conversion to Tokens and analyze the results.

Control Version

Version:
1.2.0 2010-05-17
Author:
Andres Gomez Casanova (AngocA)

Constructor Summary
ImplementationLexicalAnalyzerRealGrammarTest()
          Default constructor.
 
Method Summary
static void setUpBeforeClass()
          Load the graph.
static void tearDownAfterClass()
          Clears the configuration file name property at the end of the test.
 void test1()
          Tests the command ''
 void test10()
          Tests the command 'db2 create'
 void test10a()
          Tests the command ' db2 create'
 void test11()
          Tests the command 'db2 create '
 void test12()
          Tests the command 'db2 create t'
 void test13()
          Tests the command 'db2 create tables'
 void test14()
          Tests the command 'db2 create tablespace'
 void test15()
          Tests the command 'db2 create ta'
 void test16()
          Tests the command 'db2 create table'
 void test17()
          Tests the command 'db2 create table '
 void test18()
          Tests the command 'db2 create table t1'
 void test19()
          Tests the command 'db2 create table t1 '
 void test2()
          Tests the command 'd'
 void test20()
          Tests the command 'db2 create table t1 ('
 void test21()
          Tests the command 'db2 create table t1('
 void test22()
          Tests the command 'db2 create table t1 (c1'
 void test23()
          Tests the command 'db2 create table t1( c1'
 void test24()
          Tests the command 'db2 create table t1 ( c1 int )'
 void test25()
          Tests the command ' db2'
 void test25a()
          Tests the command ' db2'
 void test26()
          Tests the command 'DB'
 void test26a()
          Tests the command ' DB'
 void test27()
          Tests the command 'DB2 CREA'
 void test27A()
          Tests the command ' DB2 CREA'
 void test3()
          Tests the command 'db'
 void test4()
          Tests the command 'db2'
 void test5()
          Tests the command 'db2 '
 void test5a()
          Tests the command 'db2 '
 void test6()
          Tests the command 'db2 c'
 void test7()
          Tests the command 'db2 c'
 void test8()
          Tests the command 'db2 crea'
 void test8a()
          Tests the command ' db2 crea'
 void test9()
          Tests the command 'db2 crea '
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImplementationLexicalAnalyzerRealGrammarTest

public ImplementationLexicalAnalyzerRealGrammarTest()
Default constructor.

Method Detail

setUpBeforeClass

public static void setUpBeforeClass()
                             throws AbstractDB2SAException
Load the graph.

Throws:
AbstractDB2SAException - Never

tearDownAfterClass

public static void tearDownAfterClass()
Clears the configuration file name property at the end of the test.


test1

public void test1()
           throws AbstractDB2SAException
Tests the command ''

Throws:
AbstractDB2SAException - Never.

test2

public void test2()
           throws AbstractDB2SAException
Tests the command 'd'

Throws:
AbstractDB2SAException - Never.

test3

public void test3()
           throws AbstractDB2SAException
Tests the command 'db'

Throws:
AbstractDB2SAException - Never.

test4

public void test4()
           throws AbstractDB2SAException
Tests the command 'db2'

Throws:
AbstractDB2SAException - Never.

test5

public void test5()
           throws AbstractDB2SAException
Tests the command 'db2 '

Throws:
AbstractDB2SAException - Never.

test5a

public void test5a()
            throws AbstractDB2SAException
Tests the command 'db2 '

Throws:
AbstractDB2SAException - Never.

test6

public void test6()
           throws AbstractDB2SAException
Tests the command 'db2 c'

Throws:
AbstractDB2SAException - Never.

test7

public void test7()
           throws AbstractDB2SAException
Tests the command 'db2 c'

Throws:
AbstractDB2SAException - Never.

test8

public void test8()
           throws AbstractDB2SAException
Tests the command 'db2 crea'

Throws:
AbstractDB2SAException - Never.

test8a

public void test8a()
            throws AbstractDB2SAException
Tests the command ' db2 crea'

Throws:
AbstractDB2SAException - Never.

test9

public void test9()
           throws AbstractDB2SAException
Tests the command 'db2 crea '

Throws:
AbstractDB2SAException - Never.

test10

public void test10()
            throws AbstractDB2SAException
Tests the command 'db2 create'

Throws:
AbstractDB2SAException - Never.

test10a

public void test10a()
             throws AbstractDB2SAException
Tests the command ' db2 create'

Throws:
AbstractDB2SAException - Never.

test11

public void test11()
            throws AbstractDB2SAException
Tests the command 'db2 create '

Throws:
AbstractDB2SAException - Never.

test12

public void test12()
            throws AbstractDB2SAException
Tests the command 'db2 create t'

Throws:
AbstractDB2SAException - Never.

test13

public void test13()
            throws AbstractDB2SAException
Tests the command 'db2 create tables'

Throws:
AbstractDB2SAException - Never.

test14

public void test14()
            throws AbstractDB2SAException
Tests the command 'db2 create tablespace'

Throws:
AbstractDB2SAException - Never.

test15

public void test15()
            throws AbstractDB2SAException
Tests the command 'db2 create ta'

Throws:
AbstractDB2SAException - Never.

test16

public void test16()
            throws AbstractDB2SAException
Tests the command 'db2 create table'

Throws:
AbstractDB2SAException - Never.

test17

public void test17()
            throws AbstractDB2SAException
Tests the command 'db2 create table '

Throws:
AbstractDB2SAException - Never.

test18

public void test18()
            throws AbstractDB2SAException
Tests the command 'db2 create table t1'

Throws:
AbstractDB2SAException - Never.

test19

public void test19()
            throws AbstractDB2SAException
Tests the command 'db2 create table t1 '

Throws:
AbstractDB2SAException - Never.

test20

public void test20()
            throws AbstractDB2SAException
Tests the command 'db2 create table t1 ('

Throws:
AbstractDB2SAException - Never.

test21

public void test21()
            throws AbstractDB2SAException
Tests the command 'db2 create table t1('

Throws:
AbstractDB2SAException - Never.

test22

public void test22()
            throws AbstractDB2SAException
Tests the command 'db2 create table t1 (c1'

Throws:
AbstractDB2SAException - Never.

test23

public void test23()
            throws AbstractDB2SAException
Tests the command 'db2 create table t1( c1'

Throws:
AbstractDB2SAException - Never.

test24

public void test24()
            throws AbstractDB2SAException
Tests the command 'db2 create table t1 ( c1 int )'

Throws:
AbstractDB2SAException - Never.

test25

public void test25()
            throws AbstractDB2SAException
Tests the command ' db2'

Throws:
AbstractDB2SAException - Never.

test25a

public void test25a()
             throws AbstractDB2SAException
Tests the command ' db2'

Throws:
AbstractDB2SAException - Never.

test26

public void test26()
            throws AbstractDB2SAException
Tests the command 'DB'

Throws:
AbstractDB2SAException - Never.

test26a

public void test26a()
             throws AbstractDB2SAException
Tests the command ' DB'

Throws:
AbstractDB2SAException - Never.

test27

public void test27()
            throws AbstractDB2SAException
Tests the command 'DB2 CREA'

Throws:
AbstractDB2SAException - Never.

test27A

public void test27A()
             throws AbstractDB2SAException
Tests the command ' DB2 CREA'

Throws:
AbstractDB2SAException - Never.


Andres Gomez Casanova (AngocA) 2009-2010 Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License.