Package gov.nih.mipav.model.file
Class MetadataExtractorTest.IptcReaderTest
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractorTest.IptcReaderTest
-
- Enclosing class:
- MetadataExtractorTest
public class MetadataExtractorTest.IptcReaderTest extends java.lang.Object
Unit tests forMetadataExtractor.IptcReader
.- Author:
- Drew Noakes https://drewnoakes.com
-
-
Constructor Summary
Constructors Constructor Description IptcReaderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataExtractor.IptcDirectory
processBytes(java.lang.String filePath)
void
testIptc1BytesFromFile()
void
testIptc2Photoshop6BytesFromFile()
void
testIptcEncodingUndefinedIso()
void
testIptcEncodingUnknown()
void
testIptcEncodingUnknown2()
void
testIptcEncodingUtf8()
-
-
-
Method Detail
-
processBytes
public MetadataExtractor.IptcDirectory processBytes(java.lang.String filePath) throws java.io.IOException
- Throws:
java.io.IOException
-
testIptc1BytesFromFile
public void testIptc1BytesFromFile() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testIptc2Photoshop6BytesFromFile
public void testIptc2Photoshop6BytesFromFile() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testIptcEncodingUtf8
public void testIptcEncodingUtf8() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testIptcEncodingUndefinedIso
public void testIptcEncodingUndefinedIso() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testIptcEncodingUnknown
public void testIptcEncodingUnknown() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testIptcEncodingUnknown2
public void testIptcEncodingUnknown2() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-