name.angoca.db2sa.ui.impl.jline
Class JlineInputReaderTest

Package class diagram package JlineInputReaderTest
java.lang.Object
  extended by name.angoca.db2sa.ui.impl.jline.JlineInputReaderTest

public final class JlineInputReaderTest
extends Object

Jline console tests.

This class is based on the jline tests.

Control Version

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

Constructor Summary
JlineInputReaderTest()
           
 
Method Summary
 void setUp()
          Configuration before each test.
static void setUpBeforeClass()
          Establishes the configuration for the tests.
 void test1()
          Tests an empty string.
 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 table t1(c1'
 void test23()
          Tests the command 'db2 create table table t1( c1'
 void test24()
          Tests the command 'db2 create table 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 'DB CREA'
 void test27a()
          Tests the command ' DB 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 cr'
 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

JlineInputReaderTest

public JlineInputReaderTest()
Method Detail

setUpBeforeClass

public static void setUpBeforeClass()
                             throws AbstractDB2SAException
Establishes the configuration for the tests. This configuration is before all the tests.

Throws:
AbstractDB2SAException - Never.

setUp

public void setUp()
           throws IOException
Configuration before each test.

Throws:
IOException - If there is a problem when initializing the console.

test1

public void test1()
           throws IOException
Tests an empty string.

Throws:
IOException - Never.

test2

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

Throws:
IOException - Never

test3

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

Throws:
IOException - Never

test4

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

Throws:
IOException - Never

test5

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

Throws:
IOException - Never

test5a

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

Throws:
IOException - Never

test6

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

Throws:
IOException - Never

test7

public void test7()
           throws IOException
Tests the command 'db2 cr'

Throws:
IOException - Never

test8

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

Throws:
IOException - Never

test8a

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

Throws:
IOException - Never

test9

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

Throws:
IOException - Never

test10

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

Throws:
IOException - Never

test10a

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

Throws:
IOException - Never

test11

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

Throws:
IOException - Never

test12

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

Throws:
IOException - Never

test13

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

Throws:
IOException - Never

test14

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

Throws:
IOException - Never

test15

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

Throws:
IOException - Never

test16

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

Throws:
IOException - Never

test17

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

Throws:
IOException - Never

test18

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

Throws:
IOException - Never

test19

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

Throws:
IOException - Never

test20

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

Throws:
IOException - Never

test21

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

Throws:
IOException - Never

test22

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

Throws:
IOException - Never

test23

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

Throws:
IOException - Never

test24

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

Throws:
IOException - Never

test25

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

Throws:
IOException - Never

test25a

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

Throws:
IOException - Never

test26

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

Throws:
IOException - Never

test26a

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

Throws:
IOException - Never

test27

public void test27()
            throws IOException
Tests the command 'DB CREA'

Throws:
IOException - Never

test27a

public void test27a()
             throws IOException
Tests the command ' DB CREA'

Throws:
IOException - Never


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