Apache Commons logo Commons Imaging™ logo

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
385 0 0 15 96.104% 46.766

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.apache.commons.imaging.formats.png 6 0 0 0 100% 0.982
org.apache.commons.imaging.formats.pam 1 0 0 0 100% 0.005
org.apache.commons.imaging.formats.jpeg.iptc 7 0 0 0 100% 0.17
org.apache.commons.imaging.formats.psd 1 0 0 0 100% 0.029
org.apache.commons.imaging.formats.icns 17 0 0 3 82.353% 0.025
org.apache.commons.imaging.roundtrip 6 0 0 0 100% 30.133
org.apache.commons.imaging.formats.bmp 21 0 0 5 76.19% 0.128
org.apache.commons.imaging.formats.jpeg.decoder 2 0 0 0 100% 0.002
org.apache.commons.imaging.common.bytesource 95 0 0 0 100% 1.537
org.apache.commons.imaging.formats.tiff 10 0 0 1 90% 10.752
org.apache.commons.imaging 11 0 0 0 100% 0.005
org.apache.commons.imaging.formats.gif 6 0 0 2 66.667% 0.01
org.apache.commons.imaging.formats.jpeg 2 0 0 0 100% 1.262
org.apache.commons.imaging.formats.xmp 2 0 0 0 100% 0.202
org.apache.commons.imaging.formats.xbm 1 0 0 0 100% 0.056
org.apache.commons.imaging.formats.jpeg.exif 57 0 0 0 100% 0.818
org.apache.commons.imaging.common 67 0 0 0 100% 0.037
org.apache.commons.imaging.formats.wbmp 1 0 0 0 100% 0.001
org.apache.commons.imaging.formats.rgbe 1 0 0 0 100% 0.04
org.apache.commons.imaging.palette 1 0 0 0 100% 0.073
org.apache.commons.imaging.formats.dcx 3 0 0 2 33.333% 0.009
org.apache.commons.imaging.formats.jpeg.xmp 2 0 0 0 100% 0.084
org.apache.commons.imaging.formats.tiff.write 2 0 0 0 100% 0
org.apache.commons.imaging.color 50 0 0 0 100% 0.001
org.apache.commons.imaging.formats.xpm 1 0 0 0 100% 0.322
org.apache.commons.imaging.formats.ico 11 0 0 2 81.818% 0.075
org.apache.commons.imaging.formats.pcx 1 0 0 0 100% 0.008

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.apache.commons.imaging.formats.png

Class Tests Errors Failures Skipped Success Rate Time
ConvertPngToGifTest 1 0 0 0 100% 0.429
PngMultipleRoundtripTest 1 0 0 0 100% 0.343
PngReadTest 1 0 0 0 100% 0.104
PngTextTest 1 0 0 0 100% 0.004
PngWriteReadTest 2 0 0 0 100% 0.102

org.apache.commons.imaging.formats.pam

Class Tests Errors Failures Skipped Success Rate Time
PamReadTest 1 0 0 0 100% 0.005

org.apache.commons.imaging.formats.jpeg.iptc

Class Tests Errors Failures Skipped Success Rate Time
IptcDumpTest 4 0 0 0 100% 0.004
IptcUpdateTest 3 0 0 0 100% 0.166

org.apache.commons.imaging.formats.psd

Class Tests Errors Failures Skipped Success Rate Time
PsdReadTest 1 0 0 0 100% 0.029

org.apache.commons.imaging.formats.icns

Class Tests Errors Failures Skipped Success Rate Time
IcnsReadTest 9 0 0 3 66.667% 0.003
IcnsRoundTripTest 8 0 0 0 100% 0.022

org.apache.commons.imaging.roundtrip

Class Tests Errors Failures Skipped Success Rate Time
RoundtripTest 6 0 0 0 100% 30.133

org.apache.commons.imaging.formats.bmp

Class Tests Errors Failures Skipped Success Rate Time
BmpReadTest 15 0 0 5 66.667% 0.005
BmpRoundtripTest 6 0 0 0 100% 0.123

org.apache.commons.imaging.formats.jpeg.decoder

Class Tests Errors Failures Skipped Success Rate Time
DctTest 2 0 0 0 100% 0.002

org.apache.commons.imaging.common.bytesource

Class Tests Errors Failures Skipped Success Rate Time
ByteSourceDataTest 15 0 0 0 100% 0.063
ByteSourceImageTest 80 0 0 0 100% 1.474

org.apache.commons.imaging.formats.tiff

Class Tests Errors Failures Skipped Success Rate Time
TiffCcittTest 2 0 0 0 100% 0.753
TiffLzwTest 3 0 0 1 66.667% 0.244
TiffReadTest 1 0 0 0 100% 0.256
TiffReadWriteTagsTest 1 0 0 0 100% 0.001
TiffRoundtripTest 1 0 0 0 100% 9.496
TiffSubImageTest 1 0 0 0 100% 0
TiffTagIntegrityTest 1 0 0 0 100% 0.002

org.apache.commons.imaging

Class Tests Errors Failures Skipped Success Rate Time
ImagingGuessFormatTest 11 0 0 0 100% 0.005

org.apache.commons.imaging.formats.gif

Class Tests Errors Failures Skipped Success Rate Time
GifReadTest 6 0 0 2 66.667% 0.01

org.apache.commons.imaging.formats.jpeg

Class Tests Errors Failures Skipped Success Rate Time
JpegReadTest 1 0 0 0 100% 1.259
JpegWithJpegThumbnailTest 1 0 0 0 100% 0.003

org.apache.commons.imaging.formats.xmp

Class Tests Errors Failures Skipped Success Rate Time
XmpDumpTest 1 0 0 0 100% 0.007
XmpUpdateTest 1 0 0 0 100% 0.195

org.apache.commons.imaging.formats.xbm

Class Tests Errors Failures Skipped Success Rate Time
XbmReadTest 1 0 0 0 100% 0.056

org.apache.commons.imaging.formats.jpeg.exif

Class Tests Errors Failures Skipped Success Rate Time
AsciiFieldTest 1 0 0 0 100% 0.002
ExifDumpTest 16 0 0 0 100% 0.036
ExifRewriteTest 4 0 0 0 100% 0.645
GpsTest 8 0 0 0 100% 0.012
MakerNoteFieldTest 8 0 0 0 100% 0.012
MicrosoftTagTest 2 0 0 0 100% 0.009
TextFieldTest 8 0 0 0 100% 0.012
WriteExifMetadataExampleTest 10 0 0 0 100% 0.09

org.apache.commons.imaging.common

Class Tests Errors Failures Skipped Success Rate Time
BinaryFileFunctionsTest 2 0 0 0 100% 0.007
RationalNumberTest 65 0 0 0 100% 0.03

org.apache.commons.imaging.formats.wbmp

Class Tests Errors Failures Skipped Success Rate Time
WbmpReadTest 1 0 0 0 100% 0.001

org.apache.commons.imaging.formats.rgbe

Class Tests Errors Failures Skipped Success Rate Time
RgbeReadTest 1 0 0 0 100% 0.04

org.apache.commons.imaging.palette

Class Tests Errors Failures Skipped Success Rate Time
PaletteQuantizationTest 1 0 0 0 100% 0.073

org.apache.commons.imaging.formats.dcx

Class Tests Errors Failures Skipped Success Rate Time
DcxReadTest 3 0 0 2 33.333% 0.009

org.apache.commons.imaging.formats.jpeg.xmp

Class Tests Errors Failures Skipped Success Rate Time
JpegXmpDumpTest 1 0 0 0 100% 0.003
JpegXmpRewriteTest 1 0 0 0 100% 0.081

org.apache.commons.imaging.formats.tiff.write

Class Tests Errors Failures Skipped Success Rate Time
TiffOutputDirectoryTest 1 0 0 0 100% 0
TiffOutputSetTest 1 0 0 0 100% 0

org.apache.commons.imaging.color

Class Tests Errors Failures Skipped Success Rate Time
ColorCieLabTest 5 0 0 0 100% 0
ColorCieLchTest 5 0 0 0 100% 0
ColorCieLuvTest 5 0 0 0 100% 0
ColorCmykTest 6 0 0 0 100% 0.001
ColorCmyTest 5 0 0 0 100% 0
ColorConversionsTest 4 0 0 0 100% 0
ColorHslTest 5 0 0 0 100% 0
ColorHsvTest 5 0 0 0 100% 0
ColorHunterLabTest 5 0 0 0 100% 0
ColorXyzTest 5 0 0 0 100% 0

org.apache.commons.imaging.formats.xpm

Class Tests Errors Failures Skipped Success Rate Time
XpmReadTest 1 0 0 0 100% 0.322

org.apache.commons.imaging.formats.ico

Class Tests Errors Failures Skipped Success Rate Time
IcoReadTest 3 0 0 2 33.333% 0.014
IcoRoundtripTest 8 0 0 0 100% 0.061

org.apache.commons.imaging.formats.pcx

Class Tests Errors Failures Skipped Success Rate Time
PcxReadTest 1 0 0 0 100% 0.008

Test Cases

[Summary] [Package List] [Test Cases]

ColorCieLabTest

testHashCodeAndEquals 0
testToString 0
testAAssignement 0
testBAssignement 0
testLAssignement 0

ColorCieLchTest

testHashCodeAndEquals 0
testToString 0
testHAssignment 0
testCAssignment 0
testLAssignment 0

ColorCieLuvTest

testHashCodeAndEquals 0
testUAssignment 0
testToString 0
testVAssignment 0
testLAssignment 0

ColorCmykTest

testHashCodeAndEquals 0
testToString 0.001
testKAssignment 0
testYAssignment 0
testMAssignment 0
testCAssignment 0

ColorCmyTest

testHashCodeAndEquals 0
testToString 0
testYAssignment 0
testMAssignment 0
testCAssignment 0

ColorConversionsTest

testRGBtoHSL 0
testRGBtoHSV 0
testXYZ 0
testRGBtoCMYK 0

ColorHslTest

testHashCodeAndEquals 0
testToString 0
testHAssignment 0
testLAssignment 0
testSAssignment 0

ColorHsvTest

testHashCodeAndEquals 0
testToString 0
testHAssignment 0
testVAssignment 0
testSAssignment 0

ColorHunterLabTest

testBAssignment 0
testHashCodeAndEquals 0
testToString 0
testAAssignment 0
testLAssignment 0

ColorXyzTest

testZAssignment 0
testHashCodeAndEquals 0
testToString 0
testYAssignment 0
testXAssignment 0

BinaryFileFunctionsTest

testFloatToByteConversion 0.006
testDoubleToByteConversion 0.001

ByteSourceDataTest

testByteSourceFileFactory[0] 0.011
testByteSourceInputStreamFileFactory[0] 0.003
testByteSourceInputStreamRawFactory[0] 0.002
testByteSourceFileFactory[1] 0.002
testByteSourceInputStreamFileFactory[1] 0.003
testByteSourceInputStreamRawFactory[1] 0
testByteSourceFileFactory[2] 0.003
testByteSourceInputStreamFileFactory[2] 0.003
testByteSourceInputStreamRawFactory[2] 0.001
testByteSourceFileFactory[3] 0.003
testByteSourceInputStreamFileFactory[3] 0.003
testByteSourceInputStreamRawFactory[3] 0.001
testByteSourceFileFactory[4] 0.018
testByteSourceInputStreamFileFactory[4] 0.006
testByteSourceInputStreamRawFactory[4] 0.004

ByteSourceImageTest

test[0] 0.127
test[1] 0.002
test[2] 0.001
test[3] 0.001
test[4] 0.001
test[5] 0
test[6] 0.057
test[7] 0.021
test[8] 0.009
test[9] 0.006
test[10] 0.008
test[11] 0.001
test[12] 0.005
test[13] 0.002
test[14] 0.033
test[15] 0.007
test[16] 0.001
test[17] 0.007
test[18] 0.002
test[19] 0.002
test[20] 0.003
test[21] 0.001
test[22] 0.013
test[23] 0.029
test[24] 0.024
test[25] 0.003
test[26] 0.001
test[27] 0.002
test[28] 0.001
test[29] 0.002
test[30] 0.001
test[31] 0
test[32] 0.001
test[33] 0.001
test[34] 0
test[35] 0
test[36] 0
test[37] 0.001
test[38] 0
test[39] 0.001
test[40] 0
test[41] 0.001
test[42] 0
test[43] 0.001
test[44] 0
test[45] 0.073
test[46] 0.082
test[47] 0.012
test[48] 0.011
test[49] 0.082
test[50] 0.027
test[51] 0.01
test[52] 0.002
test[53] 0.003
test[54] 0.002
test[55] 0.001
test[56] 0.001
test[57] 0.093
test[58] 0.048
test[59] 0.007
test[60] 0.117
test[61] 0.043
test[62] 0.045
test[63] 0.03
test[64] 0.003
test[65] 0.128
test[66] 0.012
test[67] 0.006
test[68] 0.015
test[69] 0.011
test[70] 0.011
test[71] 0.017
test[72] 0.059
test[73] 0.067
test[74] 0.002
test[75] 0.072
test[76] 0
test[77] 0.001
test[78] 0.001
test[79] 0.001

RationalNumberTest

testRationalNumber[0] 0
testRationalNumber[1] 0
testRationalNumber[2] 0.001
testRationalNumber[3] 0
testRationalNumber[4] 0.001
testRationalNumber[5] 0.001
testRationalNumber[6] 0.001
testRationalNumber[7] 0
testRationalNumber[8] 0.001
testRationalNumber[9] 0
testRationalNumber[10] 0
testRationalNumber[11] 0
testRationalNumber[12] 0
testRationalNumber[13] 0.001
testRationalNumber[14] 0
testRationalNumber[15] 0
testRationalNumber[16] 0
testRationalNumber[17] 0.001
testRationalNumber[18] 0
testRationalNumber[19] 0.001
testRationalNumber[20] 0
testRationalNumber[21] 0.001
testRationalNumber[22] 0
testRationalNumber[23] 0.001
testRationalNumber[24] 0.001
testRationalNumber[25] 0
testRationalNumber[26] 0.001
testRationalNumber[27] 0
testRationalNumber[28] 0.001
testRationalNumber[29] 0
testRationalNumber[30] 0
testRationalNumber[31] 0
testRationalNumber[32] 0.001
testRationalNumber[33] 0.001
testRationalNumber[34] 0
testRationalNumber[35] 0.001
testRationalNumber[36] 0
testRationalNumber[37] 0.001
testRationalNumber[38] 0
testRationalNumber[39] 0
testRationalNumber[40] 0
testRationalNumber[41] 0
testRationalNumber[42] 0.001
testRationalNumber[43] 0
testRationalNumber[44] 0.001
testRationalNumber[45] 0
testRationalNumber[46] 0.001
testRationalNumber[47] 0
testRationalNumber[48] 0.001
testRationalNumber[49] 0
testRationalNumber[50] 0.001
testRationalNumber[51] 0.001
testRationalNumber[52] 0
testRationalNumber[53] 0.001
testRationalNumber[54] 0
testRationalNumber[55] 0.001
testRationalNumber[56] 0
testRationalNumber[57] 0.001
testRationalNumber[58] 0.001
testRationalNumber[59] 0
testRationalNumber[60] 0
testRationalNumber[61] 0.001
testRationalNumber[62] 0.001
testRationalNumber[63] 0
testRationalNumber[64] 0.001

BmpReadTest

testImageInfo[0] 0.001
testMetaData[0] 0
RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testBufferedImage[0] 0.001
testImageInfo[1] 0
testMetaData[1] 0
RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testBufferedImage[1] 0.001
testImageInfo[2] 0
testMetaData[2] 0
RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testBufferedImage[2] 0
testImageInfo[3] 0.001
testMetaData[3] 0
RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testBufferedImage[3] 0
testImageInfo[4] 0.001
testMetaData[4] 0
RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testBufferedImage[4] 0

BmpRoundtripTest

testSmallRandomPixels 0.067
testSingleRedPixel 0.003
testSingleBlackPixel 0.002
testSmallAscendingPixels 0.032
testSmallRedPixels 0.01
testSmallBlackPixels 0.009

DcxReadTest

testImageMetadata[0] 0
RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testImageInfo[0] 0
RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testBufferedImage[0] 0.009

GifReadTest

testImageInfo[0] 0.003
testMetadata[0] 0
RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testBufferedImage[0] 0.003
testImageInfo[1] 0.002
testMetadata[1] 0
RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testBufferedImage[1] 0.002

IcnsReadTest

testImageMetadata[0] 0
RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testImageInfo[0] 0.001
testBufferedImage[0] 0
testImageMetadata[1] 0
RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testImageInfo[1] 0
testBufferedImage[1] 0.001
testImageMetadata[2] 0
RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testImageInfo[2] 0
testBufferedImage[2] 0.001

IcnsRoundTripTest

test32BPPHalfMaskedIcon 0.003
test32BPPMaskedIcon 0.003
test8BPPIcon8BPPMask 0.003
test32BPPMaskMissingIcon 0.002
test8BPPIconNoMask 0.003
test1BPPIconMaskVersus8BPPMask 0.002
test8BPPIcon8BPPMaskVersus1BPPMask 0.003
test8BPPIcon1BPPMaskVersus8BPPMask 0.003

IcoReadTest

testImageInfo[0] 0
RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testMetadata[0] 0
RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testBufferedImage[0] 0.014

IcoRoundtripTest

testBadICONDIRENTRYIcons 0.012
testBitfieldCompression 0.003
testNormalIcons 0.012
testZeroColorPlanes 0.012
testColorsUsed 0.014
testFullyTransparent32bitRGBA 0.002
testAlphaVersusANDMask 0.003
test32bitMask 0.003

DctTest

testVectors 0
testMatrices 0.002

AsciiFieldTest

testSingleImage 0.002

ExifDumpTest

testDumpJFIF[0] 0.002
testMetadata[0] 0.005
testDumpJFIF[1] 0.001
testMetadata[1] 0.002
testDumpJFIF[2] 0.005
testMetadata[2] 0.002
testDumpJFIF[3] 0.005
testMetadata[3] 0.002
testDumpJFIF[4] 0
testMetadata[4] 0.002
testDumpJFIF[5] 0.002
testMetadata[5] 0.002
testDumpJFIF[6] 0.001
testMetadata[6] 0.003
testDumpJFIF[7] 0
testMetadata[7] 0.002

ExifRewriteTest

testRewriteLossless 0.172
testRewriteLossy 0.158
testInsert 0.2
testRemove 0.115

GpsTest

test[0] 0.002
test[1] 0.001
test[2] 0.002
test[3] 0.001
test[4] 0.001
test[5] 0.002
test[6] 0.001
test[7] 0.002

MakerNoteFieldTest

testAllImages[0] 0.001
testAllImages[1] 0.002
testAllImages[2] 0.001
testAllImages[3] 0.002
testAllImages[4] 0.001
testAllImages[5] 0.001
testAllImages[6] 0.002
testAllImages[7] 0.002

MicrosoftTagTest

testWrite 0.005
testRewrite 0.004

TextFieldTest

testAllImages[0] 0.001
testAllImages[1] 0.002
testAllImages[2] 0.001
testAllImages[3] 0.002
testAllImages[4] 0.002
testAllImages[5] 0.001
testAllImages[6] 0.002
testAllImages[7] 0.001

WriteExifMetadataExampleTest

testInsert[0] 0.005
testInsert[1] 0.004
testInsert[2] 0.03
testInsert[3] 0.007
testInsert[4] 0.004
testInsert[5] 0.013
testInsert[6] 0.017
testInsert[7] 0.004
testInsert[8] 0.003
testInsert[9] 0.003

IptcDumpTest

test[0] 0.001
test[1] 0.001
test[2] 0.001
test[3] 0.001

IptcUpdateTest

testAddIptcData 0.112
testRemove 0.01
testRemoveInsertUpdate 0.044

JpegReadTest

test 1.259

JpegWithJpegThumbnailTest

testSingleImage 0.003

JpegXmpDumpTest

test 0.003

JpegXmpRewriteTest

testRemoveInsertUpdate 0.081

PamReadTest

test 0.005

PcxReadTest

test 0.008

ConvertPngToGifTest

test 0.429

PngMultipleRoundtripTest

test 0.343

PngReadTest

test 0.104

PngTextTest

test 0.004

PngWriteReadTest

testTransparency 0.022
test 0.08

PsdReadTest

test 0.029

RgbeReadTest

test 0.04

TiffCcittTest

testAll5x2Compressions 0.061
testAll5x2Images 0.692

TiffLzwTest

testTiffImageData 0
skipped
testTrivial 0.002
testMedium 0.242

TiffReadTest

test 0.256

TiffReadWriteTagsTest

testReadWriteTags 0.001

TiffRoundtripTest

test 9.496

TiffSubImageTest

testSubImage 0

TiffTagIntegrityTest

testTagIntegrity 0.002

TiffOutputDirectoryTest

testFindField 0

TiffOutputSetTest

testImaging144 0

WbmpReadTest

test 0.001

XbmReadTest

test 0.056

XmpDumpTest

test 0.007

XmpUpdateTest

test 0.195

XpmReadTest

test 0.322

ImagingGuessFormatTest

testGuessFormat[0] 0.001
testGuessFormat[1] 0
testGuessFormat[2] 0
testGuessFormat[3] 0
testGuessFormat[4] 0.001
testGuessFormat[5] 0
testGuessFormat[6] 0.001
testGuessFormat[7] 0
testGuessFormat[8] 0.001
testGuessFormat[9] 0
testGuessFormat[10] 0.001

PaletteQuantizationTest

testPaletteQuantization 0.073

RoundtripTest

testNullParametersRoundtrip 0.09
testPixelDensityRoundtrip 0.012
testLimitedColorRoundtrip 4.132
testGrayscaleRoundtrip 9.388
testBitmapRoundtrip 7.074
testFullColorRoundtrip 9.437

Failure Details

[Summary] [Package List] [Test Cases]


testMetaData[0]
skipped: RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testMetaData[1]
skipped: RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testMetaData[2]
skipped: RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testMetaData[3]
skipped: RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testMetaData[4]
skipped: RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testImageMetadata[0]
skipped: RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testImageInfo[0]
skipped: RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testMetadata[0]
skipped: RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testMetadata[1]
skipped: RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testImageMetadata[0]
skipped: RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testImageMetadata[1]
skipped: RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testImageMetadata[2]
skipped: RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testImageInfo[0]
skipped: RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testMetadata[0]
skipped: RoundtripTest has to be fixed befor implementation can throw UnsupportedOperationException
testTiffImageData
skipped: skipped