Class SynchLoopOneActionFromAnotherActionTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.processengine.synchronus.AbstractProcessEngineIntegrationTest
-
- de.hybris.platform.processengine.synchronus.SynchLoopOneActionFromAnotherActionTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class SynchLoopOneActionFromAnotherActionTest extends AbstractProcessEngineIntegrationTest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSynchLoopOneActionFromAnotherActionTest.SynchroAsynchroTracker
-
Field Summary
Fields Modifier and Type Field Description protected PropertyConfigSwitcherbreakWhenLoopstatic java.lang.StringCHECK_IF_CREATE_USER_ACTION_BEANstatic java.lang.StringCREATE_USER_ACTION_BEANstatic java.lang.StringPROCESS_DEFINITION_NAMEstatic java.lang.StringPROCESS_DEFINITION_NAME_TWO_LOOPSstatic java.lang.StringTEST_PROCESSstatic java.lang.StringTEST_PROCESS2-
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 SynchLoopOneActionFromAnotherActionTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoAfter()voiddoBefore()static de.hybris.platform.processengine.synchronus.SynchLoopOneActionFromAnotherActionTest.ContextgetContext()voidshouldNotRunSeparateTasksWhenLongLoopsDetected()voidshouldNotRunSeparateTaskWhenLongLoopDetected()-
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
-
breakWhenLoop
protected final PropertyConfigSwitcher breakWhenLoop
-
TEST_PROCESS
public static final java.lang.String TEST_PROCESS
- See Also:
- Constant Field Values
-
TEST_PROCESS2
public static final java.lang.String TEST_PROCESS2
- See Also:
- Constant Field Values
-
PROCESS_DEFINITION_NAME
public static final java.lang.String PROCESS_DEFINITION_NAME
- See Also:
- Constant Field Values
-
PROCESS_DEFINITION_NAME_TWO_LOOPS
public static final java.lang.String PROCESS_DEFINITION_NAME_TWO_LOOPS
- See Also:
- Constant Field Values
-
CHECK_IF_CREATE_USER_ACTION_BEAN
public static final java.lang.String CHECK_IF_CREATE_USER_ACTION_BEAN
- See Also:
- Constant Field Values
-
CREATE_USER_ACTION_BEAN
public static final java.lang.String CREATE_USER_ACTION_BEAN
- See Also:
- Constant Field Values
-
-
Method Detail
-
doBefore
public void doBefore() throws java.io.IOException- Throws:
java.io.IOException
-
doAfter
public void doAfter()
-
shouldNotRunSeparateTaskWhenLongLoopDetected
public void shouldNotRunSeparateTaskWhenLongLoopDetected() throws java.util.concurrent.TimeoutException- Throws:
java.util.concurrent.TimeoutException
-
shouldNotRunSeparateTasksWhenLongLoopsDetected
public void shouldNotRunSeparateTasksWhenLongLoopsDetected() throws java.util.concurrent.TimeoutException- Throws:
java.util.concurrent.TimeoutException
-
getContext
public static de.hybris.platform.processengine.synchronus.SynchLoopOneActionFromAnotherActionTest.Context getContext()
-
-