예제 #1
0
 @Test(dataProvider = "testIFDParser")
 public void testGetIFDCount(IFDParser ifdParser) throws IOException, JXRException {
   int expectedIFDCount = 1;
   ifdParser.parse();
   int actualIFDCount = ifdParser.getIFDCount();
   ifdParser.close();
   assertEquals(expectedIFDCount, actualIFDCount);
 }
예제 #2
0
 @Test(dataProvider = "testIFDParser")
 public void testClose(IFDParser ifdParser) throws IOException, JXRException {
   ifdParser.parse();
   ifdParser.close();
   assertNull(ifdParser.getIFDMetadata());
 }