Package de.hybris.platform.processengine
Class MultipleProcessesWithCycleTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.processengine.synchronus.AbstractProcessEngineIntegrationTest
-
- de.hybris.platform.processengine.MultipleProcessesWithCycleTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class MultipleProcessesWithCycleTest extends AbstractProcessEngineIntegrationTest
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CHILD_PROCESS
static java.lang.String
CHILD_PROCESS_DEFINITION_NAME
static java.lang.String
PARENT_ACTION_EVENT_NAME
static java.lang.String
PARENT_PROCESS
static java.lang.String
PARENT_PROCESS_DEFINITION_NAME
-
Fields inherited from class de.hybris.platform.processengine.synchronus.AbstractProcessEngineIntegrationTest
canJoinPreviousNodeDefaultValue
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description MultipleProcessesWithCycleTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
cancelChildProcess()
static void
confirmChildProcessCancellation()
void
doAfter()
void
doBefore()
void
sendParentProcessCancellation()
static void
sleep1000()
void
testMultipleProcesses()
-
Methods inherited from class de.hybris.platform.processengine.synchronus.AbstractProcessEngineIntegrationTest
waitForBusinessProcess
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Field Detail
-
PARENT_PROCESS
public static final java.lang.String PARENT_PROCESS
- See Also:
- Constant Field Values
-
CHILD_PROCESS
public static final java.lang.String CHILD_PROCESS
- See Also:
- Constant Field Values
-
PARENT_PROCESS_DEFINITION_NAME
public static final java.lang.String PARENT_PROCESS_DEFINITION_NAME
- See Also:
- Constant Field Values
-
CHILD_PROCESS_DEFINITION_NAME
public static final java.lang.String CHILD_PROCESS_DEFINITION_NAME
- See Also:
- Constant Field Values
-
PARENT_ACTION_EVENT_NAME
public static final java.lang.String PARENT_ACTION_EVENT_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
doBefore
public void doBefore() throws java.io.IOException
- Throws:
java.io.IOException
-
doAfter
public void doAfter()
-
testMultipleProcesses
public void testMultipleProcesses() throws java.util.concurrent.TimeoutException
- Throws:
java.util.concurrent.TimeoutException
-
sendParentProcessCancellation
public void sendParentProcessCancellation()
-
cancelChildProcess
public static void cancelChildProcess()
-
sleep1000
public static void sleep1000() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
confirmChildProcessCancellation
public static void confirmChildProcessCancellation()
-
-