commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dam...@apache.org
Subject svn commit: r1759654 [2/2] - in /commons/proper/imaging/trunk/src: main/java/org/apache/commons/imaging/ main/java/org/apache/commons/imaging/common/itu_t4/ main/java/org/apache/commons/imaging/formats/bmp/ main/java/org/apache/commons/imaging/formats/...
Date Wed, 07 Sep 2016 18:08:34 GMT
Modified: commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcAddTest.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcAddTest.java?rev=1759654&r1=1759653&r2=1759654&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcAddTest.java
(original)
+++ commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcAddTest.java
Wed Sep  7 18:08:34 2016
@@ -95,8 +95,8 @@ public class IptcAddTest extends IptcBas
         }
 
         final ByteSource updateByteSource = new ByteSourceFile(updated);
-        final JpegPhotoshopMetadata outMetadata = new JpegImageParser()
-                .getPhotoshopMetadata(updateByteSource, params);
+        final JpegPhotoshopMetadata outMetadata = new JpegImageParser().getPhotoshopMetadata(
+                updateByteSource, params);
 
         assertNotNull(outMetadata);
         assertTrue(outMetadata.getItems().size() == newRecords.size());

Modified: commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcUpdateTest.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcUpdateTest.java?rev=1759654&r1=1759653&r2=1759654&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcUpdateTest.java
(original)
+++ commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcUpdateTest.java
Wed Sep  7 18:08:34 2016
@@ -66,15 +66,14 @@ public class IptcUpdateTest extends Iptc
         final boolean ignoreImageData = isPhilHarveyTestImage(imageFile);
         params.put(ImagingConstants.PARAM_KEY_READ_THUMBNAILS, Boolean.valueOf(!ignoreImageData));
 
-        final JpegPhotoshopMetadata metadata = new JpegImageParser()
-                .getPhotoshopMetadata(byteSource, params);
+        final JpegPhotoshopMetadata metadata = new JpegImageParser().getPhotoshopMetadata(
+                byteSource, params);
         assertNotNull(metadata);
 
         final File noIptcFile = removeIptc(byteSource);
         
-        final JpegPhotoshopMetadata outMetadata = new JpegImageParser()
-                .getPhotoshopMetadata(new ByteSourceFile(noIptcFile),
-                        params);
+        final JpegPhotoshopMetadata outMetadata = new JpegImageParser().getPhotoshopMetadata(
+                new ByteSourceFile(noIptcFile), params);
         
         // FIXME should either be null or empty
         assertTrue(outMetadata == null
@@ -98,7 +97,8 @@ public class IptcUpdateTest extends Iptc
         final boolean ignoreImageData = isPhilHarveyTestImage(imageFile);
         params.put(ImagingConstants.PARAM_KEY_READ_THUMBNAILS, Boolean.valueOf(!ignoreImageData));
 
-        final JpegPhotoshopMetadata metadata = new JpegImageParser().getPhotoshopMetadata(byteSource,
params);
+        final JpegPhotoshopMetadata metadata = new JpegImageParser().getPhotoshopMetadata(
+                byteSource, params);
         assertNotNull(metadata);
 
         final File noIptcFile = removeIptc(byteSource);
@@ -122,8 +122,8 @@ public class IptcUpdateTest extends Iptc
         }
 
         final ByteSource updateByteSource = new ByteSourceFile(updated);
-        final JpegPhotoshopMetadata outMetadata = new JpegImageParser()
-                .getPhotoshopMetadata(updateByteSource, params);
+        final JpegPhotoshopMetadata outMetadata = new JpegImageParser().getPhotoshopMetadata(
+                updateByteSource, params);
 
         assertNotNull(outMetadata);
         assertTrue(outMetadata.getItems().size() == 2);
@@ -153,8 +153,8 @@ public class IptcUpdateTest extends Iptc
         final File updated = writeIptc(byteSource, newData);
 
         final ByteSource updateByteSource = new ByteSourceFile(updated);
-        final JpegPhotoshopMetadata outMetadata = new JpegImageParser()
-                .getPhotoshopMetadata(updateByteSource, params);
+        final JpegPhotoshopMetadata outMetadata = new JpegImageParser().getPhotoshopMetadata(
+                updateByteSource, params);
 
         assertNotNull(outMetadata);
         assertTrue(outMetadata.getItems().size() == 2);

Modified: commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/png/PngMultipleRoundtripTest.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/png/PngMultipleRoundtripTest.java?rev=1759654&r1=1759653&r2=1759654&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/png/PngMultipleRoundtripTest.java
(original)
+++ commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/png/PngMultipleRoundtripTest.java
Wed Sep  7 18:08:34 2016
@@ -35,8 +35,8 @@ public class PngMultipleRoundtripTest ex
 
     @Test
     public void test() throws Exception {
-        final String imagesFolderPath = FilenameUtils
-                .separatorsToSystem("src\\test\\data\\images\\png\\3");
+        final String imagesFolderPath = FilenameUtils.separatorsToSystem(
+                "src\\test\\data\\images\\png\\3");
         final File imagesFolder = new File(imagesFolderPath);
         assertTrue(imagesFolder.exists() && imagesFolder.isDirectory());
 



Mime
View raw message