Package de.hybris.platform.test
Class MediaManagerTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.testframework.HybrisJUnit4TransactionalTest
-
- de.hybris.platform.test.MediaManagerTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class MediaManagerTest extends HybrisJUnit4TransactionalTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description MediaManagerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
folderQualifierShouldMatch()
void
locationShouldHaveAtLeastOneSegment()
void
setUp()
void
shouldFailIfNormalizedLocationDoesNotMatchFolder()
void
shouldHaveMediaStorageStrategyInjectedBySpring()
void
shouldNotCheckMatchingIfFolderIsRoot()
void
shouldNotFailAndProperlyCheckTheNonSecuredFolderIfFoldersQualifierMatchesWhatIsConfiguredInTheItem()
void
shouldNotFailAndProperlyCheckTheSecuredFolderIfFoldersQualifierMatchesWhatIsConfiguredInTheItem_SamePathAsQualifer()
void
shouldNotThrowExceptionIfFolderMatchesLocation()
void
tearDown()
void
testGetAllMedia()
void
testGetAllMediaByCode()
void
testGetMediaByCode()
void
testGetMediaByMimeType()
void
testGetMediaByPK()
void
testGetMediaByURL()
void
testGetMediaByURLExact()
-
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
- Throws:
java.lang.Exception
-
tearDown
public void tearDown() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldHaveMediaStorageStrategyInjectedBySpring
public void shouldHaveMediaStorageStrategyInjectedBySpring()
-
testGetAllMedia
public void testGetAllMedia()
-
testGetMediaByPK
public void testGetMediaByPK() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testGetMediaByCode
public void testGetMediaByCode()
-
testGetAllMediaByCode
public void testGetAllMediaByCode()
-
testGetMediaByMimeType
public void testGetMediaByMimeType() throws JaloBusinessException
- Throws:
JaloBusinessException
-
testGetMediaByURL
public void testGetMediaByURL()
-
testGetMediaByURLExact
public void testGetMediaByURLExact()
-
folderQualifierShouldMatch
public void folderQualifierShouldMatch()
-
locationShouldHaveAtLeastOneSegment
public void locationShouldHaveAtLeastOneSegment()
-
shouldNotThrowExceptionIfFolderMatchesLocation
public void shouldNotThrowExceptionIfFolderMatchesLocation()
-
shouldNotCheckMatchingIfFolderIsRoot
public void shouldNotCheckMatchingIfFolderIsRoot()
-
shouldFailIfNormalizedLocationDoesNotMatchFolder
public void shouldFailIfNormalizedLocationDoesNotMatchFolder()
-
shouldNotFailAndProperlyCheckTheNonSecuredFolderIfFoldersQualifierMatchesWhatIsConfiguredInTheItem
public void shouldNotFailAndProperlyCheckTheNonSecuredFolderIfFoldersQualifierMatchesWhatIsConfiguredInTheItem()
-
shouldNotFailAndProperlyCheckTheSecuredFolderIfFoldersQualifierMatchesWhatIsConfiguredInTheItem_SamePathAsQualifer
public void shouldNotFailAndProperlyCheckTheSecuredFolderIfFoldersQualifierMatchesWhatIsConfiguredInTheItem_SamePathAsQualifer()
-
-