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

Quick Search    Search Deep

org.jbpm.examples.test
Class HolidayTest  view HolidayTest download HolidayTest.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.HolidayTest
All Implemented Interfaces:
org.apache.cactus.internal.CactusTestCase, junit.framework.Test

public class HolidayTest
extends org.apache.cactus.ServletTestCase


Field Summary
private  org.jbpm.workflow.definition.DefinitionComponent definitionComponent
           
private  org.jbpm.workflow.execution.ExecutionComponent executionComponent
           
private static boolean isDeployed
           
private static org.apache.log4j.Logger log
           
private  org.jbpm.util.client.LoginUtil loginUtil
           
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
HolidayTest(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 testCancelFirstSubFlow()
           
 void testCancelInstance()
           
 void testCancelLastSubFlow()
           
 void testHolidayDelegation()
           
 void testHolidayProcessApproval()
           
 void testHolidayProcessDisapproval()
           
 
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

isDeployed

private static boolean isDeployed

testUtil

private TestUtil testUtil

loginUtil

private org.jbpm.util.client.LoginUtil loginUtil

executionComponent

private org.jbpm.workflow.execution.ExecutionComponent executionComponent

definitionComponent

private org.jbpm.workflow.definition.DefinitionComponent definitionComponent

serviceLocator

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

log

private static final org.apache.log4j.Logger log
Constructor Detail

HolidayTest

public HolidayTest(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.


testHolidayProcessApproval

public void testHolidayProcessApproval()
                                throws java.lang.Exception

testHolidayProcessDisapproval

public void testHolidayProcessDisapproval()
                                   throws java.lang.Exception

testHolidayDelegation

public void testHolidayDelegation()
                           throws java.lang.Exception

testCancelFirstSubFlow

public void testCancelFirstSubFlow()
                            throws java.lang.Exception

testCancelLastSubFlow

public void testCancelLastSubFlow()
                           throws java.lang.Exception

testCancelInstance

public void testCancelInstance()
                        throws java.lang.Exception

startNewHolidayRequest

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