Package gov.nih.mipav.model.file
Class MetadataExtractorTest.ExifReaderTest
java.lang.Object
gov.nih.mipav.model.file.MetadataExtractorTest.ExifReaderTest
- Enclosing class:
MetadataExtractorTest
JUnit test case for class ExifReader.
- Author:
- Drew Noakes https://drewnoakes.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocessBytes(String filePath) <T extends MetadataExtractor.Directory>
TprocessBytes(String filePath, Class<T> directoryClass) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
ExifReaderTest
public ExifReaderTest()
-
-
Method Details
-
processBytes
- Throws:
IOException
-
processBytes
public <T extends MetadataExtractor.Directory> T processBytes(String filePath, Class<T> directoryClass) throws IOException - Throws:
IOException
-
testExtractWithNullDataThrows
- Throws:
Exception
-
testLoadFujifilmJpeg
- Throws:
Exception
-
testReadJpegSegmentWithNoExifData
- Throws:
Exception
-
testCrashRegressionTest
- Throws:
Exception
-
testDateTime
- Throws:
Exception
-
testThumbnailXResolution
- Throws:
Exception
-
testThumbnailYResolution
- Throws:
Exception
-
testThumbnailOffset
- Throws:
Exception
-
testThumbnailLength
- Throws:
Exception
-
testCompression
- Throws:
Exception
-
testStackOverflowOnRevisitationOfSameDirectory
- Throws:
Exception
-
testDifferenceImageAndThumbnailOrientations
- Throws:
Exception
-