| load.GenericTest
GenericTest | public class GenericTest extends TestCase (Code) | | This class can be used in two ways:
It may define a test suite based on process defintion of process P0 in XPDL
file "DefaultForGenericTest.xml" (simple JUnit test) OR
It can be used in a generic way by defining a particulary XPDL file
containing the process P0 process defintion (e. g. used for load test) using
the appropriate constructor.
author: Christian Weidauer version: 1.0 |
GenericTest | public GenericTest(String name)(Code) | | Constructor of this TestCase
Parameters: name - a String value |
GenericTest | public GenericTest(String name, String packageID)(Code) | | Constructor of this TestCase
Parameters: name - test case Parameters: packageID - ID of package of process P0 |
GenericTest | public GenericTest(String name, String packageID, ProcessData initialProcessData)(Code) | | Constructor of this TestCase
Parameters: name - test case Parameters: packageID - ID of package of process P0 Parameters: initialProcessData - process data which is supposed to be set |
cleaningSuite | public static TestSuite cleaningSuite()(Code) | | Deliver a suite for cleaning the processes (including closing, waiting
for not running and removing).
a Test value |
closeAllCloseableProcesses | public static void closeAllCloseableProcesses() throws Exception(Code) | | Close (terminate, abort) all processes.
exception: Exception - if an error occurs |
createAndStartProcess | public void createAndStartProcess() throws Exception(Code) | | Create and start the process of id="P0".
exception: Exception - if an error occurs |
createProcess | public void createProcess() throws Exception(Code) | | Create the process of id="P0".
exception: Exception - if an error occurs |
createProcess | protected Process createProcess(String pkgId, String prcId) throws Exception(Code) | | Describe createProcess method here.
Parameters: pkgId - a String value Parameters: prcId - a String value a Process value exception: Exception - if an error occurs |
createStartAndInitializeProcess | public void createStartAndInitializeProcess() throws Exception(Code) | | Create and start the process of id="P0".
exception: Exception - if an error occurs |
prepareForCreateProcess | public void prepareForCreateProcess() throws Exception(Code) | | Prepare for creating a process.
exception: Exception - if an error occurs |
removeAllProcesses | public static void removeAllProcesses() throws Exception(Code) | | Removes all processes created.
exception: Exception - if an error occurs |
suite | public static Test suite()(Code) | | Construct this test suite.
a Test value |
waitForNoRunningProcesses | public static void waitForNoRunningProcesses() throws Exception(Code) | | Wait until no processes are running anymore.
exception: Exception - if an error occurs |
|
|