| process.WfMOpenTestCase process.Transition
Transition | public class Transition extends WfMOpenTestCase (Code) | | Test subject area of "transition" of processes.
This includes conditions, complex split and join transition conditions,
return values, etc.
After completion, all previously created processes and process definitions
are removed.
author: Holger Schlueter version: 1.0 |
Method Summary | |
public void | run(TestResult testResult) Runs the tests with an appropriate login context. | protected void | setUp() Initialisation.
The setUp method defines the way a state change is
realized. | public static Test | suite() Construct this test suite. | public void | testAndSplitOtherwise() Test correct handling of OTHERWISE case within an AND split. | public void | testCascade() Test conditions by use of a cascading process. | public void | testLoop() Test conditional looping within a process. | public void | testPath() Test the transition path when executing processes. | public void | testRun() Test creating a process, passing through and (automatically) removing. | public void | testScrabble() Test conditions by use of a cascading process. |
Transition | public Transition(String name)(Code) | | Constructor of this TestCase
Parameters: name - a String value |
run | public void run(TestResult testResult)(Code) | | Runs the tests with an appropriate login context.
Parameters: testResult - a TestResult value |
setUp | protected void setUp() throws Exception(Code) | | Initialisation.
The setUp method defines the way a state change is
realized. Override this method to change this way.
exception: Exception - if an error occurs |
suite | public static Test suite()(Code) | | Construct this test suite.
a Test value |
testAndSplitOtherwise | public void testAndSplitOtherwise() throws Exception(Code) | | Test correct handling of OTHERWISE case within an AND split.
exception: Exception - if an error occurs |
testCascade | public void testCascade() throws Exception(Code) | | Test conditions by use of a cascading process.
exception: Exception - if an error occurs |
testLoop | public void testLoop() throws Exception(Code) | | Test conditional looping within a process.
exception: Exception - if an error occurs |
testPath | public void testPath() throws Exception(Code) | | Test the transition path when executing processes.
exception: Exception - if an error occurs |
testRun | public void testRun() throws Exception(Code) | | Test creating a process, passing through and (automatically) removing.
exception: Exception - if an error occurs |
testScrabble | public void testScrabble() throws Exception(Code) | | Test conditions by use of a cascading process.
exception: Exception - if an error occurs |
|
|