Class MediaManagerTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class MediaManagerTest extends HybrisJUnit4TransactionalTest
  • Constructor Details

    • MediaManagerTest

      public MediaManagerTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • tearDown

      public void tearDown() throws Exception
      Throws:
      Exception
    • shouldHaveMediaStorageStrategyInjectedBySpring

      public void shouldHaveMediaStorageStrategyInjectedBySpring()
    • testGetAllMedia

      public void testGetAllMedia()
    • testGetMediaByPK

      public void testGetMediaByPK() throws Exception
      Throws:
      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()