|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTestCase
org.jboss.test.JBossTestCase (src)
org.jboss.test.txtimer.test.EntityBeanTestCase
Test the Tx timer service with an Entity.
Field Summary |
Fields inherited from class org.jboss.test.JBossTestCase (src) |
delegate, deploymentException, log |
Constructor Summary | |
EntityBeanTestCase(java.lang.String name)
|
Method Summary | |
static TestSuite |
suite()
|
void |
testEjbTimeoutCallerPrincipal()
Test that ejbTimeout see the container's default principal |
void |
testInstanceAsscociation()
Test that ejbTimeout is called once on each instance |
void |
testRetryAfterRollback()
Throw a RuntimeException in ejbTimeout, the timer should retry the invocation at least once |
void |
testReturnTimerHandle()
The TimerHandle sould not pass through the remote interface |
void |
testRollbackAfterCancel()
Cancel the timer and rollback the transaction, the timer cancel should be rolled back as well |
void |
testRollbackAfterCreate()
Create the timer and rollback the transaction, the timer create should be rolled back as well |
void |
testSingleEventDuration()
Test that ejbTimeout is called |
Methods inherited from class org.jboss.test.JBossTestCase (src) |
deploy, flushAuthCache, flushAuthCache, getBeanCount, getDeployerName, getDeploySetup, getDeployURL, getInitialContext, getIterationCount, getJndiInitFactory, getJndiURL, getLog, getResourceURL, getServer, getServerHost, getThreadCount, initDelegate, invoke, restartDBPool, sleep, testServerFound, undeploy |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EntityBeanTestCase(java.lang.String name)
Method Detail |
public static TestSuite suite() throws java.lang.Exception
java.lang.Exception
public void testSingleEventDuration() throws java.lang.Exception
java.lang.Exception
public void testInstanceAsscociation() throws java.lang.Exception
java.lang.Exception
public void testEjbTimeoutCallerPrincipal() throws java.lang.Exception
java.lang.Exception
public void testReturnTimerHandle() throws java.lang.Exception
java.lang.Exception
public void testRollbackAfterCreate() throws java.lang.Exception
java.lang.Exception
public void testRollbackAfterCancel() throws java.lang.Exception
java.lang.Exception
public void testRetryAfterRollback() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |