Class ProcessEngineIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.processengine.process.ProcessEngineIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class ProcessEngineIntegrationTest extends ServicelayerBaseTest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classProcessEngineIntegrationTest.TestCustomUserAction
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROCESS_DEFINITION_NAMEstatic java.lang.StringTEST_ACTION_BEANstatic java.lang.StringTEST_LOG_MSGstatic java.lang.StringTEST_PROCESSstatic java.lang.StringTEST_USER-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description ProcessEngineIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoAfter()voiddoBefore()voidshouldSaveLogsAsProcessTaskLogModel()voidtestRunningProcessAsAdmin()voidtestRunningProcessAsAnonymous()voidtestRunningProcessAsCustomUser()voidtestSessionClosingResetsUser()-
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
-
TEST_PROCESS
public static final java.lang.String TEST_PROCESS
- See Also:
- Constant Field Values
-
PROCESS_DEFINITION_NAME
public static final java.lang.String PROCESS_DEFINITION_NAME
- See Also:
- Constant Field Values
-
TEST_ACTION_BEAN
public static final java.lang.String TEST_ACTION_BEAN
- See Also:
- Constant Field Values
-
TEST_USER
public static final java.lang.String TEST_USER
- See Also:
- Constant Field Values
-
TEST_LOG_MSG
public static final java.lang.String TEST_LOG_MSG
- See Also:
- Constant Field Values
-
-
Method Detail
-
doBefore
public void doBefore() throws java.io.IOException- Throws:
java.io.IOException
-
doAfter
public void doAfter()
-
testRunningProcessAsCustomUser
public void testRunningProcessAsCustomUser() throws java.lang.InterruptedException, java.util.concurrent.TimeoutException- Throws:
java.lang.InterruptedExceptionjava.util.concurrent.TimeoutException
-
shouldSaveLogsAsProcessTaskLogModel
public void shouldSaveLogsAsProcessTaskLogModel() throws java.lang.InterruptedException, java.util.concurrent.TimeoutException- Throws:
java.lang.InterruptedExceptionjava.util.concurrent.TimeoutException
-
testRunningProcessAsAdmin
public void testRunningProcessAsAdmin() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
testRunningProcessAsAnonymous
public void testRunningProcessAsAnonymous() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
testSessionClosingResetsUser
public void testSessionClosingResetsUser()
-
-