org.jbpm.pvm.internal.test
Class JobTestHelper

java.lang.Object
  extended by org.jbpm.pvm.internal.test.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)
           
 
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

executeMessage

public Execution executeMessage(long executionDbid)

executeTimer

public Execution executeTimer(long timerDbid)


Copyright © 2010 JBoss Community. All Rights Reserved.