| org.objectweb.jonas.jtests.util.JTestCase org.objectweb.jonas.jtests.clients.timer.A_Timer
All known Subclasses: org.objectweb.jonas.jtests.clients.timer.A_TimerSession, org.objectweb.jonas.jtests.clients.timer.A_TimerEntity,
A_Timer | abstract public class A_Timer extends JTestCase (Code) | | This is test of the TimerService.
tests here are common to entity and session beans.
beans used : transacted
author: Philippe Durieux (jonas team) |
A_Timer | public A_Timer(String name)(Code) | | constructor
Parameters: name - name of the test suite. |
getSimple | abstract public Simple getSimple(int i) throws Exception(Code) | | Get an instance of the bean.
This method depends on the home used to get it.
For entity bean, the arg is used to get a particular instance.
For session beans, we get any session bean from the pool.
|
setUp | protected void setUp()(Code) | | Sets up the fixture, here load the beans if not loaded yet.
This method is called before a test is executed.
|
testCancel1 | public void testCancel1() throws Exception(Code) | | Test du cancel Timer
|
testGetExpiredHandle1 | public void testGetExpiredHandle1() throws Exception(Code) | | Test getHandle on one-shot timer that has expired
|
testGetHandle1 | public void testGetHandle1() throws Exception(Code) | | Test getHandle on one-shot timer
|
testGetTimerCancelled | public void testGetTimerCancelled() throws Exception(Code) | | Test getTimers with cancel outside tx
The cancelled timer should not be returned
|
testGetTimerCancelledInTx | public void testGetTimerCancelledInTx() throws Exception(Code) | | Test getTimers with cancel in the transaction.
The cancelled timer should not be returned
|
testGetTimers | public void testGetTimers() throws Exception(Code) | | Test of getTimers
|
testPeriodicTimerHandle1 | public void testPeriodicTimerHandle1() throws Exception(Code) | | Test periodic timer Handle
|
testTimeRemaining | public void testTimeRemaining() throws Exception(Code) | | test getTimeRemaining on a Timer
|
testTimer1 | public void testTimer1() throws Exception(Code) | | Test single-event timer
|
testTimer2 | public void testTimer2() throws Exception(Code) | | Test periodic timer
Can be used also to test persistent timers.
|
testTimerA1 | public void testTimerA1() throws Exception(Code) | | Test with absolute time
|
testTimerAin4mn | public void testTimerAin4mn() throws Exception(Code) | | Test with absolute time (for persistent timer test)
|
testTimerHandle1 | public void testTimerHandle1() throws Exception(Code) | | Test single-event timer Handle
|
|
|