Author: britter
Date: Sun Jan 4 21:00:09 2015
New Revision: 1649417
URL: http://svn.apache.org/r1649417
Log:
Drop redundant test
Modified:
commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/jpeg/exif/WriteExifMetadataExampleTest.java
Modified:
commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/jpeg/exif/WriteExifMetadataExampleTest.java
URL:
http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/jpeg/exif/WriteExifMetadataExampleTest.java?rev=1649417&r1=1649416&r2=1649417&view=diff
==============================================================================
---
commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/jpeg/exif/WriteExifMetadataExampleTest.java
(original)
+++
commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/jpeg/exif/WriteExifMetadataExampleTest.java
Sun Jan 4 21:00:09 2015
@@ -44,28 +44,6 @@ public class WriteExifMetadataExampleTes
}
@Test
- public void test() throws Exception {
- Debug.debug("imageFile", imageFile.getAbsoluteFile());
-
- final File tempFile = createTempFile("test", ".jpg");
- Debug.debug("tempFile", tempFile.getAbsoluteFile());
-
- try {
- final boolean ignoreImageData = isPhilHarveyTestImage(imageFile);
- if (ignoreImageData) {
- return;
- }
- new WriteExifMetadataExample().changeExifMetadata(imageFile,
- tempFile);
-
- // TODO assert that ExifMetadata has been changed
- } catch (final ExifRewriter.ExifOverflowException e) {
- Debug.debug("Error image", imageFile.getAbsoluteFile());
- Debug.debug(e, 4);
- }
- }
-
- @Test
public void testInsert() throws Exception {
Debug.debug("imageFile", imageFile.getAbsoluteFile());
@@ -82,7 +60,6 @@ public class WriteExifMetadataExampleTes
} catch (final ExifRewriter.ExifOverflowException e) {
Debug.debug("Ignoring unavoidable ExifOverflowException: " +
e.getMessage());
Debug.debug("Error image: " + imageFile.getAbsoluteFile());
- // Debug.debug(e, 4);
}
}