Package de.hybris.platform.test
Class AbstractMediaManagerIntegrationTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.test.AbstractMediaManagerIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
- Direct Known Subclasses:
MediaManagerIntegrationTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CatalogVersionModelprotected MediaManagerprotected MediaServiceprotected ModelServiceprotected MediaTestDataCreatorprotected MediaModelprotected MediaModelFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected booleanprotected StringdownloadUrlForMedia(MediaModel media) protected booleanprotected booleanvoidsetUp()protected StringurlForMedia(MediaModel media) protected StringurlForMedia(MediaModel media, boolean forDownload) protected StringurlForMediaWithRenderer(MediaModel media, boolean addCtxPath, boolean forDownload) protected StringurlForMediaWithSecureRenderer(MediaModel media, boolean addCtxPath, boolean forDownload) Methods 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
-
mediaManager
-
modelService
-
mediaService
-
testDataCreator
-
testMedia
-
testMediaWithExternalUrl
-
catalogVersion
-
-
Constructor Details
-
AbstractMediaManagerIntegrationTest
public AbstractMediaManagerIntegrationTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
urlForMedia
-
downloadUrlForMedia
-
urlForMedia
-
urlForMediaWithRenderer
-
urlForMediaWithSecureRenderer
protected String urlForMediaWithSecureRenderer(MediaModel media, boolean addCtxPath, boolean forDownload) -
forDownload
protected boolean forDownload() -
forDisplay
protected boolean forDisplay() -
addContextPath
protected boolean addContextPath() -
dontAddContextPath
protected boolean dontAddContextPath()
-