Last October we ran the unit tests for ImageJ1 against various versions of ImageJ 1.45. It has been awhile since then, so here are the results with various versions of ImageJ 1.46.
Once again, an increasing number of tests are failing with each release, which indicates changing behavior creeping into the code.
Jenkins now runs these tests automatically whenever a new version of ImageJ 1.x is released, and reports failures to the imagej-devel mailing list, so that we become aware as early as possible when regression bugs have been introduced.
Version(s)
|
Results
|
1.45q
|
ALL PASS
|
1.45r
|
1 FAILURE:
- testLzwUncompress(ij.io.ImageReaderTest): array lengths differed, expected.length=13 actual.length=0
|
1.45s
|
3 FAILURES:
- testGetPolygon(ij.gui.LineTest): expected:<1> but was:<2>
- testGetFloatPolygon(ij.gui.RoiTest)
- testLzwUncompress(ij.io.ImageReaderTest): array lengths differed, expected.length=13 actual.length=0
|
1.46a
|
7 FAILURES:
- testGetPolygon(ij.gui.LineTest): expected:<1> but was:<2>
- testDrawPixelsImageProcessor(ij.gui.PolygonRoiTest): expected:<0> but was:<33>
- testGetPolygon(ij.gui.PolygonRoiTest): expected:<2> but was:<1>
- testFitSplineInt(ij.gui.PolygonRoiTest): arrays first differed at element [3]; expected:<1> but was:<0>
- testGetXandYCoordinates(ij.gui.PolygonRoiTest): arrays first differed at element [1]; expected:<1> but was:<0>
- testGetFloatPolygon(ij.gui.RoiTest)
- testLzwUncompress(ij.io.ImageReaderTest): array lengths differed, expected.length=13 actual.length=0
3 ERRORS:
- testPointRoiIntArrayIntArrayInt(ij.gui.PointRoiTest)
- testAddPointIntInt(ij.gui.PointRoiTest): 0
- testSubtractPointsRoi(ij.gui.PointRoiTest)
|
1.46b
|
9 FAILURES:
- testGetPolygon(ij.gui.LineTest): expected:<1> but was:<2>
- testDrawPixelsImageProcessor(ij.gui.PolygonRoiTest): expected:<0> but was:<33>
- testGetPolygon(ij.gui.PolygonRoiTest): expected:<2> but was:<1>
- testFitSplineInt(ij.gui.PolygonRoiTest): arrays first differed at element [3]; expected:<1> but was:<0>
- testGetXandYCoordinates(ij.gui.PolygonRoiTest): arrays first differed at element [1]; expected:<1> but was:<0>
- testIsDrawingTool(ij.gui.RoiTest)
- testGetFloatPolygon(ij.gui.RoiTest)
- testSetRoundRectArcSize(ij.gui.RoiTest)
- testLzwUncompress(ij.io.ImageReaderTest): array lengths differed, expected.length=13 actual.length=0
3 ERRORS:
- testPointRoiIntArrayIntArrayInt(ij.gui.PointRoiTest)
- testAddPointIntInt(ij.gui.PointRoiTest): 0
- testSubtractPointsRoi(ij.gui.PointRoiTest)
|
1.46c
|
DOES NOT COMPILE
|
1.46d
|
8 FAILURES:
- testSetChannelLutLUT(ij.CompositeImageTest)
- testGetPolygon(ij.gui.LineTest): expected:<1> but was:<2>
- testDrawPixelsImageProcessor(ij.gui.PolygonRoiTest): expected:<0> but was:<33>
- testGetPolygon(ij.gui.PolygonRoiTest): expected:<2> but was:<1>
-
testFitSplineInt(ij.gui.PolygonRoiTest): arrays first differed at element [3]; expected:<1> but was:<0>
-
testGetXandYCoordinates(ij.gui.PolygonRoiTest): arrays first differed at element [1]; expected:<1> but was:<0>
- testIsDrawingTool(ij.gui.RoiTest)
- testGetFloatPolygon(ij.gui.RoiTest)
- testSetRoundRectArcSize(ij.gui.RoiTest)
- testLzwUncompress(ij.io.ImageReaderTest): array lengths differed, expected.length=13 actual.length=0
3 ERRORS:
- testPointRoiIntArrayIntArrayInt(ij.gui.PointRoiTest)
- testAddPointIntInt(ij.gui.PointRoiTest): 0
- testSubtractPointsRoi(ij.gui.PointRoiTest)
|
1.46e
|
9 FAILURES:
- testSetChannelLutLUT(ij.CompositeImageTest)
- testGetPolygon(ij.gui.LineTest): expected:<1> but was:<2>
- testDrawPixelsImageProcessor(ij.gui.PolygonRoiTest): expected:<0> but was:<33>
- testGetPolygon(ij.gui.PolygonRoiTest): expected:<2> but was:<1>
- testIsDrawingTool(ij.gui.RoiTest)
- testGetFloatPolygon(ij.gui.RoiTest)
- testSetRoundRectArcSize(ij.gui.RoiTest)
- testToString(ij.ImagePlusTest): expected:<imp[Arckle [2x1x1]]> but was:<imp[Arckle [(2x1x1x1x1)]]>
- testLzwUncompress(ij.io.ImageReaderTest): array lengths differed, expected.length=13 actual.length=0
3 ERRORS:
- testPointRoiIntArrayIntArrayInt(ij.gui.PointRoiTest)
- testAddPointIntInt(ij.gui.PointRoiTest): 0
- testSubtractPointsRoi(ij.gui.PointRoiTest)
|
1.46f
|
DOES NOT COMPILE
|
1.46g - 1.46h
|
21 FAILURES:
- testSetChannelLutLUT(ij.CompositeImageTest)
- testGetPolygon(ij.gui.LineTest): expected:<1> but was:<2>
- testDrawPixelsImageProcessor(ij.gui.PolygonRoiTest): expected:<33> but was:<0>
- testGetPolygon(ij.gui.PolygonRoiTest): expected:<2> but was:<1>
- testIsDrawingTool(ij.gui.RoiTest)
- testGetFloatPolygon(ij.gui.RoiTest)
- testSetRoundRectArcSize(ij.gui.RoiTest)
- testToString(ij.ImagePlusTest): expected:<imp[Arckle [2x1x1]]> but was:<imp[Arckle [(2x1x1x1x1)]]>
- testLzwUncompress(ij.io.ImageReaderTest): array lengths differed, expected.length=13 actual.length=0
- testGetCValueInt(ij.measure.CalibrationTest): expected:<-12.815510557964274> but was:<NaN>
- testGetCValueDouble(ij.measure.CalibrationTest): expected:<-12.815510557964274> but was:<NaN>
- testConstants(ij.measure.CurveFitterTest): expected:<y = a[*]x^b> but was:<y = a[]x^b>
- testDoFitIntBoolean(ij.measure.CurveFitterTest): Assert.assertDoubleArraysEqual(double[],double[]) items differ at index 0: expected 2.0 and got 2.0011829468898386
- testFIntDoubleArrayDouble(ij.measure.CurveFitterTest)
- testGetResiduals(ij.measure.CurveFitterTest): expected:<0.0> but was:<1.4006385803222656>
- testGetSumResidualsSqr(ij.measure.CurveFitterTest): expected:<1890.14122> but was:<26.43688259804273>
- testGetSD(ij.measure.CurveFitterTest): expected:<10.45104> but was:<10.444040599931316>
- testGetRSquared(ij.measure.CurveFitterTest): expected:<0.84155> but was:<0.9994373712474635>
- testGetFitGoodness(ij.measure.CurveFitterTest): expected:<-0.59996> but was:<0.9981068051417952>
- testGetResultString(ij.measure.CurveFitterTest): expected:<...d+(a-d)/(1+(x/c)^b)
- testGetFit(ij.measure.CurveFitterTest): expected:<20> but was:<100>
8 ERRORS:
- testPointRoiIntArrayIntArrayInt(ij.gui.PointRoiTest)
- testAddPointIntInt(ij.gui.PointRoiTest): 0
- testSubtractPointsRoi(ij.gui.PointRoiTest)
- testDoCustomFit(ij.measure.CurveFitterTest): 2
- testGetNumParams(ij.measure.CurveFitterTest): 3
- testFDoubleArrayDouble(ij.measure.CurveFitterTest): 2
- testGetName(ij.measure.CurveFitterTest): 2
- testGetFormula(ij.measure.CurveFitterTest): 2
|
1.46i
|
26 FAILURES:
- testSetChannelLutLUT(ij.CompositeImageTest)
- testGetPolygon(ij.gui.LineTest): expected:<1> but was:<2>
- testDrawPixelsImageProcessor(ij.gui.PolygonRoiTest): expected:<33> but was:<0>
- testGetPolygon(ij.gui.PolygonRoiTest): expected:<2> but was:<1>
- testIsDrawingTool(ij.gui.RoiTest)
- testGetFloatPolygon(ij.gui.RoiTest)
- testSetRoundRectArcSize(ij.gui.RoiTest)
- testIsLine(ij.gui.RoiTest)
- testToString(ij.ImagePlusTest): expected:<imp[Arckle [2x1x1]]> but was:<imp[Arckle [(2x1x1x1x1)]]>
- testLzwUncompress(ij.io.ImageReaderTest): array lengths differed, expected.length=13 actual.length=0
- testGetCValueInt(ij.measure.CalibrationTest): expected:<-12.815510557964274> but was:<NaN>
- testGetCValueDouble(ij.measure.CalibrationTest): expected:<-12.815510557964274> but was:<NaN>
- testConstants(ij.measure.CurveFitterTest): expected:<y = a[*]x^b> but was:<y = a[]x^b>
- testDoFitIntBoolean(ij.measure.CurveFitterTest): Assert.assertDoubleArraysEqual(double[],double[]) items differ at index 0: expected 2.0 and got 2.0011829468898386
- testFIntDoubleArrayDouble(ij.measure.CurveFitterTest)
- testGetResiduals(ij.measure.CurveFitterTest): expected:<0.0> but was:<1.4006385803222656>
- testGetSumResidualsSqr(ij.measure.CurveFitterTest): expected:<1890.14122> but was:<26.43688259804273>
- testGetSD(ij.measure.CurveFitterTest): expected:<10.45104> but was:<10.444040599931316>
- testGetRSquared(ij.measure.CurveFitterTest): expected:<0.84155> but was:<0.9994373712474635>
- testGetFitGoodness(ij.measure.CurveFitterTest): expected:<-0.59996> but was:<0.9981068051417952>
- testGetResultString(ij.measure.CurveFitterTest): expected:<...d+(a-d)/(1+(x/c)^b)
- testGetFit(ij.measure.CurveFitterTest): expected:<20> but was:<100>
- testGetfIntInt(ij.process.ColorProcessorTest): expected:<33.0> but was:<99.0>
- testGetfInt(ij.process.ColorProcessorTest): expected:<33.0> but was:<99.0>
- testSetfIntIntFloat(ij.process.ColorProcessorTest): expected:<33.0> but was:<99.0>
- testSetfIntFloat(ij.process.ColorProcessorTest): expected:<33.0> but was:<99.0>
8 ERRORS:
- testPointRoiIntArrayIntArrayInt(ij.gui.PointRoiTest)
- testAddPointIntInt(ij.gui.PointRoiTest): 0
- testSubtractPointsRoi(ij.gui.PointRoiTest)
- testDoCustomFit(ij.measure.CurveFitterTest): 2
- testGetNumParams(ij.measure.CurveFitterTest): 3
- testFDoubleArrayDouble(ij.measure.CurveFitterTest): 2
- testGetName(ij.measure.CurveFitterTest): 2
- testGetFormula(ij.measure.CurveFitterTest): 2
|