Class ProcessDefinitionFactoryTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.processengine.definition.ProcessDefinitionFactoryTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class ProcessDefinitionFactoryTest extends ServicelayerBaseTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description ProcessDefinitionFactoryTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
testDuplicateContextParameter()
void
testEmptyContextParameterName()
void
testEmptyContextParameterType()
void
testEmptyOnErrorAction()
void
testEmptyProcessName()
void
testEmptyStartAction()
void
testInvalidContextParameterType()
void
testInvalidNamespace()
void
testInvalidOnErrorAction()
void
testInvalidStartAction()
void
testMissingContextParameterName()
void
testMissingContextParameterType()
void
testMissingProcessName()
void
testMissingStartAction()
void
testNoActions()
void
testProcessDefinitionFactoryGetAllProcessDefinitions()
void
testValid()
-
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
-
-
-
-
Method Detail
-
setUp
public void setUp()
-
testProcessDefinitionFactoryGetAllProcessDefinitions
public void testProcessDefinitionFactoryGetAllProcessDefinitions()
-
testValid
public void testValid() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testNoActions
public void testNoActions() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testInvalidNamespace
public void testInvalidNamespace() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMissingStartAction
public void testMissingStartAction() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testInvalidStartAction
public void testInvalidStartAction() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testEmptyStartAction
public void testEmptyStartAction() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMissingProcessName
public void testMissingProcessName() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testEmptyProcessName
public void testEmptyProcessName() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testDuplicateContextParameter
public void testDuplicateContextParameter() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMissingContextParameterName
public void testMissingContextParameterName() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testEmptyContextParameterName
public void testEmptyContextParameterName() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMissingContextParameterType
public void testMissingContextParameterType() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testEmptyContextParameterType
public void testEmptyContextParameterType() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testInvalidContextParameterType
public void testInvalidContextParameterType() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testEmptyOnErrorAction
public void testEmptyOnErrorAction() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testInvalidOnErrorAction
public void testInvalidOnErrorAction() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-