org.equanda.generate
Class ChoicesTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.equanda.generate.ChoicesTest
All Implemented Interfaces:
junit.framework.Test

public class ChoicesTest
extends junit.framework.TestCase

Checks for invalid choices

Author:
NetRom team

Constructor Summary
ChoicesTest()
           
 
Method Summary
protected  void setUp()
           
 void testChoiceCalculated()
           
 void testChoiceDate()
           
 void testChoiceTimestamp()
           
 void testChoiceTooLong()
           
 void testInvalidBoolean()
           
 void testInvalidDouble()
           
 void testInvalidInt()
           
 
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
 

Constructor Detail

ChoicesTest

public ChoicesTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

testChoiceDate

public void testChoiceDate()
                    throws Exception
Throws:
Exception

testChoiceTimestamp

public void testChoiceTimestamp()
                         throws Exception
Throws:
Exception

testChoiceCalculated

public void testChoiceCalculated()
                          throws Exception
Throws:
Exception

testInvalidBoolean

public void testInvalidBoolean()
                        throws Exception
Throws:
Exception

testInvalidInt

public void testInvalidInt()
                    throws Exception
Throws:
Exception

testInvalidDouble

public void testInvalidDouble()
                       throws Exception
Throws:
Exception

testChoiceTooLong

public void testChoiceTooLong()
                       throws Exception
Throws:
Exception


Copyright © 2007-2009. All Rights Reserved.