net.firstpartners.nounit.ui.test
Class TestCommandPackage

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--net.firstpartners.nounit.ui.test.TestCommandPackage
All Implemented Interfaces:
junit.framework.Test

public class TestCommandPackage
extends junit.framework.TestCase

Test the Command package class in the Junit testrunner


Constructor Summary
TestCommandPackage(java.lang.String name)
          Call the Junit test constructor
 
Method Summary
static void main(java.lang.String[] args)
          Enable Junit to run this Class individually
static junit.framework.Test suite()
          Enable Junit to run this class
 void testAddAdditionalData()
          test add additional data
 void testAddHashTable()
          Test adding of Keys
 void testCommandPackageCreation()
          Test the creation of the Command Package (Method1) and retrieving Values from the command line
 void testDoubleAdd()
          Check Double Add Objects added at differenct times should not be vectorized...
 void testGetKeys()
          Test getting of keys from Command Package
 void testMove()
          Test Move Method
 void testMultipleValues()
          Test Storage / Retrieval of Ints
 void testRemove()
          test remove method
 void testStoreGetInt()
          Test Storage / Retrieval of Ints
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, name, run, run, runBare, runTest, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestCommandPackage

public TestCommandPackage(java.lang.String name)
Call the Junit test constructor
Parameters:
name -  
Method Detail

main

public static void main(java.lang.String[] args)
Enable Junit to run this Class individually
Parameters:
args -  

suite

public static junit.framework.Test suite()
Enable Junit to run this class
Returns:
TestSuite

testCommandPackageCreation

public void testCommandPackageCreation()
                                throws java.lang.Exception
Test the creation of the Command Package (Method1) and retrieving Values from the command line
Throws:
NoUnitException -  

testGetKeys

public void testGetKeys()
                 throws java.lang.Exception
Test getting of keys from Command Package

testAddHashTable

public void testAddHashTable()
                      throws java.lang.Exception
Test adding of Keys

testStoreGetInt

public void testStoreGetInt()
                     throws java.lang.Exception
Test Storage / Retrieval of Ints

testMultipleValues

public void testMultipleValues()
                        throws java.lang.Exception
Test Storage / Retrieval of Ints

testDoubleAdd

public void testDoubleAdd()
                   throws java.lang.Exception
Check Double Add Objects added at differenct times should not be vectorized...

testAddAdditionalData

public void testAddAdditionalData()
test add additional data

testRemove

public void testRemove()
test remove method

testMove

public void testMove()
Test Move Method