Class ScriptingEventListenersIntegrationTests
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTransactionalBaseTest
-
- de.hybris.platform.scripting.events.impl.ScriptingEventListenersIntegrationTests
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class ScriptingEventListenersIntegrationTests extends ServicelayerTransactionalBaseTest
Integration tests for scripting event listeners.
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description ScriptingEventListenersIntegrationTests()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
shouldReloadScriptingEventListenerAfterModification()
void
shouldUnregisterScriptingEventListenerAfterRemoval()
void
testHandleEventForCorrectListener()
void
testHandleEventForListenerThrowingException()
void
testHandleTypedEventForCorrectListener()
void
testRegisterListenerUnsuccessfulForNotExistingScript()
-
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
-
testHandleEventForCorrectListener
public void testHandleEventForCorrectListener() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testHandleTypedEventForCorrectListener
public void testHandleTypedEventForCorrectListener() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testHandleEventForListenerThrowingException
public void testHandleEventForListenerThrowingException() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testRegisterListenerUnsuccessfulForNotExistingScript
public void testRegisterListenerUnsuccessfulForNotExistingScript() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldReloadScriptingEventListenerAfterModification
public void shouldReloadScriptingEventListenerAfterModification() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldUnregisterScriptingEventListenerAfterRemoval
public void shouldUnregisterScriptingEventListenerAfterRemoval() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-