name.angoca.db2sa.executer.impl
Class ImplementationExecuterTest

Package class diagram package ImplementationExecuterTest
java.lang.Object
  extended by name.angoca.db2sa.executer.impl.ImplementationExecuterTest

public final class ImplementationExecuterTest
extends Object

Set of test for the Executer.

Control Version

Version:
1.5.2 2010-06-04
Author:
Andres Gomez Casanova (AngocA)

Constructor Summary
ImplementationExecuterTest()
          Default constructor.
 
Method Summary
 void setUp()
          Refreshes the singletons.
 void testDB2Native()
          Tests if the configuration file has a true value for DB2 native execution.
 void testExecutionInLinuxDB2WithoutParams()
          Tests the execution in Linux environment without db2 parameters.
 void testExecutionInLinuxDB2WithtParams()
          Tests the execution in Linux environment with db2 parameters.
 void testExecutionInLinuxNoDB2()
          Tests the execution in Linux environment no db2 command.
 void testExecutionInUnknownOS()
          Tests the execution in an unknown OS.
 void testExecutionInWindowsDB2WithoutParams()
          Tests the execution in Windows environment without db2 parameters.
 void testExecutionInWindowsDB2WithParams()
          Tests the execution in Windows environment with db2 parameters.
 void testExecutionInWindowsNoDB2()
          Tests the execution in Windows environment no db2 command.
 void testExecutionWithDB2Params()
          Tests the execution with db2 parameters.
 void testExecutionWithNoDB2Params()
          Tests the execution without db2 parameters.
 void testExecutionWithNullParam()
          Tests the execution of a null command.
 void testExitEmpty()
          Tests the default token to exit the application.
 void testNoDB2Native()
          Tests if the configuration file has a false value for DB2 native execution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImplementationExecuterTest

public ImplementationExecuterTest()
Default constructor.

Method Detail

setUp

public void setUp()
Refreshes the singletons.


testDB2Native

public void testDB2Native()
Tests if the configuration file has a true value for DB2 native execution.


testExecutionInLinuxDB2WithoutParams

public void testExecutionInLinuxDB2WithoutParams()
                                          throws ParameterNullException
Tests the execution in Linux environment without db2 parameters.

Throws:
ParameterNullException - Never.

testExecutionInLinuxDB2WithtParams

public void testExecutionInLinuxDB2WithtParams()
                                        throws ParameterNullException
Tests the execution in Linux environment with db2 parameters.

Throws:
ParameterNullException - Never.

testExecutionInLinuxNoDB2

public void testExecutionInLinuxNoDB2()
                               throws ParameterNullException
Tests the execution in Linux environment no db2 command.

Throws:
ParameterNullException - Never.

testExecutionInUnknownOS

public void testExecutionInUnknownOS()
                              throws ParameterNullException
Tests the execution in an unknown OS.

Throws:
ParameterNullException - Never.

testExecutionInWindowsDB2WithoutParams

public void testExecutionInWindowsDB2WithoutParams()
                                            throws ParameterNullException
Tests the execution in Windows environment without db2 parameters.

Throws:
ParameterNullException - Never.

testExecutionInWindowsDB2WithParams

public void testExecutionInWindowsDB2WithParams()
                                         throws ParameterNullException
Tests the execution in Windows environment with db2 parameters.

Throws:
ParameterNullException - Never.

testExecutionInWindowsNoDB2

public void testExecutionInWindowsNoDB2()
                                 throws ParameterNullException
Tests the execution in Windows environment no db2 command.

Throws:
ParameterNullException - Never.

testExecutionWithDB2Params

public void testExecutionWithDB2Params()
                                throws ParameterNullException
Tests the execution with db2 parameters.

Throws:
ParameterNullException - Never.

testExecutionWithNoDB2Params

public void testExecutionWithNoDB2Params()
                                  throws ParameterNullException
Tests the execution without db2 parameters.

Throws:
ParameterNullException - Never.

testExecutionWithNullParam

public void testExecutionWithNullParam()
                                throws ParameterNullException
Tests the execution of a null command.

Throws:
ParameterNullException - Never.

testExitEmpty

public void testExitEmpty()
Tests the default token to exit the application.


testNoDB2Native

public void testNoDB2Native()
Tests if the configuration file has a false value for DB2 native execution.



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