org.ow2.bonita.pvm.job
Class JobTestHelper

java.lang.Object
  extended by org.ow2.bonita.pvm.job.JobTestHelper

public class JobTestHelper
extends java.lang.Object

helper class for testing that executes messages and timers in the test runner thread. This way, the test can simulate timers and messages being executed. The dueDate is ignored.

Author:
Tom Baeyens

Constructor Summary
JobTestHelper()
           
 
Method Summary
 Execution executeMessage(long executionDbid)
           
 Execution executeTimer(long timerDbid)
           
 java.lang.Long getAvailableMessages()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobTestHelper

public JobTestHelper()
Method Detail

getAvailableMessages

public java.lang.Long getAvailableMessages()

executeMessage

public Execution executeMessage(long executionDbid)

executeTimer

public Execution executeTimer(long timerDbid)


Copyright © 2009 OW2 Consortium. All Rights Reserved.