You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2015/01/04 22:00:10 UTC
svn commit: r1649417 -
/commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/jpeg/exif/WriteExifMetadataExampleTest.java
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);
}
}