Unit Test Results.

Designed for use with JUnit and Ant.

Class net.sf.jomic.tools.ImageToolsTest

NameTestsErrorsFailuresTime(s)Time StampHost
ImageToolsTest27410.8812011-10-08T09:39:53Spector.local

Tests

NameStatusTypeTime(s)
testBrokenEmptyImageErrorcannot read image file "/Users/agi/workspace/jomic/tests/generated/04-broken-image-empty.png"

javax.imageio.IIOException: cannot read image file "/Users/agi/workspace/jomic/tests/generated/04-broken-image-empty.png"
at net.sf.jomic.tools.ImageTools.readImage(ImageTools.java:859)
at net.sf.jomic.tools.ImageToolsTest.testBrokenEmptyImage(ImageToolsTest.java:86)
Caused by: java.util.NoSuchElementException
at javax.imageio.spi.FilterIterator.next(ServiceRegistry.java:808)
at javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:502)
at javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:487)
at net.sf.jomic.tools.ImageTools.getImageReader(ImageTools.java:388)
at net.sf.jomic.tools.ImageTools.readImage(ImageTools.java:836)
0.004
testColorFillBorderFailureactualColorText expected:<...f...> but was:<...e...>

junit.framework.ComparisonFailure: actualColorText expected:<...f...> but was:<...e...>
at net.sf.jomic.tools.ImageToolsTest.testColorFillBorder(ImageToolsTest.java:478)
at net.sf.jomic.tools.ImageToolsTest.testColorFillBorder(ImageToolsTest.java:96)
0.398
testCreateColorBoxSuccess0.004
testCreateImageInputStreamSuccess0.001
testFillColorValuesErrorfillColorValues[0]=17.984434127807617 but must be <= 1.0

java.lang.AssertionError: fillColorValues[0]=17.984434127807617 but must be <= 1.0
at net.sf.jomic.tools.ImageToolsTest.testFillColorValues(ImageToolsTest.java:530)
at net.sf.jomic.tools.ImageToolsTest.testFillColorValues(ImageToolsTest.java:129)
0.008
testGetDeltaRotationSuccess0.000
testGetFixedRotationSuccess0.000
testGetGIF89SizeSuccess0.002
testGetGif87aSizeSuccess0.001
testGetIbmTiffSizeSuccess0.006
testGetImageFormatSuccess0.002
testGetImageReaderSuccess0.000
testGetJpeg2000SizeSuccess0.043
testGetJpegSizeSuccess0.003
testGetLeftRotationSuccess0.000
testGetMacTiffSizeSuccess0.020
testGetNoSizeSuccess0.001
testGetPngSizeSuccess0.000
testGetRightRotationSuccess0.000
testGrayFillColorValuesErrorfillColorValues[0]=128.0 but must be <= 1.0

java.lang.AssertionError: fillColorValues[0]=128.0 but must be <= 1.0
at net.sf.jomic.tools.ImageToolsTest.testFillColorValues(ImageToolsTest.java:530)
at net.sf.jomic.tools.ImageToolsTest.testGrayFillColorValues(ImageToolsTest.java:261)
0.024
testIsCompressedFormatSuccess0.002
testRotatedErrorN/A

java.lang.NullPointerException
at sun.java2d.SunGraphics2D.getImageRegion(SunGraphics2D.java:2713)
at sun.java2d.SunGraphics2D.drawRenderedImage(SunGraphics2D.java:2796)
at net.sf.jomic.tools.ImageTools.getRotatedImage(ImageTools.java:443)
at net.sf.jomic.tools.ImageTools.getRotatedImage(ImageTools.java:471)
at net.sf.jomic.tools.ImageToolsTest.testRotated(ImageToolsTest.java:280)
0.007
testScaleActualSuccess0.000
testScaleFitSuccess0.033
testScaleFitHeightSuccess0.001
testScaleFitWidthSuccess0.001
testSqueezePerformanceSuccess0.197
Properties »
System.out »