org.objectweb.jorm.runtime.basictype
Class TestBasicType

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.objectweb.jorm.runtime.TestRuntimeHelper
              extended byorg.objectweb.jorm.runtime.basictype.TestBasicType
All Implemented Interfaces:
junit.framework.Test

public class TestBasicType
extends TestRuntimeHelper

Author:
P. Dechamboux

Field Summary
 
Fields inherited from class org.objectweb.jorm.runtime.TestRuntimeHelper
LOG_NAME, logger, loggerFactory, mapper, TESTCONFIGFILE
 
Constructor Summary
TestBasicType(java.lang.String name)
           
 
Method Summary
protected  PBinder getBinder(java.lang.String className)
           
protected  java.lang.String getLoggerName()
           
 void test0booleanGen()
           
 void testBigDecimal0()
           
 void testBigDecimalGen()
           
 void testBigDecimalNull()
           
 void testBigDecimalVN()
           
 void testBigDecimalVN4()
           
 void testBigDecimalVP()
           
 void testBigDecimalVP4()
           
 void testBigInteger0()
           
 void testBigIntegerGen()
           
 void testBigIntegerNull()
           
 void testBigIntegerVNL()
           
 void testBigIntegerVNS()
           
 void testBigIntegerVPL()
           
 void testBigIntegerVPS()
           
 void testBooleanFalse()
           
 void testBooleanGen()
           
 void testBooleanTrue()
           
 void testByte0()
           
 void testByteArrayazerty()
           
 void testByteArrayEmpty()
           
 void testByteArrayGen()
           
 void testByteArrayNull()
           
 void testByteGen()
           
 void testByteMax()
           
 void testByteMin()
           
 void testCharArrayazerty()
           
 void testCharArrayEmpty()
           
 void testCharArrayGen()
           
 void testCharArrayNull()
           
 void testCharDOT()
           
 void testCharGen()
           
 void testCharSP()
           
 void testDateGen()
           
 void testDateNanos()
           
 void testDateNow()
           
 void testDateNull()
           
 void testDateSql()
           
 void testDouble0()
           
 void testDoubleGen()
           
 void testDoubleMax()
           
 void testDoubleMin()
           
 void testFloat0()
           
 void testFloatGen()
           
 void testFloatMax()
           
 void testFloatMin()
           
 void testInt0()
           
 void testIntGen()
           
 void testIntMax()
           
 void testIntMin()
           
 void testLong0()
           
 void testLongGen()
           
 void testLongMax()
           
 void testLongMin()
           
 void testObooleanFalse()
           
 void testObooleanNull()
           
 void testObooleanTrue()
           
 void testObyte0()
           
 void testObyteGen()
           
 void testObyteMax()
           
 void testObyteMin()
           
 void testObyteNull()
           
 void testOcharDOT()
           
 void testOcharGen()
           
 void testOcharNull()
           
 void testOcharSP()
           
 void testOdouble0()
           
 void testOdoubleGen()
           
 void testOdoubleMax()
           
 void testOdoubleMin()
           
 void testOdoubleNull()
           
 void testOfloat0()
           
 void testOfloatGen()
           
 void testOfloatMax()
           
 void testOfloatMin()
           
 void testOfloatNull()
           
 void testOint0()
           
 void testOintGen()
           
 void testOintMax()
           
 void testOintMin()
           
 void testOintNull()
           
 void testOlong0()
           
 void testOlongGen()
           
 void testOlongMax()
           
 void testOlongMin()
           
 void testOlongNull()
           
 void testOshort0()
           
 void testOshortGen()
           
 void testOshortMax()
           
 void testOshortMin()
           
 void testOshortNull()
           
 void testSerialized10000KB()
           
 void testSerializedAzerty()
           
 void testSerializedGen()
           
 void testSerializedNull()
           
 void testShort0()
           
 void testShortGen()
           
 void testShortMax()
           
 void testShortMin()
           
 void testStringazerty()
           
 void testStringEmpty()
           
 void testStringGen()
           
 void testStringNull()
           
 
Methods inherited from class org.objectweb.jorm.runtime.TestRuntimeHelper
assertEqual, assertEqual, bind, changeLogger, export, getGenClassMapping, getGenClassMapping, getMapping, getPNameCoder, getPNameCoder, getTime, isCodingOnly, performIO, performIO, performIO, setUp, tearDown, unexport, writeRead
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, 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

TestBasicType

public TestBasicType(java.lang.String name)
              throws java.lang.Exception
Method Detail

getLoggerName

protected java.lang.String getLoggerName()
Specified by:
getLoggerName in class TestRuntimeHelper

getBinder

protected PBinder getBinder(java.lang.String className)
                     throws java.lang.Exception
Specified by:
getBinder in class TestRuntimeHelper
Throws:
java.lang.Exception

testBooleanTrue

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

testBooleanFalse

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

testBooleanGen

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

testObooleanNull

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

testObooleanTrue

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

testObooleanFalse

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

test0booleanGen

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

testByte0

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

testByteMin

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

testByteMax

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

testByteGen

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

testObyteNull

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

testObyte0

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

testObyteMin

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

testObyteMax

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

testObyteGen

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

testCharSP

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

testCharDOT

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

testCharGen

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

testOcharNull

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

testOcharSP

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

testOcharDOT

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

testOcharGen

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

testShort0

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

testShortMin

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

testShortMax

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

testShortGen

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

testOshortNull

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

testOshort0

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

testOshortMin

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

testOshortMax

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

testOshortGen

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

testInt0

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

testIntMin

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

testIntMax

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

testIntGen

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

testOintNull

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

testOint0

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

testOintMin

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

testOintMax

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

testOintGen

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

testLong0

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

testLongMin

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

testLongMax

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

testLongGen

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

testOlongNull

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

testOlong0

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

testOlongMin

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

testOlongMax

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

testOlongGen

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

testFloat0

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

testFloatMin

public void testFloatMin()
                  throws PException
Throws:
PException

testFloatMax

public void testFloatMax()
                  throws PException
Throws:
PException

testFloatGen

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

testOfloatNull

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

testOfloat0

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

testOfloatMin

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

testOfloatMax

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

testOfloatGen

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

testDouble0

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

testDoubleMin

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

testDoubleMax

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

testDoubleGen

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

testOdoubleNull

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

testOdouble0

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

testOdoubleMin

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

testOdoubleMax

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

testOdoubleGen

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

testStringNull

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

testStringEmpty

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

testStringazerty

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

testStringGen

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

testDateNull

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

testDateNanos

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

testDateNow

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

testDateSql

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

testDateGen

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

testSerializedNull

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

testSerializedAzerty

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

testSerialized10000KB

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

testSerializedGen

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

testByteArrayNull

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

testByteArrayazerty

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

testByteArrayEmpty

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

testByteArrayGen

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

testCharArrayNull

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

testCharArrayazerty

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

testCharArrayEmpty

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

testCharArrayGen

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

testBigDecimalNull

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

testBigDecimal0

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

testBigDecimalVP4

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

testBigDecimalVN4

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

testBigDecimalVP

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

testBigDecimalVN

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

testBigDecimalGen

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

testBigIntegerNull

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

testBigInteger0

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

testBigIntegerVPS

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

testBigIntegerVNS

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

testBigIntegerVPL

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

testBigIntegerVNL

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

testBigIntegerGen

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