@IntegrationTest public class MediaManagerTest extends HybrisJUnit4TransactionalTest
jaloSession| Constructor and Description |
|---|
MediaManagerTest() |
| Modifier and Type | Method and 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() |
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void tearDown()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldHaveMediaStorageStrategyInjectedBySpring()
public void testGetAllMedia()
public void testGetMediaByPK()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetMediaByCode()
public void testGetAllMediaByCode()
public void testGetMediaByMimeType()
throws JaloBusinessException
JaloBusinessExceptionpublic void testGetMediaByURL()
public void testGetMediaByURLExact()
public void folderQualifierShouldMatch()
public void locationShouldHaveAtLeastOneSegment()
public void shouldNotThrowExceptionIfFolderMatchesLocation()
public void shouldNotCheckMatchingIfFolderIsRoot()
public void shouldFailIfNormalizedLocationDoesNotMatchFolder()
public void shouldNotFailAndProperlyCheckTheNonSecuredFolderIfFoldersQualifierMatchesWhatIsConfiguredInTheItem()
public void shouldNotFailAndProperlyCheckTheSecuredFolderIfFoldersQualifierMatchesWhatIsConfiguredInTheItem_SamePathAsQualifer()
Copyright © 2018 SAP SE. All Rights Reserved.