Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
338000100%2.358

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


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
de.lessvoid.nifty.render.image.renderstrategy13000100%0.018
de.lessvoid.xml.tools15000100%0.019
de.lessvoid.nifty.controls.dynamic8000100%0.045
de.lessvoid.xml.xpp36000100%0.005
de.lessvoid.nifty.render19000100%0.031
de.lessvoid.nifty.elements36000100%0.094
de.lessvoid.nifty.loaderv21000100%0.123
de.lessvoid.nifty.layout18000100%0.01
de.lessvoid.nifty.elements.render9000100%0.009
de.lessvoid.nifty.elements.tools3000100%0.007
de.lessvoid.nifty.builder8000100%0.508
de.lessvoid.nifty.screen3000100%0.007
de.lessvoid.nifty.tools.pulsate.provider2000100%0.004
de.lessvoid.nifty.render.image21000100%0.092
de.lessvoid.xml.lwxs.elements15000100%0.054
de.lessvoid.nifty.tools26000100%1.087
de.lessvoid.nifty.loaderv2.types5000100%0.023
de.lessvoid.nifty.effects32000100%0.109
de.lessvoid.nifty.layout.manager55000100%0.03
de.lessvoid.nifty12000100%0.011
de.lessvoid.nifty.sound4000100%0.005
de.lessvoid.xml.lwxs3000100%0.003
de.lessvoid.nifty.effects.shared4000100%0.018
de.lessvoid.nifty.render.image.areaprovider20000100%0.046

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

de.lessvoid.nifty.render.image.renderstrategy

ClassTestsErrors FailuresSkippedSuccess RateTime
ClampStrategyTest2000100%0.003
NinePartResizeStrategyTest4000100%0.006
RepeatStrategyTest5000100%0.007
ResizeStrategyTest2000100%0.002

de.lessvoid.xml.tools

ClassTestsErrors FailuresSkippedSuccess RateTime
SpecialValuesReplaceTest6000100%0.011
SplitTest9000100%0.008

de.lessvoid.nifty.controls.dynamic

ClassTestsErrors FailuresSkippedSuccess RateTime
ScreenCreatorTest8000100%0.045

de.lessvoid.xml.xpp3

ClassTestsErrors FailuresSkippedSuccess RateTime
AttributesMergeAndTagTest3000100%0.003
AttributesRefreshTest3000100%0.002

de.lessvoid.nifty.render

ClassTestsErrors FailuresSkippedSuccess RateTime
NiftyImageModeTest2000100%0.003
NiftyMouseImplRegisterTest2000100%0.004
NiftyMouseImplSetPositionTest1000100%0.003
NiftyMouseImplTest9000100%0.014
NiftyRenderEngineRenderSelectionTextTest5000100%0.007

de.lessvoid.nifty.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
ElementEnableDisableEffectsTest9000100%0.039
ElementEnableDisableTest9000100%0.027
ElementShowHideTest7000100%0.021
MethodResolverExtractArgsTest3000100%0.002
MethodResolverTest3000100%0.002
MethodResolverWithArgsTest5000100%0.003

de.lessvoid.nifty.loaderv2

ClassTestsErrors FailuresSkippedSuccess RateTime
NiftyLoaderTest1000100%0.123

de.lessvoid.nifty.layout

ClassTestsErrors FailuresSkippedSuccess RateTime
BoxConstraintsTest3000100%0.002
BoxConstraintWithPaddingTest9000100%0.004
BoxTest3000100%0.002
LayoutPartTest3000100%0.002

de.lessvoid.nifty.elements.render

ClassTestsErrors FailuresSkippedSuccess RateTime
TextRendererTest9000100%0.009

de.lessvoid.nifty.elements.tools

ClassTestsErrors FailuresSkippedSuccess RateTime
TextBreakTest3000100%0.007

de.lessvoid.nifty.builder

ClassTestsErrors FailuresSkippedSuccess RateTime
ScreenBuilderTest5000100%0.431
ScreenBuilderWithLayerTest3000100%0.077

de.lessvoid.nifty.screen

ClassTestsErrors FailuresSkippedSuccess RateTime
ScreenTest3000100%0.007

de.lessvoid.nifty.tools.pulsate.provider

ClassTestsErrors FailuresSkippedSuccess RateTime
SinusPulsatorTest2000100%0.004

de.lessvoid.nifty.render.image

ClassTestsErrors FailuresSkippedSuccess RateTime
CompoundImageModeTest2000100%0.009
ImageModeFactoryTest1000100%0.002
ImageModeHelperTest18000100%0.081

de.lessvoid.xml.lwxs.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
ElementProcessorTest4000100%0.022
ElementTest1000100%0.018
TypeProcessorTest2000100%0.002
XmlProcessorElementTest8000100%0.012

de.lessvoid.nifty.tools

ClassTestsErrors FailuresSkippedSuccess RateTime
ColorTest8000100%0.014
ColorValidatorTest9000100%0.01
LinearInterpolatorTest2000100%0.001
ObjectPoolTest1000100%1.056
TargetElementResolverTest6000100%0.006

de.lessvoid.nifty.loaderv2.types

ClassTestsErrors FailuresSkippedSuccess RateTime
EffectTypeWithEffectValueTest2000100%0.002
ElementTypeTest2000100%0.019
StyleTypeTest1000100%0.002

de.lessvoid.nifty.effects

ClassTestsErrors FailuresSkippedSuccess RateTime
ActiveEffectsTest17000100%0.077
EffectCanStartTest4000100%0.012
EffectPropertiesTest3000100%0.006
EffectPropertiesValuesTest6000100%0.011
FalloffTest2000100%0.003

de.lessvoid.nifty

ClassTestsErrors FailuresSkippedSuccess RateTime
ParameterizedObjectFactoryTest5000100%0.009
SizeValueTest7000100%0.002

de.lessvoid.nifty.sound

ClassTestsErrors FailuresSkippedSuccess RateTime
SoundSystemTest4000100%0.005

de.lessvoid.xml.lwxs

ClassTestsErrors FailuresSkippedSuccess RateTime
SchemaNullTest3000100%0.003

de.lessvoid.nifty.effects.shared

ClassTestsErrors FailuresSkippedSuccess RateTime
ExpTimeTest2000100%0.016
LinearTimeTest2000100%0.002

de.lessvoid.nifty.render.image.areaprovider

ClassTestsErrors FailuresSkippedSuccess RateTime
CachedAreaProviderTest5000100%0.021
FullImageAreaProviderTest3000100%0.005
SpriteAreaProviderTest7000100%0.012
SubImageAreaProviderTest5000100%0.008

Test Cases

[Summary] [Package List] [Test Cases]

ScreenBuilderTest

constructWithId0.396
constructWithIdAndScreenController0.002
constructWithIdAndSetController0.001
testDefaultFocusElement0.001
testInputMapping0.001

ScreenBuilderWithLayerTest

testWithOneLayer0.07
testWithTwoLayers0.002
testWithOneLayerParentAlreadySet0.002

ScreenCreatorTest

constructWithId0.022
constructWithIdAndScreenController0.002
testDefaultFocusElement0.002
constructWithIdAndLaterSetScreenController0.001
testRootElement0.002
testDefaultFocusElementWithDefaultValue0.002
testNoInputMappingScreenController0.003
testInputMappingScreenController0.004

ActiveEffectsTest

testDefault0.027
testClearOverlayPost0.002
testClearOverlayPre0.003
testClearNoOverlayPost0.002
testClearNoOverlayPre0.003
testRemoveNoOverlayPost0.002
testRemoveNoOverlayPre0.003
testRemoveOverlayPost0.002
testRemoveOverlayPre0.003
testAddNoOverlayPostEffectInactive0.002
testAddNoOverlayPostEffectActive0.003
testAddNoOverlayPreEffectInactive0.003
testAddNoOverlayPreEffectActive0.002
testAddOverlayPostEffectInactive0.003
testAddOverlayPostEffectActive0.002
testAddOverlayPreEffectInactive0.003
testAddOverlayPreEffectActive0.002

EffectCanStartTest

testAllNull0.005
testWithAlternateEnable0.001
testWithAlternateDisable0.002
testWithCustomKey0.001

EffectPropertiesTest

testEmpty0
testAddWithTime0.001
testAddWithoutTime0.001

EffectPropertiesValuesTest

testEmpty0.001
testAdd0
testConvertToLinearInterpolatorEmpty0.001
testConvertToLinearInterpolator0.001
testContainsNoTimeValues0.001
testContainsTimeValues0.001

FalloffTest

testHoverFalloffType0.001
testHoverFalloffConstraint0.001

ExpTimeTest

testParameterTwo0.009
testParameter0point50.001

LinearTimeTest

testDefault0
testParameter0

ElementEnableDisableEffectsTest

testSimpleDisable0.014
testDisableTwice0.003
testDisableTwiceAndThenEnable0.002
testSimpleEnable0.002
testEnableTwice0.002
testEnableTwiceAndThenDisable0.002
testParentDisable0.002
testParentDisableWithDisabledChild0.003
testParentDisableWithDisabledChildAndParentEnable0.002

ElementEnableDisableTest

testSimpleDisable0.003
testDisableTwice0.002
testDisableTwiceAndThenEnable0.002
testSimpleEnable0.002
testEnableTwice0.002
testEnableTwiceAndThenDisable0.002
testParentDisable0.003
testParentDisableWithDisabledChild0.002
testParentDisableWithDisabledChildAndParentEnable0.002

ElementShowHideTest

testSimpleShow0.003
testSimpleHide0.002
testSimpleHideTwice0.002
testHideMutipleAndShow0.002
testSimpleParentHide0.002
testSimpleParentHideWithChildHidden0.002
testChildHiddenAndParentShow0.002

MethodResolverExtractArgsTest

testEmptyParameters0.001
testWithOne0
testWithThree0

MethodResolverTest

testEmptyParameters0
testWithOne0
testWithThree0

MethodResolverWithArgsTest

testMethodClassNull0
testMethodDoesNotExist0.001
testMethodDoesExistNoParamerts0
testMethodDoesExistSingleParameter0
testMethodDoesExistTwoParameters0.001

TextRendererTest

testInit0.004
testGetStartYWithVerticalAlignTop0
testGetStartYWithVerticalAlignBottom0.001
testGetStartYWithVerticalAlignCenter0
testGetStartYWithVerticalAlignDefault0
testGetStartXWithHorizontalAlignLeft0
testGetStartXWithHorizontalAlignRight0
testGetStartXWithHorizontalAlignCenter0
testGetStartXWithHorizontalAlignDefault0

TextBreakTest

testNoSplit0.002
testSplit0.001
testNoneSplit0.001

BoxConstraintsTest

testDefaultConstructor0
testNormalConstructor0
testCopyConstructor0

BoxConstraintWithPaddingTest

testPaddingDefault0
testPaddingLeft0
testPaddingRight0.001
testPaddingTop0
testPaddingBottom0
testPaddingTopBottom0
testPaddingTopLeftRightBottom0
testPaddingTopRightBottomLeft0.001
testPadding0

BoxTest

testDefaultConstructor0
testNormalConstructor0
testCopyConstructor0

LayoutPartTest

testDefaultConstruction0
testConstruction0.001
testCopy0

AbsolutePositionLayoutTest

testUpdateEmpty0
testUpdateWithNullEntriesMakeNoTrouble0
testLayoutFixedHeight0.001
testLayoutFixedWidth0
testLayoutFixedX0.001
testLayoutFixedY0
testLayoutWithPercentageWidth0.001

CenterLayoutHorizontalFixedWithBorderTest

testHorizontalAlignDefaultFixedWidth0.001
testHorizontalAlignLeftFixedWidth0
testHorizontalAlignRightFixedWidth0
testHorizontalAlignCenterFixedWidth0.001

CenterLayoutHorizontalPercentWithBorderTest

testHorizontalAlignLeftPercentWidth0
testHorizontalAlignRightPercentWidth0.001
testHorizontalAlignCenterPercentWidth0

CenterLayoutHorizontalWithBorderTest

testHorizontalAlignDefault0.001

CenterLayoutTest

testEmpty0
testEmptyList0.001
testCenterSingle0

CenterLayoutVerticalFixedWithBorderTest

testVerticalAlignDefaultFixedWidth0
testVerticalAlignTopFixedWidth0.001
testVerticalAlignBottomFixedWidth0
testVerticalAlignCenterFixedWidth0

CenterLayoutVerticallPercentWithBorderTest

testVerticalAlignTopPercentWidth0
testVerticalAlignBottomPercentWidth0
testVerticalAlignCenterPercentWidth0.001

CenterLayoutVerticalWithBorderTest

testHorizontalAlignDefault0

CenterLayoutWithPaddingTest

testHorizontalAlignCenterWithBorder0.001
testHorizontalAlignCenterWithBorderNoConstraint0

HorizontalLayoutTest

testUpdateEmpty0.001
testUpdateWithNullEntriesMakeNoTrouble0
testLayoutFixedHeight0.001
testLayoutFixedWidth0
testLayoutDefault0
testLayoutMaxHeight0.001
testLayoutMaxHeightWildcard0
testLayoutFixedWidthTopAlign0
testLayoutFixedHeightCenterAlign0
testLayoutWithPercentage0
testLayoutWithMixedFixedAndPercentage0.001
testLayoutDefaultWithAllEqualPadding0

VerticalLayoutTest

testUpdateEmpty0
testUpdateWithNullEntriesMakeNoTrouble0
testLayoutFixedHeight0.001
testLayoutFixedWidth0
testLayoutDefault0
testLayoutWithPercentage0.001
testLayoutMaxWidth0
testLayoutMaxWidthWildcard0
testLayoutFixedWidthRightAlign0
testLayoutFixedWidthCenterAlign0
testLayoutWithPaddingAllEqual0
testLayoutWithPaddingLeft0
testLayoutWithPaddingRight0
testLayoutWithPaddingTop0
testLayoutWithPaddingBottom0

NiftyLoaderTest

testLoader0.123

EffectTypeWithEffectValueTest

testNoEffectValues0
testEffectValues0

ElementTypeTest

testApplyStyleInternalNoStyle0.002
testApplyStyleInternalWithStyle0.016

StyleTypeTest

testApply0

ParameterizedObjectFactoryTest

testCreateReturnsExpectedClassInstanceWithoutParameters0.002
testCreateReturnsExpectedClassInstanceWithParameters0.001
testCreateFallsBackToDefaultDummyInitializableWithNullParameters0.001
testCreatedDummyInitializableIsInitialized0.001
testCreateFallsBackToDefaultDummyInitializableWithInvalidParameters0.001

CachedAreaProviderTest

testGetSourceAreaReturnsSameAreaAsCachedProvider0.005
testGetSourceAreaCachesReturnedValueForASingleImage0.001
testGetSourceAreaInvalidatesCachedAreaForADifferentImage0.001
testSetParametersInvalidatesCachedArea0.001
testGetNativeSizeReturnsReturnsSameSizeAsCachedProvider0.01

FullImageAreaProviderTest

testSetParametersThrowsIllegalArgumentExceptionWithParameters0.001
testGetSourceAreaReturnsAZeroedOriginAndImageSizedArea0
testGetNativeSizeReturnsImageSize0

SpriteAreaProviderTest

testSetParametersThrowsIllegalArgumentExceptionWithNoParameters0.001
testSetParametersThrowsIllegalArgumentExceptionWithInvalidParameterCount0.001
testSetParametersThrowsIllegalArgumentExceptionWithInvalidParameters0.001
testGetSourceAreaReturnsAnAreaMatchingTheSizeOfTheSprite0.001
testGetSourceAreaReturnsUpperLeftBoundsWithFirstSpriteIndex0.001
testGetSourceAreaReturnsUpperLeftBoundsWithLastSpriteIndex0.001
testGetNativeSizeReturnsSpriteSize0

SubImageAreaProviderTest

testGetNativeSizeReturnsImageSize0.001
testSetParametersThrowsIllegalArgumentExceptionWithNoParameters0.001
testSetParametersThrowsIllegalArgumentExceptionWithInvalidParameterCount0.001
testSetParametersThrowsIllegalArgumentExceptionWithInvalidParameters0.001
testGetSourceAreaReturnsAnAreaMatchingInitializationParameters0.001

CompoundImageModeTest

testRenderForwardsRenderCallToRenderStrategyWithAreaProvidedByAreaProvider0.008
testGetNativeSizeReturnsSameSizeAsAreaProvider0.001

ImageModeFactoryTest

testCreateImageModeReturnsACompoundImageMode0.002

ImageModeHelperTest

testGetAreaProviderPropertyExtractsNormalImageMode0.03
testGetRenderStrategyPropertyExtractsNormalImageMode0.003
testGetAreaProviderPropertyExtractsResizeImageMode0.002
testGetRenderStrategyPropertyExtractsImageMode0.002
testGetAreaProviderPropertyExtractsSubImageImageMode0.002
testGetRenderStrategyPropertyExtractsSubImageImageMode0.002
testGetAreaProviderPropertyExtractsRepeatImageMode0.003
testGetRenderStrategyPropertyExtractsRepeatImageMode0.002
testGetAreaProviderPropertyExtractsSpriteImageMode0.002
testGetRenderStrategyPropertyExtractsSpriteImageMode0.002
testGetAreaProviderPropertyExtractsSpriteResizeImageMode0.003
testGetRenderStrategyPropertyExtractsSpriteResizeImageMode0.003
testGetAreaProviderPropertyReturnsImageAreaPropertyWhenFound0.002
testGetAreaProviderPropertyReturnsNullWithUnknownProperty0.002
testGetAreaProviderPropertyReturnsNullWithUnknownImageMode0.002
testGetRenderStrategyPropertyReturnsRenderStrategyPropertyWhenFound0.002
testGetRenderStrategyPropertyReturnsNullWithUnknownProperty0.003
testGetRenderStrategyPropertyReturnsNullWithUnknownImageMode0.002

ClampStrategyTest

testSetParametersThrowsIllegalArgumentExceptionWithParameters0.001
testRenderForwardsFullSourceAreaAndClampDestinationAreaToRenderDevice0

NinePartResizeStrategyTest

testSetParametersThrowsIllegalArgumentExceptionWithNoParameters0.001
testSetParametersThrowsIllegalArgumentExceptionWithInvalidParameterCount0
testSetParametersThrowsIllegalArgumentExceptionWithInvalidParameters0.001
testRenderDrawsNinePartsThatMatchStrategyParameters0.002

RepeatStrategyTest

testSetParametersThrowsIllegalArgumentExceptionWithParameters0.001
testRenderAnArea1x1TimeItsSizeCallsRenderMethodOnce0.001
testRenderAnArea0_5x0_5TimeItsSizeCallsRenderMethodOnce0
testRenderAnArea2x2TimeItsSizeCallsRenderMethod4Times0.001
testRenderAnArea2_5x2_5TimeItsSizeCallsRenderMethod9Times0.001

ResizeStrategyTest

testSetParametersThrowsIllegalArgumentExceptionWithParameters0.001
testRenderForwardsFullSourceAreaAndFullDestinationAreaToRenderDevice0.001

NiftyImageModeTest

spriteModeUpperLeft0.001
spriteModeSecondRowLeft0

NiftyMouseImplRegisterTest

testRegisterMouseCursor0.002
testUnregister0.001

NiftyMouseImplSetPositionTest

testSetPosition0.002

NiftyMouseImplTest

testRegisterMouseCursor0.001
testGetCurrentMouseCursorDefaults0.001
testRegisterMouseCursorIOException0.002
testResetMouseCursor0.001
testEnableMouseCursor0.001
testEnableMouseCursorTwice0.001
testEnableMouseCursorTwiceWithId0.001
testEnableMouseCursorAndReset0.001
testEnableMouseCursorNullId0.001

NiftyRenderEngineRenderSelectionTextTest

testCompleteSelection0.003
testSelectionAtStart0
testSelection2AtStart0.001
testSelectionAtEnd0
testSelectionAtMiddle0.001

ScreenTest

testOnStartScreenHasEnded0.002
testStartScreenEndNotifyWithAdditionalEndNotify0.002
testStartScreenEndNotifyWithoutAdditionalEndNotify0.001

SizeValueTest

testDefault0
testPercent0.001
testPixel0
testPixelWithoutPx0
testWildcard0
testWidthSuffix0.001
testHeightSuffix0

SoundSystemTest

testAddSoundLoadOk0.002
testAddSoundLoadFaied0.001
testAddMusicLoadOk0
testAddMusicLoadFaied0

ColorTest

testMultiply0.001
testColorShortModeWithoutAlpha0.001
testColorLongModeWithoutAlpha0.001
testColorInvalid0.001
testCheckColorInvalid0.005
testCheckColorValid0
testColorValid0.001
testColorStringFromValues0

ColorValidatorTest

testInvalid0.001
testShortModeInvalid0.001
testLongModeInvalid0
testShortModeValid0.001
testLongModeValid0.001
testShortModeIncomplete0.001
testShortModeIncompleteInvalid0.001
testLongModeIncomplete0.001
testLongModeIncompleteInvalid0.001

LinearInterpolatorTest

testWithTwoPoints0
testWithThreePoints0

ObjectPoolTest

test1.055

SinusPulsatorTest

testDefault0.001
testOneShot0

TargetElementResolverTest

testResolveWithNull0.001
testResolveDirectIdFound0.001
testResolveDirectIdNotFound0
testResolveParentWithIdFound0.001
testResolveParentWithIdNotFound0
testResolveDirectParent0.001

ElementProcessorTest

testMissingName0.018
testMissingType0
testDefaultOccures0.001
testWithOccures0.001

ElementTest

noChildren0.018

TypeProcessorTest

testSimple0.001
testNameMissing0

XmlProcessorElementTest

testElementProcessorNull0.001
testElementNameNull0.001
testTypeNull0.001
testOccuresNull0.001
testOccuresRequired0.002
testOccuresOneOrMore0.001
testOccuresOptional0.001
testOccuresZeroOrMore0.001

SchemaNullTest

testTypeNull0
testPackageNull0
testRootNull0

SpecialValuesReplaceTest

testParseSimpleInput0.002
testParsePropInput0
testParseEnvInput0.002
testParseObjectInput0.001
testQuoting0.001
testLocalize0.001

SplitTest

testNoSplit0
testNull0.001
testCompleteSplit0.001
testDoubleCompleteSplit0
testOneSplitAtEnd0.001
testOneSplitAtStart0
testOneSplitInMiddle0
testMultipleSplits0.001
testMultipleSplitsWithMiddel0

AttributesMergeAndTagTest

testAddNewTaggedKey0
testOverwriteExistingKeyAndTag0.001
testOverwriteExistingKey0

AttributesRefreshTest

testOverwriteExistingKey0
testAddNewKey0
testRemoveExistingKey0.001