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

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

public class ManyToManyComplexPkTests
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
ManyToManyComplexPkTests()
           
 
Method Summary
protected  void dump()
           
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
 void testAGetBExistingAB()
           
 void testASetBDropExisting()
           
 void testASetBExistingANewB()
           
 void testASetBExistingBNewA()
           
 void testASetBNewAB()
           
 void testBGetAExistingAB()
           
 void testBSetADropExisting()
           
 void testBSetAExistingANewB()
           
 void testBSetAExistingBNewA()
           
 void testBSetANewAB()
           
 void testIllegalCmrCollectionArgument()
           
 void testIteratorAndRemove()
           
 void testIteratorConcurrentModification()
           
 void testModifyCmrCollectionInNewTx()
           
 void testModifyCmrCollectionOusideTx()
           
 void testRemoveRelationships()
           
 void testSetCmrNull()
           
 
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

ManyToManyComplexPkTests

public ManyToManyComplexPkTests()
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

testAGetBExistingAB

public void testAGetBExistingAB()
                         throws Exception
Throws:
Exception

testSetCmrNull

public void testSetCmrNull()
                    throws Exception
Throws:
Exception

testBGetAExistingAB

public void testBGetAExistingAB()
                         throws Exception
Throws:
Exception

testASetBDropExisting

public void testASetBDropExisting()
                           throws Exception
Throws:
Exception

testBSetADropExisting

public void testBSetADropExisting()
                           throws Exception
Throws:
Exception

testASetBNewAB

public void testASetBNewAB()
                    throws Exception
Throws:
Exception

testBSetANewAB

public void testBSetANewAB()
                    throws Exception
Throws:
Exception

testASetBExistingBNewA

public void testASetBExistingBNewA()
                            throws Exception
Throws:
Exception

testBSetAExistingBNewA

public void testBSetAExistingBNewA()
                            throws Exception
Throws:
Exception

testASetBExistingANewB

public void testASetBExistingANewB()
                            throws Exception
Throws:
Exception

testBSetAExistingANewB

public void testBSetAExistingANewB()
                            throws Exception
Throws:
Exception

testRemoveRelationships

public void testRemoveRelationships()
                             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.