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
Fields Modifier and Type Field Description static java.lang.StringPRINTLN_FOO-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description ModelScriptsRepositoryIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidshouldFindActiveScriptForGivenScriptPath_whenMultipleRevisionsExist()voidshouldFindAllActiveScriptsForGivenType()voidshouldFindAllRevisionsOfScriptForGivenCode()voidshouldFindScriptForGivenScriptPathAndRevision()voidshouldFindScriptForGivenScriptPathAndRevision_whenMultipleRevisionsExist()voidshouldFindScriptForGivenScriptPathInRepository()voidshouldHandleModelProtocol()voidshouldNotHandleInvalidProtocol()voidshouldNotHandleNullProtocol()voidshouldNotSaveScriptWithIllegalName()voidshouldThrowScriptNotFoundExceptionWhenScriptCannotBeFoundInRepository()-
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
-
PRINTLN_FOO
public static final java.lang.String PRINTLN_FOO
- See Also:
- Constant Field Values
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldHandleModelProtocol
public void shouldHandleModelProtocol() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldNotHandleInvalidProtocol
public void shouldNotHandleInvalidProtocol() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldNotHandleNullProtocol
public void shouldNotHandleNullProtocol() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldThrowScriptNotFoundExceptionWhenScriptCannotBeFoundInRepository
public void shouldThrowScriptNotFoundExceptionWhenScriptCannotBeFoundInRepository() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldFindScriptForGivenScriptPathInRepository
public void shouldFindScriptForGivenScriptPathInRepository() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldFindScriptForGivenScriptPathAndRevision
public void shouldFindScriptForGivenScriptPathAndRevision() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldFindActiveScriptForGivenScriptPath_whenMultipleRevisionsExist
public void shouldFindActiveScriptForGivenScriptPath_whenMultipleRevisionsExist() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldFindScriptForGivenScriptPathAndRevision_whenMultipleRevisionsExist
public void shouldFindScriptForGivenScriptPathAndRevision_whenMultipleRevisionsExist() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldFindAllActiveScriptsForGivenType
public void shouldFindAllActiveScriptsForGivenType()
-
shouldFindAllRevisionsOfScriptForGivenCode
public void shouldFindAllRevisionsOfScriptForGivenCode()
-
shouldNotSaveScriptWithIllegalName
public void shouldNotSaveScriptWithIllegalName()
-
-