org.jboss.test.cmp2.simple
Class SimpleUnitTestCase

java.lang.Object
  extended byTestCase
      extended byorg.jboss.test.util.ejb.EJBTestCase (src) 
          extended byorg.jboss.test.cmp2.simple.SimpleUnitTestCase

public class SimpleUnitTestCase
extends EJBTestCase (src)

Basic cmp2 tests

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.test.util.ejb.EJBTestCase (src)
props
 
Constructor Summary
SimpleUnitTestCase(java.lang.String name)
           
 
Method Summary
 void setUpEJB(java.util.Properties props)
          Sets up the ejb test case.
static Test suite()
           
 void tearDownEJB(java.util.Properties props)
          Tears down the ejb test case.
 void testBigDecimalValue()
           
 void testBooleanObject()
           
 void testBooleanPrimitive()
           
 void testByteArrayValue()
           
 void testByteObject()
           
 void testBytePrimitive()
           
 void testConcatFunction()
           
 void testDoubleObject()
           
 void testDoublePrimitive()
           
 void testDuplicateKey()
           
 void testFindWithByteArray()
           
 void testFloatObject()
           
 void testFloatPrimitive()
           
 void testHashtable()
           
 void testIntegerObject()
           
 void testIntegerPrimitive()
           
 void testLengthFunction()
           
 void testLike()
           
 void testLiteralToLiteral()
           
 void testLocateFunction()
           
 void testLongObject()
           
 void testLongPrimitive()
           
 void testNumbericComparison()
           
 void testNumericIn()
           
 void testObjectValue()
           
 void testOptionAUpdate()
           
 void testSelectValueClass()
           
 void testShortObject()
           
 void testShortPrimitive()
           
 void testSQLDateBetween()
           
 void testSqlDateValue()
           
 void testStringBetween()
           
 void testStringComparison()
           
 void testStringIn()
           
 void testStringValue()
           
 void testTimeBetween()
           
 void testTimestampBetween()
           
 void testTimestampComparison()
           
 void testTimestampIn()
           
 void testTimestampValue()
           
 void testTimeValue()
           
 void testUtilDateBetween()
           
 void testUtilDateValue()
           
 void testValueClass()
           
 
Methods inherited from class org.jboss.test.util.ejb.EJBTestCase (src)
getEJBRunnerJndiName, getProps, isServerSide, run, runBare, setProps, setServerSide
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleUnitTestCase

public SimpleUnitTestCase(java.lang.String name)
Method Detail

suite

public static Test suite()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testBooleanPrimitive

public void testBooleanPrimitive()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testBooleanObject

public void testBooleanObject()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testBytePrimitive

public void testBytePrimitive()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testByteObject

public void testByteObject()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testShortPrimitive

public void testShortPrimitive()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testShortObject

public void testShortObject()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testIntegerPrimitive

public void testIntegerPrimitive()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testIntegerObject

public void testIntegerObject()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testLongPrimitive

public void testLongPrimitive()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testLongObject

public void testLongObject()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testFloatPrimitive

public void testFloatPrimitive()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testFloatObject

public void testFloatObject()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testDoublePrimitive

public void testDoublePrimitive()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testDoubleObject

public void testDoubleObject()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testStringValue

public void testStringValue()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testUtilDateValue

public void testUtilDateValue()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testSqlDateValue

public void testSqlDateValue()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testTimeValue

public void testTimeValue()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testTimestampValue

public void testTimestampValue()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testBigDecimalValue

public void testBigDecimalValue()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testByteArrayValue

public void testByteArrayValue()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testValueClass

public void testValueClass()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testObjectValue

public void testObjectValue()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testLiteralToLiteral

public void testLiteralToLiteral()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testUtilDateBetween

public void testUtilDateBetween()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testSQLDateBetween

public void testSQLDateBetween()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testTimeBetween

public void testTimeBetween()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testTimestampBetween

public void testTimestampBetween()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testTimestampComparison

public void testTimestampComparison()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testTimestampIn

public void testTimestampIn()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testStringBetween

public void testStringBetween()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testStringComparison

public void testStringComparison()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testStringIn

public void testStringIn()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testLike

public void testLike()
              throws java.lang.Exception
Throws:
java.lang.Exception

testNumericIn

public void testNumericIn()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testNumbericComparison

public void testNumbericComparison()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testConcatFunction

public void testConcatFunction()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testLengthFunction

public void testLengthFunction()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testSelectValueClass

public void testSelectValueClass()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testLocateFunction

public void testLocateFunction()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testFindWithByteArray

public void testFindWithByteArray()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testDuplicateKey

public void testDuplicateKey()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testHashtable

public void testHashtable()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testOptionAUpdate

public void testOptionAUpdate()
                       throws java.lang.Exception
Throws:
java.lang.Exception

setUpEJB

public void setUpEJB(java.util.Properties props)
              throws java.lang.Exception
Description copied from class: EJBTestCase (src)
Sets up the ejb test case. This method is called before each test is executed and is run in a private transaction.

Overrides:
setUpEJB in class EJBTestCase (src)
Parameters:
props - the properties passed in from the client
Throws:
java.lang.Exception - if a problem occures

tearDownEJB

public void tearDownEJB(java.util.Properties props)
                 throws java.lang.Exception
Description copied from class: EJBTestCase (src)
Tears down the ejb test case. This method is called after each test is executed and is run in a private transaction.

Overrides:
tearDownEJB in class EJBTestCase (src)
Parameters:
props - the properties passed in from the client
Throws:
java.lang.Exception - if a problem occures