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

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.OneToManyComplexPkTests
All Implemented Interfaces:
junit.framework.Test

public class OneToManyComplexPkTests
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
OneToManyComplexPkTests()
           
 
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

OneToManyComplexPkTests

public OneToManyComplexPkTests()
Method Detail

setUp

protected void setUp()
              throws java.lang.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:
java.lang.Exception

test00_AGetBExistingAB

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

test01_BGetAExistingAB

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

test02_ASetBDropExisting

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

test03_BSetADropExisting

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

test04_ASetBNewAB

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

test05_BSetANewAB

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

test06_ASetBExistingBNewA

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

test07_BSetAExistingBNewA

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

test08_ASetBExistingANewB

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

test09_BSetAExistingANewB

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

test10_RemoveRelationships

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

TODO_testCMPMappedToForeignKeyColumn

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

TODO_testSetCMPMappedToForeignKeyColumn

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

test11_Delete

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

test12_CascadeDelete

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

testIllegalCmrCollectionArgument

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

testModifyCmrCollectionOusideTx

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

testModifyCmrCollectionInNewTx

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

testIteratorConcurrentModification

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

testIteratorAndRemove

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

dump

protected void dump()
             throws java.sql.SQLException
Throws:
java.sql.SQLException


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