FileDocCategorySizeDatePackage
OptimisticEmbeddedIdClassloaderTestCase.javaAPI DocJBoss 4.2.12309Fri Jul 13 20:53:06 BST 2007org.jboss.ejb3.test.clusteredentity.unit

OptimisticEmbeddedIdClassloaderTestCase

public class OptimisticEmbeddedIdClassloaderTestCase extends EmbeddedIdClassloaderTestCase
Executes the superclass tests, but with Hibernate and JBoss Cache configured for optimistic locking.
author
Brian Stansberry
version
$Id: ExtendedPersistenceUnitTestCase.java 60065 2007-01-27 23:05:44Z bstansberry@jboss.com $

Fields Summary
Constructors Summary
public OptimisticEmbeddedIdClassloaderTestCase(String name)

      super(name);
   
Methods Summary
protected java.lang.StringgetEarName()

      return "clusteredentity-embeddedid-optimistic-test";
   
public static junit.framework.Testsuite()


      TestSuite suite = new TestSuite();
      // Deploy an optimistic cache before the ear
      Test t1 = getDeploySetup(OptimisticEmbeddedIdClassloaderTestCase.class, 
                               "optimistic-entity-cache-service.xml, clusteredentity-embeddedid-optimistic-test.ear");

      suite.addTest(t1);

      // Create an initializer for the test suite
      DBSetup wrapper = new DBSetup(suite);
      return wrapper;