Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jbpm.examples.test
Class SchedulerTest  view SchedulerTest download SchedulerTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.cactus.internal.AbstractCactusTestCase
              extended byorg.apache.cactus.ServletTestCase
                  extended byorg.jbpm.examples.test.SchedulerTest
All Implemented Interfaces:
org.apache.cactus.internal.CactusTestCase, junit.framework.Test

public class SchedulerTest
extends org.apache.cactus.ServletTestCase


Field Summary
private static int BUFFER_SIZE
           
private  org.jbpm.workflow.definition.DefinitionComponent definitionComponent
           
private  org.jbpm.workflow.execution.ExecutionComponent executionComponent
           
private static org.apache.log4j.Logger log
           
private  org.jbpm.util.client.LoginUtil loginUtil
           
private  org.jbpm.workflow.scheduler.SchedulerComponent schedulerComponent
           
private static org.jbpm.util.client.ServiceLocator serviceLocator
           
private  TestUtil testUtil
           
 
Fields inherited from class org.apache.cactus.ServletTestCase
config, request, response, session
 
Fields inherited from class org.apache.cactus.internal.AbstractCactusTestCase
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
SchedulerTest(java.lang.String name)
           
 
Method Summary
 void setUp()
          Sets up the fixture, for example, open a network connection.
private  org.jbpm.workflow.execution.ProcessInstance startNewHolidayRequest(java.lang.String actorId, java.util.Map attributeValues)
           
 void tearDown()
          Tears down the fixture, for example, close a network connection.
 void testTaskScheduling()
          This is to test task scheduling from outside running process instance
 void testTaskScheduling2()
          This is to test task scheduling from inside running process instance
 
Methods inherited from class org.apache.cactus.ServletTestCase
createProtocolHandler
 
Methods inherited from class org.apache.cactus.internal.AbstractCactusTestCase
runBare, runBareServer
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.cactus.internal.CactusTestCase
runBareServer
 

Field Detail

serviceLocator

private static final org.jbpm.util.client.ServiceLocator serviceLocator

log

private static final org.apache.log4j.Logger log

loginUtil

private org.jbpm.util.client.LoginUtil loginUtil

testUtil

private TestUtil testUtil

definitionComponent

private org.jbpm.workflow.definition.DefinitionComponent definitionComponent

schedulerComponent

private org.jbpm.workflow.scheduler.SchedulerComponent schedulerComponent

executionComponent

private org.jbpm.workflow.execution.ExecutionComponent executionComponent

BUFFER_SIZE

private static int BUFFER_SIZE
Constructor Detail

SchedulerTest

public SchedulerTest(java.lang.String name)
Method Detail

setUp

public void setUp()
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.


tearDown

public void tearDown()
Description copied from class: junit.framework.TestCase
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.


testTaskScheduling

public void testTaskScheduling()
This is to test task scheduling from outside running process instance


testTaskScheduling2

public void testTaskScheduling2()
This is to test task scheduling from inside running process instance


startNewHolidayRequest

private org.jbpm.workflow.execution.ProcessInstance startNewHolidayRequest(java.lang.String actorId,
                                                                           java.util.Map attributeValues)