Class DefaultMediaFilterLogicTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class DefaultMediaFilterLogicTest extends ServicelayerBaseTest
  • Constructor Details

    • DefaultMediaFilterLogicTest

      public DefaultMediaFilterLogicTest()
  • Method Details

    • setUp

      public void setUp()
    • tearDown

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

      public void testIfPersistedContentTypeIsRetrievedFromDb()
    • testIfPersistedContentTypeIsRetrievedFromDbWhenMediaInFolder

      public void testIfPersistedContentTypeIsRetrievedFromDbWhenMediaInFolder()
    • testIfDbContentTypeForFakeLocationIsReturnedAsEmpty

      public void testIfDbContentTypeForFakeLocationIsReturnedAsEmpty()
    • testIfEmptyPersistedContentTypeIsReturnedAsEmpty

      public void testIfEmptyPersistedContentTypeIsReturnedAsEmpty()
    • testIfNullPersistedContentTypeIsReturnedAsEmpty

      public void testIfNullPersistedContentTypeIsReturnedAsEmpty()
    • testIfDetectContentTypeWorksBasingOnBytes

      public void testIfDetectContentTypeWorksBasingOnBytes()
    • testIfContentTypeIsTakenFromContextIfTakingFromDBIsDisabled

      public void testIfContentTypeIsTakenFromContextIfTakingFromDBIsDisabled()
    • testIfDetectContentTypeWorksBasingOnLocation

      public void testIfDetectContentTypeWorksBasingOnLocation()
    • testIfDbRelatedContentTypeTakesPrecedenceOverDetectedOne

      public void testIfDbRelatedContentTypeTakesPrecedenceOverDetectedOne()
    • testIfContentTypeIsBasedOnDetectedOneWhenDbMimeIsEmpty

      public void testIfContentTypeIsBasedOnDetectedOneWhenDbMimeIsEmpty()
    • testIfDefaultContentTypeIsReturnedWhenCantBeEstablishedByDbAndDetection

      public void testIfDefaultContentTypeIsReturnedWhenCantBeEstablishedByDbAndDetection()