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

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

public class OneToOneComplexPkTests
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
OneToOneComplexPkTests()
           
 
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 test09_BSetAExistingANewB()
           
 void test10_RemoveRelationships()
           
 void test11_CascadeDelete()
           
 void Xtest12_CMPMappedToForeignKeyColumn()
           
 void Xtest13_SetCMPMappedToForeignKeyColumn()
           
 
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

OneToOneComplexPkTests

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

test09_BSetAExistingANewB

public void test09_BSetAExistingANewB()
                               throws Exception
Throws:
Exception

test10_RemoveRelationships

public void test10_RemoveRelationships()
                                throws Exception
Throws:
Exception

test11_CascadeDelete

public void test11_CascadeDelete()
                          throws Exception
Throws:
Exception

Xtest12_CMPMappedToForeignKeyColumn

public void Xtest12_CMPMappedToForeignKeyColumn()
                                         throws Exception
Throws:
Exception

Xtest13_SetCMPMappedToForeignKeyColumn

public void Xtest13_SetCMPMappedToForeignKeyColumn()
                                            throws Exception
Throws:
Exception

dump

protected void dump()
             throws Exception
Throws:
Exception


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