org.apache.openejb.test.entity.cmr
Class OneToManyTests

java.lang.Object
  extended by junit.framework.Assert
      extended by org.apache.openejb.test.NumberedTestCase
          extended by org.apache.openejb.test.NamedTestCase
              extended by org.apache.openejb.test.entity.cmr.AbstractCMRTest
                  extended by org.apache.openejb.test.entity.cmr.OneToManyTests
All Implemented Interfaces:
junit.framework.Test

public class OneToManyTests
extends AbstractCMRTest

Version:
$Revision: 607077 $ $Date: 2007-12-27 15:55:23 +0100 (Do, 27. Dez 2007) $

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.openejb.test.NumberedTestCase
NumberedTestCase.NamedTest, NumberedTestCase.TestSetup, NumberedTestCase.TestTearDown
 
Field Summary
 
Fields inherited from class org.apache.openejb.test.entity.cmr.AbstractCMRTest
ds, initialContext
 
Fields inherited from class org.apache.openejb.test.NamedTestCase
testName
 
Fields inherited from class org.apache.openejb.test.NumberedTestCase
standardPrefix
 
Constructor Summary
OneToManyTests()
           
 
Method Summary
protected  void dump()
           
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
 void test00_AGetBExistingAB()
           
 void test01_BGetAExistingAB()
           
 void test02_ASetBDropExisting()
           
 void test03_BSetADropExisting()
           
 void test04_ASetBNewAB()
           
 void test05_BSetANewAB()
           
 void test06_ASetBExistingBNewA()
           
 void test07_BSetAExistingBNewA()
           
 void test08_ASetBExistingANewB()
           
 void test09_BSetAExistingANewB()
           
 void test10_RemoveRelationships()
           
 void test11_Delete()
           
 void test12_CascadeDelete()
           
 void testIllegalCmrCollectionArgument()
           
 void testIteratorAndRemove()
           
 void testIteratorConcurrentModification()
           
 void testModifyCmrCollectionInNewTx()
           
 void testModifyCmrCollectionOusideTx()
           
 void TODO_testCMPMappedToForeignKeyColumn()
           
 void TODO_testSetCMPMappedToForeignKeyColumn()
           
 
Methods inherited from class org.apache.openejb.test.entity.cmr.AbstractCMRTest
beginTransaction, close, close, close, completeTransaction, dumpTable
 
Methods inherited from class org.apache.openejb.test.NamedTestCase
name
 
Methods inherited from class org.apache.openejb.test.NumberedTestCase
countTestCases, createTest, createTestName, removePrefix, removePrefix, run, run, runTestMethod, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OneToManyTests

public OneToManyTests()
Method Detail

setUp

protected void setUp()
              throws Exception
Description copied from class: AbstractCMRTest
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.

Overrides:
setUp in class AbstractCMRTest
Throws:
Exception

test00_AGetBExistingAB

public void test00_AGetBExistingAB()
                            throws Exception
Throws:
Exception

test01_BGetAExistingAB

public void test01_BGetAExistingAB()
                            throws Exception
Throws:
Exception

test02_ASetBDropExisting

public void test02_ASetBDropExisting()
                              throws Exception
Throws:
Exception

test03_BSetADropExisting

public void test03_BSetADropExisting()
                              throws Exception
Throws:
Exception

test04_ASetBNewAB

public void test04_ASetBNewAB()
                       throws Exception
Throws:
Exception

test05_BSetANewAB

public void test05_BSetANewAB()
                       throws Exception
Throws:
Exception

test06_ASetBExistingBNewA

public void test06_ASetBExistingBNewA()
                               throws Exception
Throws:
Exception

test07_BSetAExistingBNewA

public void test07_BSetAExistingBNewA()
                               throws Exception
Throws:
Exception

test08_ASetBExistingANewB

public void test08_ASetBExistingANewB()
                               throws Exception
Throws:
Exception

test09_BSetAExistingANewB

public void test09_BSetAExistingANewB()
                               throws Exception
Throws:
Exception

test10_RemoveRelationships

public void test10_RemoveRelationships()
                                throws Exception
Throws:
Exception

TODO_testCMPMappedToForeignKeyColumn

public void TODO_testCMPMappedToForeignKeyColumn()
                                          throws Exception
Throws:
Exception

TODO_testSetCMPMappedToForeignKeyColumn

public void TODO_testSetCMPMappedToForeignKeyColumn()
                                             throws Exception
Throws:
Exception

test11_Delete

public void test11_Delete()
                   throws Exception
Throws:
Exception

test12_CascadeDelete

public void test12_CascadeDelete()
                          throws Exception
Throws:
Exception

testIllegalCmrCollectionArgument

public void testIllegalCmrCollectionArgument()
                                      throws Exception
Throws:
Exception

testModifyCmrCollectionOusideTx

public void testModifyCmrCollectionOusideTx()
                                     throws Exception
Throws:
Exception

testModifyCmrCollectionInNewTx

public void testModifyCmrCollectionInNewTx()
                                    throws Exception
Throws:
Exception

testIteratorConcurrentModification

public void testIteratorConcurrentModification()
                                        throws Exception
Throws:
Exception

testIteratorAndRemove

public void testIteratorAndRemove()
                           throws Exception
Throws:
Exception

dump

protected void dump()
             throws SQLException
Throws:
SQLException


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.