org.jboss.test.cmp2.commerce
Class CascadeDeleteTest

java.lang.Object
  extended byEJBTestCase
      extended byorg.jboss.test.cmp2.commerce.CascadeDeleteTest

public class CascadeDeleteTest
extends EJBTestCase

See Also:
Serialized Form

Constructor Summary
CascadeDeleteTest(java.lang.String name)
           
 
Method Summary
 void deleteAllAddresses(AddressHome (src)  addressHome)
           
 void deleteAllCategories(ProductCategoryHome (src)  catHome)
           
 void deleteAllLineItems(LineItemHome (src)  lineItemHome)
           
 void deleteAllOrders(OrderHome (src)  orderHome)
           
static Test suite()
           
 void tearDownEJB()
           
 void testCascadeDelete()
           
 void testCategory_Type_BatchCascadeDelete()
           
 void testCategory_Type()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CascadeDeleteTest

public CascadeDeleteTest(java.lang.String name)
Method Detail

suite

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

testCascadeDelete

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

testCategory_Type

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

testCategory_Type_BatchCascadeDelete

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

tearDownEJB

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

deleteAllCategories

public void deleteAllCategories(ProductCategoryHome (src)  catHome)
                         throws java.lang.Exception
Throws:
java.lang.Exception

deleteAllOrders

public void deleteAllOrders(OrderHome (src)  orderHome)
                     throws java.lang.Exception
Throws:
java.lang.Exception

deleteAllLineItems

public void deleteAllLineItems(LineItemHome (src)  lineItemHome)
                        throws java.lang.Exception
Throws:
java.lang.Exception

deleteAllAddresses

public void deleteAllAddresses(AddressHome (src)  addressHome)
                        throws java.lang.Exception
Throws:
java.lang.Exception