Class ModelScriptsRepositoryIntegrationTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTransactionalBaseTest
de.hybris.platform.scripting.engine.impl.ModelScriptsRepositoryIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest
public class ModelScriptsRepositoryIntegrationTest
extends ServicelayerTransactionalBaseTest
-
Field Summary
FieldsFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Field Details
-
PRINTLN_FOO
- See Also:
-
-
Constructor Details
-
ModelScriptsRepositoryIntegrationTest
public ModelScriptsRepositoryIntegrationTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
shouldHandleModelProtocol
- Throws:
Exception
-
shouldNotHandleInvalidProtocol
- Throws:
Exception
-
shouldNotHandleNullProtocol
- Throws:
Exception
-
shouldThrowScriptNotFoundExceptionWhenScriptCannotBeFoundInRepository
public void shouldThrowScriptNotFoundExceptionWhenScriptCannotBeFoundInRepository() throws Exception- Throws:
Exception
-
shouldFindScriptForGivenScriptPathInRepository
- Throws:
Exception
-
shouldFindScriptForGivenScriptPathAndRevision
- Throws:
Exception
-
shouldFindActiveScriptForGivenScriptPath_whenMultipleRevisionsExist
- Throws:
Exception
-
shouldFindScriptForGivenScriptPathAndRevision_whenMultipleRevisionsExist
public void shouldFindScriptForGivenScriptPathAndRevision_whenMultipleRevisionsExist() throws Exception- Throws:
Exception
-
shouldFindAllActiveScriptsForGivenType
public void shouldFindAllActiveScriptsForGivenType() -
shouldFindAllRevisionsOfScriptForGivenCode
public void shouldFindAllRevisionsOfScriptForGivenCode() -
shouldNotSaveScriptWithIllegalName
public void shouldNotSaveScriptWithIllegalName()
-