Package de.hybris.platform.test
Class MediaManagerIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.test.AbstractMediaManagerIntegrationTest
-
- de.hybris.platform.test.MediaManagerIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class MediaManagerIntegrationTest extends AbstractMediaManagerIntegrationTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.test.AbstractMediaManagerIntegrationTest
catalogVersion, mediaManager, mediaService, modelService, testDataCreator, testMedia, testMediaWithExternalUrl
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description MediaManagerIntegrationTest()
-
Method Summary
-
Methods inherited from class de.hybris.platform.test.AbstractMediaManagerIntegrationTest
addContextPath, dontAddContextPath, downloadUrlForMedia, forDisplay, forDownload, urlForMedia, urlForMedia, urlForMediaWithRenderer, urlForMediaWithSecureRenderer
-
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() throws java.lang.Exception
- Overrides:
setUp
in classAbstractMediaManagerIntegrationTest
- Throws:
java.lang.Exception
-
tearDown
public void tearDown() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldReturnEmptyUrlWhenMediaIsInSecuredFolderButThereIsNoRendererInPlace
public void shouldReturnEmptyUrlWhenMediaIsInSecuredFolderButThereIsNoRendererInPlace() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldReturnSecureUrlWhenMediaIsInSecuredFolder
public void shouldReturnSecureUrlWhenMediaIsInSecuredFolder() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldReturnSecureUrlWithWebAppCtxPrefixWhenMediaIsInSecuredFolder
public void shouldReturnSecureUrlWithWebAppCtxPrefixWhenMediaIsInSecuredFolder() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldReturnSecureDownloadUrlWhenMediaIsInSecuredFolder
public void shouldReturnSecureDownloadUrlWhenMediaIsInSecuredFolder() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldReturnSecureDownloadUrlWithWebAppCtxWhenMediaIsInSecuredFolder
public void shouldReturnSecureDownloadUrlWithWebAppCtxWhenMediaIsInSecuredFolder() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldReturnInternalUrlForMediaWithoutData
public void shouldReturnInternalUrlForMediaWithoutData() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldReturnInternalDownloadUrlForMediaWithoutData
public void shouldReturnInternalDownloadUrlForMediaWithoutData() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldReturnMediaUrlWithoutWebAppContextRootPrefix
public void shouldReturnMediaUrlWithoutWebAppContextRootPrefix() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldReturnMediaDownloadUrlWithoutWebAppContextRootPrefix
public void shouldReturnMediaDownloadUrlWithoutWebAppContextRootPrefix() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldReturnMediaUrltRootPrefix
public void shouldReturnMediaUrltRootPrefix() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldReturnMediaDownloadUrlRootPrefix
public void shouldReturnMediaDownloadUrlRootPrefix() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldReturnMediaUrlWithWebAppContextRootPrefix
public void shouldReturnMediaUrlWithWebAppContextRootPrefix() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldReturnMediaDownloadUrlWithWebAppContextRootPrefix
public void shouldReturnMediaDownloadUrlWithWebAppContextRootPrefix() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-