commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] Created: (SANSELAN-46) ExifRewriteTest. failing in Gump
Date Sat, 02 Oct 2010 15:26:33 GMT
ExifRewriteTest. failing in Gump
--------------------------------

                 Key: SANSELAN-46
                 URL: https://issues.apache.org/jira/browse/SANSELAN-46
             Project: Commons Sanselan
          Issue Type: Bug
            Reporter: Niall Pemberton
            Priority: Minor


The ExifRewriteTest.is failing in Gump - it works fine for me (Windows 7 / JDK 1.6) - but
for some reason theres a problem with gump.

I modified the test to output more information about the point at which its failing (file/dir/fieldTag/byte):

    http://svn.apache.org/viewvc?view=revision&revision=1003442

The output from gump shows the following:

{code}
-------------------------------------------------------------------------------
Test set: org.apache.sanselan.formats.jpeg.exif.ExifRewriteTest
-------------------------------------------------------------------------------
Tests run: 4, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 4.354 sec <<< FAILURE!
testInsert(org.apache.sanselan.formats.jpeg.exif.ExifRewriteTest)  Time elapsed: 1.109 sec
 <<< FAILURE!
junit.framework.AssertionFailedError: Oregon Scientific DS6639 - DSC_0307 - small.jpg, dirType[1]=0,
fieldTag[0]=270, byte[0] expected:<-110> but was:<-17>
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.failNotEquals(Assert.java:283)
	at junit.framework.Assert.assertEquals(Assert.java:64)
	at junit.framework.Assert.assertEquals(Assert.java:156)
	at org.apache.sanselan.formats.jpeg.exif.ExifRewriteTest.compare(ExifRewriteTest.java:522)
	at org.apache.sanselan.formats.jpeg.exif.ExifRewriteTest.compare(ExifRewriteTest.java:469)
	at org.apache.sanselan.formats.jpeg.exif.ExifRewriteTest.testInsert(ExifRewriteTest.java:170)

testRewriteLossy(org.apache.sanselan.formats.jpeg.exif.ExifRewriteTest)  Time elapsed: 1.044
sec  <<< FAILURE!
junit.framework.AssertionFailedError: Oregon Scientific DS6639 - DSC_0307 - small.jpg, dirType[1]=0,
fieldTag[0]=270, byte[0] expected:<-110> but was:<-17>
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.failNotEquals(Assert.java:283)
	at junit.framework.Assert.assertEquals(Assert.java:64)
	at junit.framework.Assert.assertEquals(Assert.java:156)
	at org.apache.sanselan.formats.jpeg.exif.ExifRewriteTest.compare(ExifRewriteTest.java:522)
	at org.apache.sanselan.formats.jpeg.exif.ExifRewriteTest.compare(ExifRewriteTest.java:469)
	at org.apache.sanselan.formats.jpeg.exif.ExifRewriteTest.rewrite(ExifRewriteTest.java:249)
	at org.apache.sanselan.formats.jpeg.exif.ExifRewriteTest.testRewriteLossy(ExifRewriteTest.java:287)

testRewriteLossless(org.apache.sanselan.formats.jpeg.exif.ExifRewriteTest)  Time elapsed:
1.074 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Oregon Scientific DS6639 - DSC_0307 - small.jpg, dirType[1]=0,
fieldTag[0]=270, byte[0] expected:<-110> but was:<-17>
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.failNotEquals(Assert.java:283)
	at junit.framework.Assert.assertEquals(Assert.java:64)
	at junit.framework.Assert.assertEquals(Assert.java:156)
	at org.apache.sanselan.formats.jpeg.exif.ExifRewriteTest.compare(ExifRewriteTest.java:522)
	at org.apache.sanselan.formats.jpeg.exif.ExifRewriteTest.compare(ExifRewriteTest.java:469)
	at org.apache.sanselan.formats.jpeg.exif.ExifRewriteTest.rewrite(ExifRewriteTest.java:249)
	at org.apache.sanselan.formats.jpeg.exif.ExifRewriteTest.testRewriteLossless(ExifRewriteTest.java:304)
{code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message