Class MetadataExtractorTest.ExifReaderTest

  • Enclosing class:
    MetadataExtractorTest

    public class MetadataExtractorTest.ExifReaderTest
    extends java.lang.Object
    JUnit test case for class ExifReader.
    Author:
    Drew Noakes https://drewnoakes.com
    • Constructor Detail

      • ExifReaderTest

        public ExifReaderTest()
    • Method Detail

      • processBytes

        public MetadataExtractor.Metadata processBytes​(java.lang.String filePath)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • processBytes

        public <T extends MetadataExtractor.Directory> T processBytes​(java.lang.String filePath,
                                                                      java.lang.Class<T> directoryClass)
                                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • testExtractWithNullDataThrows

        public void testExtractWithNullDataThrows()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLoadFujifilmJpeg

        public void testLoadFujifilmJpeg()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testReadJpegSegmentWithNoExifData

        public void testReadJpegSegmentWithNoExifData()
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCrashRegressionTest

        public void testCrashRegressionTest()
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testDateTime

        public void testDateTime()
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testThumbnailXResolution

        public void testThumbnailXResolution()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testThumbnailYResolution

        public void testThumbnailYResolution()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testThumbnailOffset

        public void testThumbnailOffset()
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testThumbnailLength

        public void testThumbnailLength()
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCompression

        public void testCompression()
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testStackOverflowOnRevisitationOfSameDirectory

        public void testStackOverflowOnRevisitationOfSameDirectory()
                                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testDifferenceImageAndThumbnailOrientations

        public void testDifferenceImageAndThumbnailOrientations()
                                                         throws java.lang.Exception
        Throws:
        java.lang.Exception