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
public class AbstractMediaManagerIntegrationTest extends ServicelayerBaseTest
-
-
Field Summary
Fields Modifier and Type Field Description protected CatalogVersionModel
catalogVersion
protected MediaManager
mediaManager
protected MediaService
mediaService
protected ModelService
modelService
protected MediaTestDataCreator
testDataCreator
protected MediaModel
testMedia
protected MediaModel
testMediaWithExternalUrl
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description AbstractMediaManagerIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
addContextPath()
protected boolean
dontAddContextPath()
protected java.lang.String
downloadUrlForMedia(MediaModel media)
protected boolean
forDisplay()
protected boolean
forDownload()
void
setUp()
protected java.lang.String
urlForMedia(MediaModel media)
protected java.lang.String
urlForMedia(MediaModel media, boolean forDownload)
protected java.lang.String
urlForMediaWithRenderer(MediaModel media, boolean addCtxPath, boolean forDownload)
protected java.lang.String
urlForMediaWithSecureRenderer(MediaModel media, boolean addCtxPath, boolean forDownload)
-
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
-
mediaManager
protected MediaManager mediaManager
-
modelService
protected ModelService modelService
-
mediaService
protected MediaService mediaService
-
testDataCreator
protected MediaTestDataCreator testDataCreator
-
testMedia
protected MediaModel testMedia
-
testMediaWithExternalUrl
protected MediaModel testMediaWithExternalUrl
-
catalogVersion
protected CatalogVersionModel catalogVersion
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception
- Throws:
java.lang.Exception
-
urlForMedia
protected java.lang.String urlForMedia(MediaModel media)
-
downloadUrlForMedia
protected java.lang.String downloadUrlForMedia(MediaModel media)
-
urlForMedia
protected java.lang.String urlForMedia(MediaModel media, boolean forDownload)
-
urlForMediaWithRenderer
protected java.lang.String urlForMediaWithRenderer(MediaModel media, boolean addCtxPath, boolean forDownload)
-
urlForMediaWithSecureRenderer
protected java.lang.String urlForMediaWithSecureRenderer(MediaModel media, boolean addCtxPath, boolean forDownload)
-
forDownload
protected boolean forDownload()
-
forDisplay
protected boolean forDisplay()
-
addContextPath
protected boolean addContextPath()
-
dontAddContextPath
protected boolean dontAddContextPath()
-
-