Class ProcessFlowTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.yacceleratorfulfilmentprocess.test.ProcessFlowTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class ProcessFlowTest extends HybrisJUnit4Test
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description ProcessFlowTest()
-
Method Summary
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
prepare
public static void prepare() throws java.lang.Exception
- Throws:
java.lang.Exception
-
setupActions
public void setupActions()
-
removeProcessDefinitions
public static void removeProcessDefinitions()
-
resetServices
public void resetServices()
-
testErrorCode
public void testErrorCode() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
testProcessPaymentNotTaken
public void testProcessPaymentNotTaken() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
testErrorInProcess
public void testErrorInProcess() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
testExceptionInProcess
public void testExceptionInProcess() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
testConsignmentStatusCancel
public void testConsignmentStatusCancel() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
testProcessFraudFinalFraudScheduledForCleanup
public void testProcessFraudFinalFraudScheduledForCleanup() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
testProcessFraudFinalFraudNotScheduledForCleanup
public void testProcessFraudFinalFraudNotScheduledForCleanup() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
testProcessFraudFinalPotential
public void testProcessFraudFinalPotential() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
testProcessPaymentFailed
public void testProcessPaymentFailed() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
testProcessAuthorizationFailed
public void testProcessAuthorizationFailed() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
testProcessOk
public void testProcessOk() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
createProcess
protected BusinessProcessModel createProcess(java.lang.String processName)
-
setResultForAction
protected void setResultForAction(java.lang.String action, java.lang.String result)
-
setThrowExceptionForAction
protected void setThrowExceptionForAction(java.lang.String action, boolean throwException)
-
assertStep
protected void assertStep(BusinessProcessModel process, java.lang.String bean) throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
getBean
protected static java.lang.Object getBean(java.lang.String name)
-
assertProcessState
protected void assertProcessState(BusinessProcessModel process, ProcessState state)
-
-