Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
286000100%1.011

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.controls.checkbox.controller1000100%0.346
de.lessvoid.nifty.controls82000100%0.169
de.lessvoid.nifty.controls.listbox127000100%0.246
de.lessvoid.nifty.controls.scrollbar26000100%0.054
de.lessvoid.nifty.controls.textfield29000100%0.033
de.lessvoid.nifty.controls.slider14000100%0.026
de.lessvoid.nifty.controls.checkbox7000100%0.137

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

de.lessvoid.nifty.controls.checkbox.controller

ClassTestsErrors FailuresSkippedSuccess RateTime
CreateCheckBoxControlTest1000100%0.346

de.lessvoid.nifty.controls.scrollbar

ClassTestsErrors FailuresSkippedSuccess RateTime
ScrollbarImplHandleSizeTest1000100%0.005
ScrollbarImplTest25000100%0.049

de.lessvoid.nifty.controls.textfield

ClassTestsErrors FailuresSkippedSuccess RateTime
TextFieldChangeEventClipboardTest2000100%0.006
TextFieldChangeEventTest13000100%0.015
TextFieldMaxLenClipboardTest2000100%0.002
TextFieldMaxLenTest5000100%0.007
TextFieldPasswordTest7000100%0.003

de.lessvoid.nifty.controls.slider

ClassTestsErrors FailuresSkippedSuccess RateTime
SliderImplTest14000100%0.026

de.lessvoid.nifty.controls.checkbox

ClassTestsErrors FailuresSkippedSuccess RateTime
CheckBoxImplTest7000100%0.137

Test Cases

[Summary] [Package List] [Test Cases]

CheckBoxImplTest

testDefault0.083
testCheck0.012
testUncheck0.002
testSetToChecked0.002
testSetToUnchecked0.002
testToggle0.002
testToggleToOff0.002

CreateCheckBoxControlTest

testCreateWithId0.344

CheckBoxStateChangedEventTest

testChecked0
testUnchecked0.001

ConsoleCommandsMatchTest

testEmpty0.012
testNotFound0.002
testDirectHit0.002
testMultipleHits0.002
testParameter0.001
testFindShortest0.001
testFindShortestShort0.001

ConsoleExecuteCommandEventTest

testCommandLineNull0.001
testCommandLineEmpty0
testSimpleCommandLine0.001
testOneParameterCommandLine0.001
testMultipleParameterCommandLine0.001
testMultipleStringParameterCommandLine0.001

ListBoxAddItemTest

testAddItem0.004
testAddItemTwice0.001
testInsertItem0.001
testAddAllItems0.001

ListBoxFocusElementEmptyTest

testGetFocusItemDefault0.001
testGetFocusAfterAddItem0.001
testGetFocusAfterTwoAddItems0.002
testGetFocusAfterInsertItem0.002
testGetFocusAfterSecondInsertItem0.002
testGetFocusAfterClear0.003
testGetFocusAfterRemoveItem0.002
testGetFocusAfterRemoveItemByIndex0.002

ListBoxFocusElementTest

testGetFocusItemDefault0.002
testSetFocusItemByIndexInvalid0.002
testSetFocusItemByIndexTooLarge0.002
testSetFocusItemByIndex00.002
testSetFocusItemByIndex10.002
testSetFocusItemByIndex20.002
testSetFocusItemByIndex30.001
testSetFocusItem0.001
testSetFocusItemUnknown0.001
testSetFocusScroll0.002
testFocusItemAfterDelete0.002
testRemoveFocusItemBeingTheLastItem0.002

ListBoxFocusItemTest

testDefaultEmpty0.001
testDefaultWithNoFocus0.001
testDefaultWithNoFocusAndRemove0.002
testDefaultWithEmptyRemove0.002
testRemoveFocusElement0.001
testWithRemoveElementBeforeFocus0.001
testWithRemoveElementAfterFocus0.002
testWithRemoveMultipleElementAfterFocus0.002
testWithRemoveMultipleElementBeforeFocus0.002
testWithRemoveLastElementWithFocus0.001
testWithRemoveLastElementsWithFocus0.002
testWithRemoveAllElementWithFocus0.001
testWithRemoveAllElementBeforeFocus0.001

ListBoxInsertItemInvalidTest

testInsertItemInvalid0.001
testInsertItemInvalidIndex0.001
testCantModifyGetItems0.001

ListBoxInsertItemTest

testInsertItemLast0
testInsertItemFirst0.001

ListBoxItemNextPreviousEmptyTest

testNext0.002
testPrevious0.001

ListBoxItemNextPreviousWithDisabledSelectionTest

testNext0.002
testPrevious0.001
testDefaultSelection0.001
testNextEnd0.001
testPreviousAtBeginning0

ListBoxItemNextPreviousWithMultipleSelectionTest

testNext0.002
testPrevious0.001
testDefaultSelection0.001
testNextEnd0.001
testPreviousAtBeginning0.001

ListBoxItemNextPreviousWithSelectionTest

testNext0
testPrevious0
testDefaultSelection0
testNextEnd0.001
testPreviousAtBeginning0.001

ListBoxItemRemoveTest

testClear0.002
testRemoveItemByIndex0.001
testRemoveItemByNegativeIndex0.001
testRemoveItemByIndexTooLarge0.001
testRemoveAllItemManual0.002
testRemoveAllItems0.001
testRemoveAllItemsAtBackOfList0.002
testRemoveItemWithAnItemNotPartOfTheList0.001

ListBoxItemSortTest

testSortWithoutComparator0.001
testSortWithComparator0.001

ListBoxItemTest

testDefault0.001
testRemoveItemByNegativeIndex0
testRemoveItemByIndexTooLarge0.001

ListBoxNotifyDeselectionTest

testDeselectItem0.001
testDeselectByIndex0.001
testRemoveSelectedItem0.001
testRemoveSelectedItemByIndex0.001
testRemoveSelectionByClear0.001

ListBoxNotifyTest

testSelectByItem0
testSelectByItemIndex0

ListBoxSelectionModeMultiRequiredSelectionTest

testClear0.001
testRequiresSelectionDefault0.001
testRequiresSelectionWithSingleItem0.001
testRemoveInList0.001
testRemoveMultiInList0.001
testRemoveMultiInListReverse0.001
testRemoveForcedMultiInList0.001
testRemoveForcedMultiInListReverse0.001
testClearMulti0.001

ListBoxSelectionModeMultiTest

testClear0.001
testRequiresSelectionDefault0.001
testRemoveInList0.001
testEmptyDefaultSelection0.001
testAdd0
testAddTwice0
testRemoveNotInList0.001

ListBoxSelectionModeSingleRequiredSelectionTest

testClear0.001
testRequiresSelectionDefault0
testRequiresSelectionWithSingleItem0
testRemoveInList0.001
testRemoveForcedInList0.001

ListBoxSelectionModeSingleTest

testClear0.001
testRequiresSelectionDefault0.001
testRemoveInList0
testEmptyDefaultSelection0
testAdd0.001
testAddTwice0.001
testRemoveNotInList0.001

ListBoxShowItemLessThanViewCountTest

testShowItemByIndexSmallerThanVisibleCount0.001
testShowItemByIndexEqualsVisibleCount0

ListBoxShowItemTest

testShowItemByInvalidIndex0.001
testShowItemByInvalidIndexTooLarge0.001
testShowItemByIndex0.001
testShowItemByLastIndex0.001
testShowItem0.001
testShowItemUnknownItem0.001

ListBoxViewDefaultTest

testUpdateViewWithEmptyList0.001

ListBoxViewMoveTest

testUpdateView00.001
testUpdateView10.001
testUpdateView20.001
testUpdateViewTooBig0.001

ListBoxViewTest

testAddItemWithUpdateWidth0.001
testAddTwoItemsWithUpdateWidth0.001
testAddTwoItemsWithNoUpdateWidth0.001

ListBoxViewWidthTest

testUpdateViewWithEmptyList0.001
testSingleEntry0.001
testTwoEntries0.001
testThreeEntries0.002

ListBoxChangeSelectionModeTest

testChangeFromDefaultToMultipleWithoutSelection0.001
testChangeFromDefaultToMultipleWithSingleSelection0.001
testChangeFromMultipleToSingleWithoutSelection0
testChangeFromMultipleToSingleWithSingleSelection0
testChangeFromMultipleToSingleWithMultipleSelection0.001

ListBoxDisabledSelectionModeTest

testDefault0
testClear0.001
testAdd0
testRemove0.001

ListBoxDisabledSelectionTest

testSelectWithItemIndexTooLarge0
testSelectFirstItem0.001

ListBoxMultipleSelectionTest

testDefault0.001
testRemoveItemWithAnItemNotPartOfTheList0.001
testSelectWithItemIndexTooLarge0.002
testSelectFirstItem0.002
testSelectWithNegativeIndex0.001
testSelectFirstItemByIndex0.002
testMultipleSelection0.003
testMultipleSelectionWithItem0.002
testClearWithSelection0.002
testRemoveItemWithSelection0.003
testRemoveUnselectedIndex0.002
testDeselectionByIndex0.002
testDeselectionByIndexTooLarge0.001
testDeselectionByNegativIndex0.001
testDeselection0.002
testDeselectionFirst0.002
testDeselectionByNotAddedItem0.001
testDeselectionWithoutSelection0.001
testChangeToForceSelectionWithItems0.001

ListBoxMultipleSelectionViewTest

testRemoveAllItemsWithSelection0.001

ListBoxSingleSelectionListViewTest

testSelectFirstItem0.001
testClearWithSelection0.001
testRemoveItemWithSelection0.001
testSelectDoubleItem0.001
testSelectOutOfDisplayItem0.001

ListBoxSingleSelectionRequiresSelectionListViewTest

testChangeToForceSelectionWithItems0.002
testAutoSelectedAdd0.001
testAutoSelectedAddMultipl0.001
testAutoSelectedInsert0.001
testAutoSelectedInsertMultipl0.002
testAutoSelectedAddAllEmpty0.001
testAutoSelectedAddAllSingle0.001
testAutoSelectedAddAllMultiple0.001
testRemoveSelection0.001

ListBoxSingleSelectionTest

testDefault0.002
testAddItem0.001
testRemoveItemWithAnItemNotPartOfTheList0.002
testSelectWithItemIndexTooLarge0.002
testSelectFirstItem0.001
testSelectWithNegativeIndex0.002
testSelectFirstItemByIndex0.002
testClearWithSelection0.001
testRemoveItemWithSelection0.001
testRemoveUnselectedIndex0.002
testDeselectionByIndex0.002
testDeselectionByIndexTooLarge0.001
testDeselectionByNegativIndex0.002
testDeselection0.002
testDeselectionByNotAddedItem0.001
testDeselectionWithoutSelection0.001
testSelectWithoutItems0.002
testSingleSelection0.001
testSingleSelectionWithItem0.001
testRemoveSelectedIndex0.002
testRemoveItem0.001
testRemoveChangesSelectionIndex0.002

ScrollbarImplHandleSizeTest

testNoEntries0.003

ScrollbarImplTest

testNoEntries0.002
testMaxEqualView0.001
testMaxDoubleView0.001
testMaxView0.001
testCurrentValueTooBigValue0.001
testCurrentValueMaximumValue0.001
testMovingCurrentValue0.002
testStepUp0.001
testStepUpLimit0.002
testStepDownLimit0.001
testStepDown0.001
testPageUp0.002
testPageUpLimit0.001
testPageDownLimit0.002
testPageDown0.002
testSetValue0.002
testSetValueMinLimit0.002
testSetValueMaxLimit0.001
testSetup0.002
testSetMax0.001
testSetPageStepSize0.002
testInteractionCantMove0.001
testPageDownInteractionClick0.002
testPageUpInteractionClick0.002
testMoveHandle0.002

SliderImplTest

testStepUp0.003
testStepDown0.002
testDefaultPosition0.001
testChangePositionMax0.001
testChangePositionHalf0.002
testStepDownWithMax0.001
testFromViewValueMin0.001
testFromViewValueMax0.002
testFromViewValueCenter0.001
testFromViewValueCenterWithStepSize0.001
testWithDifferentStepSize0.001
testChangeMin0.001
testChangeMax0.002
testChangeStepSize0.002

TextFieldChangeEventClipboardTest

testCutWithoutSelection0.004
testCutWithSelection0.001

TextFieldChangeEventTest

testInitWithTextNull0.001
testInitWithTextEmpty0.001
testInitWithText0.001
testDeleteNotify0.001
testDeleteNotifyNoChange0.001
testDeleteNotifyWithSelection0.001
testBackspaceNotifyNoChange0.001
testBackspaceNotify0.001
testInsert0.001
testInsertWithSelection0.001
testInsertNoChange0.001
testSetMaxLengthNoChange0.001
testSetMaxLength0.001

TextFieldMaxLenClipboardTest

testInsertWithPutMaxLength0.001
testMaxLengthCopyWithoutMaxLen0

TextFieldMaxLenTest

testInsertWithMaxLength0.001
testMaxLengthWithDataEntered0
testMaxLengthWithSameLength0
testMaxLengthWithEmptyData0
testMakingMaxLengthShorter0

TextFieldPasswordTest

testCutNormal0
testCutPassword0.001
testCopyNormal0.001
testCopyPassword0
testModifyWithPasswordMethodWithNull0
testModifyWithPasswordMethodWithChar0.001
testModifyWithPasswordMethodWithCharAndNull0