Class MediaManagerTest

    • Constructor Detail

      • MediaManagerTest

        public MediaManagerTest()
    • 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()
      • 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()