org.jboss.test.cmp2.dbschema.relationship
Class RelationshipSchemaUnitTestCase

java.lang.Object
  extended byEJBTestCase
      extended byorg.jboss.test.cmp2.dbschema.util.AbstractDBSchemaTestCase (src) 
          extended byorg.jboss.test.cmp2.dbschema.relationship.RelationshipSchemaUnitTestCase

public class RelationshipSchemaUnitTestCase
extends AbstractDBSchemaTestCase (src)

The tests for generated database schema for entity beans from cmp2/relationship. Each test method is named by the pattern: test${ejb-relationship-name}

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.test.cmp2.dbschema.util.AbstractDBSchemaTestCase (src)
datasource, datasourceName
 
Constructor Summary
RelationshipSchemaUnitTestCase(java.lang.String s)
           
 
Method Summary
static Test suite()
           
 void testAB_ManyToMany_Bi()
           
 void testAB_ManyToMany_Uni()
           
 void testAB_ManyToOne_Uni_FK()
           
 void testAB_ManyToOne_Uni_Table()
           
 void testAB_OneToMany_Bi_FK()
           
 void testAB_OneToMany_Bi_Table()
           
 void testAB_OneToMany_Uni_FK()
           
 void testAB_OneToMany_Uni_Table()
           
 void testAB_OneToOne_Bi_FK()
           
 void testAB_OneToOne_Bi_Table()
           
 void testAB_OneToOne_Uni_FK()
           
 void testAB_OneToOne_Uni_Table()
           
 
Methods inherited from class org.jboss.test.cmp2.dbschema.util.AbstractDBSchemaTestCase (src)
getConnection, getDataSource, getDataSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelationshipSchemaUnitTestCase

public RelationshipSchemaUnitTestCase(java.lang.String s)
Method Detail

suite

public static Test suite()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testAB_OneToOne_Bi_Table

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

testAB_OneToOne_Bi_FK

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

testAB_OneToOne_Uni_Table

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

testAB_OneToOne_Uni_FK

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

testAB_OneToMany_Bi_Table

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

testAB_OneToMany_Bi_FK

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

testAB_OneToMany_Uni_Table

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

testAB_OneToMany_Uni_FK

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

testAB_ManyToOne_Uni_Table

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

testAB_ManyToOne_Uni_FK

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

testAB_ManyToMany_Bi

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

testAB_ManyToMany_Uni

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