org.jbpm.pvm.job
Class JobTestHelper

Object
  extended by JobTestHelper

public class JobTestHelper
extends 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 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 © 2008 JBoss, a division of Red Hat. All Rights Reserved.