Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
376 0 0 0 100% 0.578

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
de.lessvoid.niftyinternal.math 3 0 0 0 100% 0.001
de.lessvoid.niftyinternal.render.batch 4 0 0 0 100% 0
de.lessvoid.niftyinternal.tree 48 0 0 0 100% 0.017
de.lessvoid.nifty 76 0 0 0 100% 0.175
de.lessvoid.nifty.types 66 0 0 0 100% 0.03
de.lessvoid.niftyinternal.common 55 0 0 0 100% 0.022
de.lessvoid.nifty.node 45 0 0 0 100% 0.09
de.lessvoid.niftyinternal.canvas.path 29 0 0 0 100% 0.138
de.lessvoid.niftyinternal.style.specialparser 50 0 0 0 100% 0.105

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

de.lessvoid.niftyinternal.math

Class Tests Errors Failures Skipped Success Rate Time
Mat4Test 3 0 0 0 100% 0.001

de.lessvoid.niftyinternal.render.batch

Class Tests Errors Failures Skipped Success Rate Time
LinearGradientTest 4 0 0 0 100% 0

de.lessvoid.niftyinternal.tree

Class Tests Errors Failures Skipped Success Rate Time
InternalNiftyTreeTest 28 0 0 0 100% 0.013
NiftyTreeNodeDepthFirstIteratorTest 2 0 0 0 100% 0
NiftyTreeNodeTest 18 0 0 0 100% 0.004

de.lessvoid.nifty

Class Tests Errors Failures Skipped Success Rate Time
NiftyColorTest 22 0 0 0 100% 0.022
NiftyConfigurationTest 7 0 0 0 100% 0.007
NiftyMutableColorTest 4 0 0 0 100% 0.006
NiftyNodeBuilderTest 4 0 0 0 100% 0.012
NiftyRuntimeExceptionTest 2 0 0 0 100% 0.001
NiftyStateTest 6 0 0 0 100% 0.005
NiftyTreeTest 16 0 0 0 100% 0.117
UnitValueTest 15 0 0 0 100% 0.005

de.lessvoid.nifty.types

Class Tests Errors Failures Skipped Success Rate Time
NiftyLinearGradientTest 18 0 0 0 100% 0.021
NiftyPointTest 11 0 0 0 100% 0.003
NiftyRectTest 18 0 0 0 100% 0.004
NiftySizeTest 19 0 0 0 100% 0.002

de.lessvoid.niftyinternal.common

Class Tests Errors Failures Skipped Success Rate Time
InternalColorStringParserIsValidTest 21 0 0 0 100% 0.011
InternalColorStringParserTest 21 0 0 0 100% 0.008
InternalColorValidatorTest 6 0 0 0 100% 0.002
InternalIdGeneratorTest 1 0 0 0 100% 0.001
InternalNiftyColorStopTest 6 0 0 0 100% 0

de.lessvoid.nifty.node

Class Tests Errors Failures Skipped Success Rate Time
AbstractLayoutNodeImplTest 13 0 0 0 100% 0.051
NiftyBackgroundFillNodeImplTest 8 0 0 0 100% 0.006
NiftyBackgroundFillNodeTest 6 0 0 0 100% 0.001
SizeLayoutNodeAccessorTest 1 0 0 0 100% 0.001
StackLayoutNodeImplTest 9 0 0 0 100% 0.022
UniformStackLayoutNodeImplTest 8 0 0 0 100% 0.009

de.lessvoid.niftyinternal.canvas.path

Class Tests Errors Failures Skipped Success Rate Time
PathRendererArcStrokeTest 5 0 0 0 100% 0.089
PathRendererArcToTest 8 0 0 0 100% 0.032
PathRendererClosePathTest 4 0 0 0 100% 0.003
PathRendererLineStrokeTest 12 0 0 0 100% 0.014

de.lessvoid.niftyinternal.style.specialparser

Class Tests Errors Failures Skipped Success Rate Time
LinearGradientParserErrorTest 14 0 0 0 100% 0.056
LinearGradientParserTest 36 0 0 0 100% 0.049

Test Cases

[Summary] [Package List] [Test Cases]

NiftyColorTest

testRED 0.015
testFromColorWithAlpha 0
testBLACK 0
testGREEN 0
testWHITE 0
testBLUE 0
testCopy 0
testNONE 0.001
testToString 0.003
testFromHSV 0
testFromInt 0
testEqualsSame 0
testConstruct 0
testLongColor 0
testShortColor 0
testFromRandomWithAlpha 0.001
testHashCode 0
testToHexString 0
testEquals 0.001
testFromRandom 0
testIsColor 0.001
testYELLOW 0

NiftyConfigurationTest

testSetRenderBucketWidth 0.001
testEnableShowRenderBuckets 0
testEnableShowRenderNodeOverlay 0.002
testEnableShowRenderNodeOverlayWithColor 0.001
testDefaults 0.001
testSetRenderBucketHeight 0.001
testClearScreen 0.001

NiftyMutableColorTest

testSet 0.001
testMultiply 0.001
testLinear 0.001
testUpdate 0.003

NiftyNodeBuilderTest

testAddSibling 0.008
testAddNodeWithParent 0.001
testAddChildNode 0.001
testAddTopLevelNode 0.002

NiftyRuntimeExceptionTest

testWithException 0.001
testWithMessage 0

NiftyStateTest

testSetNewState 0.001
testCopy 0.001
testToString 0.003
testGetStateWithClassMatch 0
testDefaultState 0
testGetStateWithClassMissMatch 0

NiftyTreeTest

testDifferentChildNodeTypes 0.07
testChildNodesFromSpecificParent 0.006
testChildNodesMultipleChildrenAfterRemove 0.003
testDifferentChildNodeTypesFilteredTestLongNodeFromParent 0.003
testAddChildsToParent 0.002
testDifferentChildNodeTypesFilteredTestLongNode 0.002
testRemoveLastChild 0.003
testRemoveMiddleChild 0.002
testAddMultipleChildsToRoot 0.002
testChildNodes 0.002
testChildNodesMultipleChilds 0.003
testDifferentChildNodeTypesFilteredTestStringNodeFromParent 0.003
testChildNodesSingleChild 0.002
testRemoveNoneExistingChild 0.002
testDifferentChildNodeTypesFilteredTestStringNode 0.002
testAddSingleChildToRoot 0.01

AbstractLayoutNodeImplTest

testGetDesiredSize 0.041
testGetLayoutException 0.001
testDetachException1 0.001
testDetachException2 0.001
testInvalidateMeasure 0.001
testAttachException 0
testGetArrangedRect 0.001
testAttach 0.001
testGetLayout 0
testDetach 0.001
testIsArrangeValid 0
testInvalidateArrange 0.002
testIsMeasureValid 0.001

NiftyBackgroundFillNodeImplTest

testBackgroundColorUpdate 0.001
testBackgroundGradientUpdate 0.005
testConstructorBackgroundColor 0
testChangeBackgroundGradient 0
testChangeBackgroundColor 0
testConstructorBackgroundGradient 0
testGetNiftyNode 0
testBackgroundGradientUpdateWithColorSetAsWell 0

NiftyBackgroundFillNodeTest

testToStringBackgroundGradientOnly 0
testCreateWithGradient 0.001
testChangeBackgroundGradient 0
testCreateWithColor 0
testToStringBackgroundColorOnly 0
testChangeBackgroundColor 0

SizeLayoutNodeAccessorTest

testPresenceInService 0.001

StackLayoutNodeImplTest

testOrientation 0.001
testArrangeNoChildren 0.001
testMeasureInvalidSize 0
testMeasureNoChildren 0
testVerticalStretch 0.014
testStretchLast 0
testHorizontalNoStretch 0.002
testHorizontalStretch 0.002
testVerticalNoStretch 0.002

UniformStackLayoutNodeImplTest

testOrientation 0.001
testArrangeNoChildren 0
testMeasureInvalidSize 0
testMeasureNoChildren 0
testVertical 0.003
testVerticalInfiniteHeight 0.002
testHorizontal 0.001
testHorizontalInfiniteWidth 0.002

NiftyLinearGradientTest

testCreateFromPoints90 0.002
testCreateFromAngleInRad90 0
testCreateFromAngleInDegree90 0.001
testCopyConstructor 0.004
testCreateFromPoints 0
testToString 0
testToStringPointMode 0
testCreateFromAngleInRadMinus90 0
testCreateFromAngleInRad 0
testCreateFromAngleInDegree 0
testThreeColors 0
testCreateFromAngleInRad180 0
testTwoColors 0
testToStringNoColorStops 0
testCreateFromAngleInDegreeMinus90 0.008
testReplaceColor 0
testCreateFromAngleInDegree180 0
testSingleColor 0.006

NiftyPointTest

testInfiniteXPosNotSupported 0.001
testRegularWithOffset 0
testInfiniteYNegNotSupported 0.001
testToString 0
testInfiniteXNegNotSupported 0
testRegular 0
testEqualsWithToleranceX 0
testEqualsWithToleranceY 0
testEquals 0.001
testNotEquals 0
testInfiniteYPosNotSupported 0

NiftyRectTest

testNotOverlappingRight 0
testOverlappingLeft 0
testTotallyOverlapping 0
testOverlappingRight 0
testToString 0
testNotOverlappingLeft 0
testOverlappingBottomBarely 0
testEqualsWithTolerance 0
testOverlappingRightBarely 0
testNotOverlappingBottom 0
testRegular 0
testNotOverlappingTop 0.001
testOverlappingBottom 0
testEquals 0.002
testOverlappingTopBarely 0.001
testOverlappingLeftBarely 0
testOverlappingBug 0
testOverlappingTop 0

NiftySizeTest

testNegInfiniteHeight 0
testMax 0
testPosInfiniteWidth 0
testValid 0
testToString 0.001
testNegInfiniteWidth 0
testMaxEquals 0
testInvalidHeight 0
testMaxAGreaterBonX 0
testMaxAGreaterBonY 0
testRegular 0.001
testPosInfiniteHeight 0
testMaxBGreaterAonX 0
testMaxBGreaterAonY 0
testEqualsWithToleranceX 0
testEqualsWithToleranceY 0
testEquals 0
testFinite 0
testInvalidWidth 0

UnitValueTest

testEqualsSamePxIsTrue 0.001
testPixelFactoryMethod 0
testHeightSuffix 0
testPixel 0.001
testPercent 0
testEqualsDifferentPercentIsFalse 0
testWildcardFactoryMethod 0.001
testWildcard 0
testPercentageFactoryMethod 0
testEqualsSamePercentIsTrue 0.001
testDefault 0
testWidthSuffix 0.001
testEqualsDifferentPxIsFalse 0
testEqualsDifferentSuffixSameValueIsFalse 0
testPixelWithoutPx 0

PathRendererArcStrokeTest

testStrokeWithClosePath 0.048
testWithBeginPathNoStroke 0
testStrokeSingleArc 0.006
testWithoutBeginPath 0.001
testStrokeConnectedArcs 0.034

PathRendererArcToTest

testWithoutMoveToStroke 0.006
testNegativeRadiusNotAllowed 0
testWithoutMoveToNoStroke 0
testWithoutBeginPath 0
testWithMoveToNoStroke 0
testWithMoveToAndLineToStroke 0.014
testWithMoveToStroke 0.009
testWithoutMoveToAndLineToStroke 0.003

PathRendererClosePathTest

testRegularClosePathAfterSecondMoveTo 0.002
testRegularClosePathAfterSecondMoveToWithActualLine 0
testRegularClosePath 0
testClosePathWithMoveToOnly 0.001

PathRendererLineStrokeTest

testStrokeOfLineWithoutMoveTo 0.005
testStrokeOfTwoLines 0
testStrokeOfTwoWithMoveInBetweenLines 0.001
testStrokeOfLineWithoutMoveToActualLine 0.003
testLineToWithBeginPathAndMoveTo 0.001
testStrokePathWithoutBeginPath 0
testMoveToWithBeginPath 0.001
testMoveToWithoutBeginPath 0
testLineToWithBeginPath 0.001
testLineToWithoutPath 0
testStrokeOfSimpleCorrectLine 0.001
testBeginPathWithNoContent 0.001

InternalColorStringParserIsValidTest

testLongWithoutAlpha 0
testShortWithoutAlpha 0.001
testConstantFuchsia 0
testConstantMaroon 0
testConstantPurple 0.001
testConstantSilver 0
testShort 0
testLong 0.001
testConstantYellow 0.003
testConstantBlack 0
testConstantGreen 0.001
testConstantOlive 0
testConstantWhite 0
testConstantAqua 0
testConstantBlue 0.001
testConstantGray 0
testConstantLime 0.001
testConstantNavy 0
testConstantTeal 0.002
testConstantRed 0
testInvalid 0

InternalColorStringParserTest

testLongWithoutAlpha 0.001
testShortWithoutAlpha 0.001
testConstantFuchsia 0
testConstantMaroon 0.001
testConstantPurple 0
testConstantSilver 0
testShort 0.001
testLong 0
testConstantYellow 0
testConstantBlack 0.001
testConstantGreen 0
testConstantOlive 0.001
testConstantWhite 0
testConstantAqua 0
testConstantBlue 0
testConstantGray 0.001
testConstantLime 0
testConstantNavy 0
testConstantTeal 0.001
testConstantRed 0
testInvalid 0

InternalColorValidatorTest

testLongMode 0.001
testShortMode 0
testValid 0
testShortAlphaMode 0.001
testLongAlphaMode 0
testInvalid 0

InternalIdGeneratorTest

test 0.001

InternalNiftyColorStopTest

testEqualsLower 0
testLower 0
testEqualsHigher 0
testCreate 0
testEquals 0
testHigher 0

Mat4Test

testSetTranslate 0
testSetRotate 0.001
testSetScale 0

LinearGradientTest

testThreeColors 0
testTwoColors 0
testWithoutColorStops 0
testSingleColor 0

LinearGradientParserErrorTest

testSingleColorstopWithPercentMissing 0.044
testTwoColorstopsNoRightParenthesis 0.001
testToInvalidSecondWordRepeated 0.001
testStartsWithToInvalid 0.004
testOnlyOneColorstop 0.001
testStartsWithAngleButWrongToken 0
testOneColorstop 0.001
testStartsWithAngleButUnsupportedUnit 0.001
testTwoColorstopsMissingSemicolon 0
testToInvalidSecondWord2 0.001
testMissingBracket 0
testUnexpectedStart 0.001
testToInvalidKeyWord 0
testToInvalidSecondWord 0.001

LinearGradientParserTest

testSingleColorstopsColorMixedNumberWithPercent2 0
testWithBottomLeft 0
testWithTopRight 0
testSingleColorstopsColorMixedNumber 0.007
testTwoColorstopsWebColorsNoAlpha 0
testFourColorstops 0
testSingleColorstops 0
testWithRightBottom 0.019
testWithTopLeft 0
testSingleColorstopsColorTotallyMixedNumber 0
testStartsWithAngleGradUpperCase 0
testTwoColorstopsWebColorsWithAlpha 0.001
testStartsWithAngleRadNoLeadingZero 0
testStartsWithAngleDeg 0.001
testStartsWithAngleRad 0
testWithLeft 0
testSingleColorstopWithDecimal 0
testStartsWithNegativeDecimalAngleDeg 0.001
testWithLeftTop 0.008
testStartsWithAngleDegUpperCase 0.004
testFourColorstopsWithSteps 0.001
testThreeColorstops 0.001
testSingleColorstopWithNegativePercent 0
testWithBottom 0
testSingleColorstopsColorMixedNumberWithPercent 0.002
testStartsWithAngleRadUpperCase 0.001
testWithLeftBottom 0
testSingleColorstopsColorNumber 0
testWithRight 0.001
testTwoColorstops 0
testStartsWithAngleTurnUpperCase 0
testSingleColorstopsColorAlphaNumber 0.001
testStartsWithAngleGrad 0
testStartsWithAngleTurn 0
testSingleColorstopWithPercent 0.001
testWithRightTop 0

InternalNiftyTreeTest

testDifferentChildNodeTypes 0
testDifferentChildNodeTypesFilteredTestLongNodeImpl 0.006
testAddChildrenToParent 0
testGetParentOfNiftyNodeFilteredImpl 0.001
testAddMultipleChildrenToRoot 0
testChildNodesFromSpecificParent 0.004
testChildNodesMultipleChildrenAfterRemove 0
testDifferentChildNodeTypesFilteredTestLongImplNodeFromParent 0
testGetParentOfNiftyNode 0
testDifferentChildNodeTypesFilteredTestLongNodeFromParent 0
testDifferentChildNodeTypesFilteredTestLongNode 0
testGetParentOfRootNode 0
testRemoveLastChild 0
testGetParentOfNiftyNodeFiltered 0.001
testChildNodesFromSpecificImplParent 0
testRemoveMiddleChild 0
testChildNodesMultipleChildren 0
testDifferentChildNodeTypesFilteredTestLongNodeFromImplParent 0
testRemoveRoot 0
testChildNodes 0
testNullRootNode 0
testDifferentChildNodeTypesFilteredTestStringNodeFromParent 0
testChildNodesSingleChild 0
testChildNodesFromSpecificParentRoot 0
testRemoveNoneExistingChild 0
testGetRootNode 0
testDifferentChildNodeTypesFilteredTestStringNode 0
testAddSingleChildToRoot 0.001

NiftyTreeNodeDepthFirstIteratorTest

testIterateOneChild 0
testIterateRoot 0

NiftyTreeNodeTest

testGetValue 0.001
testNiftyNodeIterator 0
testGetChildren 0
testRemoveChild 0
testNiftyNodeImplIterator 0
testRemoveMiddleChildren 0
testAddChildrenParent 0
testSimpleConstructor 0
testAddChildren 0.001
testFilteredNiftyNodeImplIterator 0
testRemoveRoot 0
testRemoveSelf 0
testGetChildrenWithNoChildren 0
testFilteredIteratorGeneral 0.001
testFilteredNiftyNodeIterator 0
testToStringTreeWithChildren 0
testToStringTree 0.001
testGetParentForRootNode 0