org.apache.ojb.broker
Class AnonymousFieldsTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.ojb.broker.AnonymousFieldsTest
All Implemented Interfaces:
junit.framework.Test

public class AnonymousFieldsTest
extends junit.framework.TestCase

This TestClass tests the anonymous fields feature.


Constructor Summary
AnonymousFieldsTest(java.lang.String name)
          Insert the method's description here.
 
Method Summary
static void main(java.lang.String[] args)
           
 void setUp()
          Insert the method's description here.
 void tearDown()
          Insert the method's description here.
 void testHandlingOfMultipleAnonymousFieldPerObject()
           
 void testHandlingOfSerializedObjects()
          test handling of serialized objects (simulate handling of objects across different JVM, e.g.
 void testMultipleJoinedInheritanceAndExtents()
           
 void testQuerySuperField()
          Query Attribute of Super class E-F
 void testQuerySuperField2()
          Query Attribute of Super class E-F-G
 void testVerticalInheritanceStoreAndLoad()
          write an entry using vertical inheritance and try to read it again.
 void testVerticalInheritanceStoreAndLoad2()
          write an entry using vertical inheritance and try to read it again.
 void testVerticalInheritanceStoreAndLoad3()
          write an entry using vertical inheritance and try to read it again.
 void testVerticalInheritanceUpdate()
          write an entry using vertical inheritance and try to read it again.
 void testVerticalInheritanceUpdate2()
          write an entry using vertical inheritance and try to read it again.
 void testVerticalInheritanceUpdate3()
          write an entry using vertical inheritance and try to read it again.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

AnonymousFieldsTest

public AnonymousFieldsTest(java.lang.String name)
Insert the method's description here. Creation date: (24.12.2000 00:33:40)

Method Detail

main

public static void main(java.lang.String[] args)

setUp

public void setUp()
           throws java.lang.Exception
Insert the method's description here. Creation date: (06.12.2000 21:58:53)

Throws:
java.lang.Exception

tearDown

public void tearDown()
Insert the method's description here. Creation date: (06.12.2000 21:59:14)


testHandlingOfMultipleAnonymousFieldPerObject

public void testHandlingOfMultipleAnonymousFieldPerObject()

testHandlingOfSerializedObjects

public void testHandlingOfSerializedObjects()
test handling of serialized objects (simulate handling of objects across different JVM, e.g. AppServer)


testVerticalInheritanceStoreAndLoad

public void testVerticalInheritanceStoreAndLoad()
                                         throws java.lang.Exception
write an entry using vertical inheritance and try to read it again. E-F

Throws:
java.lang.Exception

testVerticalInheritanceStoreAndLoad2

public void testVerticalInheritanceStoreAndLoad2()
                                          throws java.lang.Exception
write an entry using vertical inheritance and try to read it again. E-F-G

Throws:
java.lang.Exception

testVerticalInheritanceStoreAndLoad3

public void testVerticalInheritanceStoreAndLoad3()
                                          throws java.lang.Exception
write an entry using vertical inheritance and try to read it again. E-F1-G1, autoincrement id in E

Throws:
java.lang.Exception

testVerticalInheritanceUpdate

public void testVerticalInheritanceUpdate()
                                   throws java.lang.Exception
write an entry using vertical inheritance and try to read it again. E-F

Throws:
java.lang.Exception

testVerticalInheritanceUpdate2

public void testVerticalInheritanceUpdate2()
                                    throws java.lang.Exception
write an entry using vertical inheritance and try to read it again. E-F-G

Throws:
java.lang.Exception

testVerticalInheritanceUpdate3

public void testVerticalInheritanceUpdate3()
                                    throws java.lang.Exception
write an entry using vertical inheritance and try to read it again. E-F1-G1, autoincrement id in E

Throws:
java.lang.Exception

testQuerySuperField

public void testQuerySuperField()
Query Attribute of Super class E-F


testQuerySuperField2

public void testQuerySuperField2()
Query Attribute of Super class E-F-G


testMultipleJoinedInheritanceAndExtents

public void testMultipleJoinedInheritanceAndExtents()


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14