org.objectweb.jorm.runtime.gcbasictypeelem
Class TestGcBasicTypeElem

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

public class TestGcBasicTypeElem
extends TestRuntimeHelper

Author:
P. Dechamboux

Field Summary
 
Fields inherited from class org.objectweb.jorm.runtime.TestRuntimeHelper
LOG_NAME, logger, loggerFactory, mapper, TESTCONFIGFILE
 
Constructor Summary
TestGcBasicTypeElem(java.lang.String name)
           
 
Method Summary
 void __testByteArraySetNull()
           
 void __testCharArraySetNull()
           
 void __testDateSetNull()
           
 void __testObooleanSetNull()
           
 void __testObyteSetNull()
           
 void __testOcharSetNull()
           
 void __testOdoubleSetNull()
           
 void __testOfloatSetNull()
           
 void __testOintSetNull()
           
 void __testOlongSetNull()
           
 void __testOshortSetNull()
           
 void __testStringSetNull()
           
 void commonTestBooleanSet(GcBasicTypeAccessor gcacc1)
           
 void commonTestByteArraySet(GcBasicTypeAccessor gcacc1)
           
 void commonTestByteSet(GcBasicTypeAccessor gcacc1)
           
 void commonTestCharArraySet(GcBasicTypeAccessor gcacc1)
           
 void commonTestCharSet(GcBasicTypeAccessor gcacc1)
           
 void commonTestDateSet(GcBasicTypeAccessor gcacc1)
           
 void commonTestDoubleSet(GcBasicTypeAccessor gcacc1)
           
 void commonTestFloatSet(GcBasicTypeAccessor gcacc1)
           
 void commonTestIntSet(GcBasicTypeAccessor gcacc1)
           
 void commonTestLongSet(GcBasicTypeAccessor gcacc1)
           
 void commonTestObooleanSet(GcBasicTypeAccessor gcacc1)
           
 void commonTestObyteSet(GcBasicTypeAccessor gcacc1)
           
 void commonTestOcharSet(GcBasicTypeAccessor gcacc1)
           
 void commonTestOdoubleSet(GcBasicTypeAccessor gcacc1)
           
 void commonTestOfloatSet(GcBasicTypeAccessor gcacc1)
           
 void commonTestOintSet(GcBasicTypeAccessor gcacc1)
           
 void commonTestOlongSet(GcBasicTypeAccessor gcacc1)
           
 void commonTestOshortSet(GcBasicTypeAccessor gcacc1)
           
 void commonTestSet(GcBasicTypeAccessor gcacc1, java.lang.String classname, java.lang.String loggername)
           
 void commonTestShortSet(GcBasicTypeAccessor gcacc1)
           
 void commonTestStringSet(GcBasicTypeAccessor gcacc1)
           
protected  PBinder getBinder(java.lang.String className)
           
protected  java.lang.String getLoggerName()
           
 void testBooleanSetEmpty()
           
 void testBooleanSetOne()
           
 void testBooleanSetSeveral()
           
 void testByteArraySetEmpty()
           
 void testByteArraySetOne()
           
 void testByteArraySetSeveral()
           
 void testByteSetEmpty()
           
 void testByteSetOne()
           
 void testByteSetSeveral()
           
 void testCharArraySetEmpty()
           
 void testCharArraySetOne()
           
 void testCharArraySetSeveral()
           
 void testCharSetEmpty()
           
 void testCharSetOne()
           
 void testCharSetSeveral()
           
 void testDateSetEmpty()
           
 void testDateSetOne()
           
 void testDateSetSeveral()
           
 void testDoubleSetEmpty()
           
 void testDoubleSetOne()
           
 void testDoubleSetSeveral()
           
 void testFloatSetEmpty()
           
 void testFloatSetOne()
           
 void testFloatSetSeveral()
           
 void testIntSetEmpty()
           
 void testIntSetOne()
           
 void testIntSetSeveral()
           
 void testLongSetEmpty()
           
 void testLongSetOne()
           
 void testLongSetSeveral()
           
 void testObooleanSetEmpty()
           
 void testObooleanSetOne()
           
 void testObooleanSetSeveral()
           
 void testObyteSetEmpty()
           
 void testObyteSetOne()
           
 void testObyteSetSeveral()
           
 void testOcharSetEmpty()
           
 void testOcharSetOne()
           
 void testOcharSetSeveral()
           
 void testOdoubleSetEmpty()
           
 void testOdoubleSetOne()
           
 void testOdoubleSetSeveral()
           
 void testOfloatSetEmpty()
           
 void testOfloatSetOne()
           
 void testOfloatSetSeveral()
           
 void testOintSetEmpty()
           
 void testOintSetOne()
           
 void testOintSetSeveral()
           
 void testOlongSetEmpty()
           
 void testOlongSetOne()
           
 void testOlongSetSeveral()
           
 void testOshortSetEmpty()
           
 void testOshortSetOne()
           
 void testOshortSetSeveral()
           
 void testShortSetEmpty()
           
 void testShortSetOne()
           
 void testShortSetSeveral()
           
 void testStringSetEmpty()
           
 void testStringSetOne()
           
 void testStringSetSeveral()
           
 
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

TestGcBasicTypeElem

public TestGcBasicTypeElem(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

commonTestSet

public void commonTestSet(GcBasicTypeAccessor gcacc1,
                          java.lang.String classname,
                          java.lang.String loggername)
                   throws java.lang.Exception
Throws:
java.lang.Exception

commonTestBooleanSet

public void commonTestBooleanSet(GcBasicTypeAccessor gcacc1)
                          throws java.lang.Exception
Throws:
java.lang.Exception

testBooleanSetEmpty

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

testBooleanSetOne

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

testBooleanSetSeveral

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

commonTestObooleanSet

public void commonTestObooleanSet(GcBasicTypeAccessor gcacc1)
                           throws java.lang.Exception
Throws:
java.lang.Exception

testObooleanSetEmpty

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

testObooleanSetOne

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

__testObooleanSetNull

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

testObooleanSetSeveral

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

commonTestByteSet

public void commonTestByteSet(GcBasicTypeAccessor gcacc1)
                       throws java.lang.Exception
Throws:
java.lang.Exception

testByteSetEmpty

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

testByteSetOne

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

testByteSetSeveral

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

commonTestObyteSet

public void commonTestObyteSet(GcBasicTypeAccessor gcacc1)
                        throws java.lang.Exception
Throws:
java.lang.Exception

testObyteSetEmpty

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

testObyteSetOne

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

__testObyteSetNull

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

testObyteSetSeveral

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

commonTestShortSet

public void commonTestShortSet(GcBasicTypeAccessor gcacc1)
                        throws java.lang.Exception
Throws:
java.lang.Exception

testShortSetEmpty

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

testShortSetOne

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

testShortSetSeveral

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

commonTestOshortSet

public void commonTestOshortSet(GcBasicTypeAccessor gcacc1)
                         throws java.lang.Exception
Throws:
java.lang.Exception

testOshortSetEmpty

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

testOshortSetOne

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

__testOshortSetNull

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

testOshortSetSeveral

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

commonTestIntSet

public void commonTestIntSet(GcBasicTypeAccessor gcacc1)
                      throws java.lang.Exception
Throws:
java.lang.Exception

testIntSetEmpty

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

testIntSetOne

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

testIntSetSeveral

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

commonTestOintSet

public void commonTestOintSet(GcBasicTypeAccessor gcacc1)
                       throws java.lang.Exception
Throws:
java.lang.Exception

testOintSetEmpty

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

testOintSetOne

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

__testOintSetNull

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

testOintSetSeveral

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

commonTestLongSet

public void commonTestLongSet(GcBasicTypeAccessor gcacc1)
                       throws java.lang.Exception
Throws:
java.lang.Exception

testLongSetEmpty

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

testLongSetOne

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

testLongSetSeveral

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

commonTestOlongSet

public void commonTestOlongSet(GcBasicTypeAccessor gcacc1)
                        throws java.lang.Exception
Throws:
java.lang.Exception

testOlongSetEmpty

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

testOlongSetOne

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

__testOlongSetNull

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

testOlongSetSeveral

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

commonTestFloatSet

public void commonTestFloatSet(GcBasicTypeAccessor gcacc1)
                        throws java.lang.Exception
Throws:
java.lang.Exception

testFloatSetEmpty

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

testFloatSetOne

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

testFloatSetSeveral

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

commonTestOfloatSet

public void commonTestOfloatSet(GcBasicTypeAccessor gcacc1)
                         throws java.lang.Exception
Throws:
java.lang.Exception

testOfloatSetEmpty

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

testOfloatSetOne

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

__testOfloatSetNull

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

testOfloatSetSeveral

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

commonTestDoubleSet

public void commonTestDoubleSet(GcBasicTypeAccessor gcacc1)
                         throws java.lang.Exception
Throws:
java.lang.Exception

testDoubleSetEmpty

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

testDoubleSetOne

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

testDoubleSetSeveral

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

commonTestOdoubleSet

public void commonTestOdoubleSet(GcBasicTypeAccessor gcacc1)
                          throws java.lang.Exception
Throws:
java.lang.Exception

testOdoubleSetEmpty

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

testOdoubleSetOne

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

__testOdoubleSetNull

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

testOdoubleSetSeveral

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

commonTestCharSet

public void commonTestCharSet(GcBasicTypeAccessor gcacc1)
                       throws java.lang.Exception
Throws:
java.lang.Exception

testCharSetEmpty

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

testCharSetOne

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

testCharSetSeveral

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

commonTestOcharSet

public void commonTestOcharSet(GcBasicTypeAccessor gcacc1)
                        throws java.lang.Exception
Throws:
java.lang.Exception

testOcharSetEmpty

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

testOcharSetOne

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

__testOcharSetNull

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

testOcharSetSeveral

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

commonTestStringSet

public void commonTestStringSet(GcBasicTypeAccessor gcacc1)
                         throws java.lang.Exception
Throws:
java.lang.Exception

testStringSetEmpty

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

testStringSetOne

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

__testStringSetNull

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

testStringSetSeveral

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

commonTestDateSet

public void commonTestDateSet(GcBasicTypeAccessor gcacc1)
                       throws java.lang.Exception
Throws:
java.lang.Exception

testDateSetEmpty

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

testDateSetOne

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

__testDateSetNull

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

testDateSetSeveral

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

commonTestByteArraySet

public void commonTestByteArraySet(GcBasicTypeAccessor gcacc1)
                            throws java.lang.Exception
Throws:
java.lang.Exception

testByteArraySetEmpty

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

testByteArraySetOne

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

__testByteArraySetNull

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

testByteArraySetSeveral

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

commonTestCharArraySet

public void commonTestCharArraySet(GcBasicTypeAccessor gcacc1)
                            throws java.lang.Exception
Throws:
java.lang.Exception

testCharArraySetEmpty

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

testCharArraySetOne

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

__testCharArraySetNull

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

testCharArraySetSeveral

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