jasi.unittest.sim
Class TestConditionMap

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by jasi.unittest.sim.BasicTestCase
              extended by jasi.unittest.sim.TestConditionMap
All Implemented Interfaces:
junit.framework.Test

public class TestConditionMap
extends BasicTestCase

Testing condition map.


Field Summary
protected  ConditionMap<java.lang.Integer,java.lang.String> c1
           
protected  ConditionMap<java.lang.Integer,java.lang.String> c2
           
 
Constructor Summary
TestConditionMap()
           
 
Method Summary
protected  void setUp()
          This method executes before each test method.
 void testConstruction()
          Test construction.
 void testNoElse()
          Test condition map without else-key.
 void testWithElse()
          Test condition map with else-key.
 void testXML()
          Test XML
 
Methods inherited from class jasi.unittest.sim.BasicTestCase
writeAndReadXML, writeAndReadXML
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

c1

protected ConditionMap<java.lang.Integer,java.lang.String> c1

c2

protected ConditionMap<java.lang.Integer,java.lang.String> c2
Constructor Detail

TestConditionMap

public TestConditionMap()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
This method executes before each test method.

Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception
See Also:
TestCase.setUp()

testConstruction

public void testConstruction()
Test construction.


testNoElse

public void testNoElse()
Test condition map without else-key.


testWithElse

public void testWithElse()
Test condition map with else-key.


testXML

public void testXML()
Test XML