Summary

TestsErrors FailuresSkippedSuccess RateTime
313000100%2.533

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

Package List

PackageTestsErrors FailuresSkippedSuccess RateTime
org.ericmignot.modeler.gui.layout4000100%0
org.ericmignot.modeler.helpers.gui.palette1000100%0
org.ericmignot.modeler.data64000100%0.312
org.ericmignot.modeler.gui.workarea43000100%0.139
org.ericmignot.modeler.action26000100%0.032
org.ericmignot.modeler.util.graphic18000100%0.093
org.ericmignot.modeler.util.misc4000100%0
org.ericmignot.modeler.helpers.data24000100%0.188
org.ericmignot.modeler.helpers.gui.workarea18000100%0.032
org.ericmignot.modeler.util.action7000100%0.031
org.ericmignot.modeler.gui29000100%0.797
org.ericmignot.modeler.gui.historic3000100%0.016
org.ericmignot.modeler.helpers.action3000100%0.063
org.ericmignot.modeler.helpers7000100%0.125
org.ericmignot.modeler.gui.palette60000100%0.705
org.ericmignot.modeler.util.collection2000100%0

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

org.ericmignot.modeler.gui.layout

ClassTestsErrors FailuresSkippedSuccess RateTime
ZoomLayoutManagerTest4000100%0

org.ericmignot.modeler.helpers.gui.palette

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultPaletteToolProviderTest1000100%0

org.ericmignot.modeler.data

ClassTestsErrors FailuresSkippedSuccess RateTime
LinkTest32000100%0.203
ModelTest31000100%0.109
SimplePointTest1000100%0

org.ericmignot.modeler.gui.workarea

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultExtremityStrategyTest1000100%0
ExtremityFactoryTest3000100%0
FirstPointTest1000100%0
InnerPointTest1000100%0
LastPointTest1000100%0
LinkItemFactoryTest4000100%0.046
LinkItemTest23000100%0.047
PointItemFactoryTest1000100%0.015
PointItemTest2000100%0
WorkAreaTest6000100%0.031

org.ericmignot.modeler.action

ClassTestsErrors FailuresSkippedSuccess RateTime
DeleteActionTest9000100%0.016
MoveActionTest5000100%0
SimplePointCreationActionTest7000100%0.016
SimplePointDeleteActionTest3000100%0
UpdateActionTest2000100%0

org.ericmignot.modeler.util.graphic

ClassTestsErrors FailuresSkippedSuccess RateTime
GraphicHelperTest8000100%0.015
MagneticGridMoverTest10000100%0.078

org.ericmignot.modeler.util.misc

ClassTestsErrors FailuresSkippedSuccess RateTime
KeyboardAnalyzerTest4000100%0

org.ericmignot.modeler.helpers.data

ClassTestsErrors FailuresSkippedSuccess RateTime
BusinessObjectFactoryTest8000100%0.172
DefaultBusinessObjectTest16000100%0.016

org.ericmignot.modeler.helpers.gui.workarea

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultItemCreationTest2000100%0
DefaultItemFactoryTest1000100%0.016
DefaultItemTest15000100%0.016

org.ericmignot.modeler.util.action

ClassTestsErrors FailuresSkippedSuccess RateTime
ActionExceptionTest1000100%0
ActionHistoricTest6000100%0.031

org.ericmignot.modeler.gui

ClassTestsErrors FailuresSkippedSuccess RateTime
AppletTest4000100%0.047
ControllerTest24000100%0.703
FrameTest1000100%0.047

org.ericmignot.modeler.gui.historic

ClassTestsErrors FailuresSkippedSuccess RateTime
HistoricPanelTest3000100%0.016

org.ericmignot.modeler.helpers.action

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultActionTest3000100%0.063

org.ericmignot.modeler.helpers

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInteroperableTest7000100%0.125

org.ericmignot.modeler.gui.palette

ClassTestsErrors FailuresSkippedSuccess RateTime
DeleteToolTest8000100%0.359
LinkCreationToolTest14000100%0.094
MoveToolTest18000100%0.079
PaletteTest2000100%0.016
SimplePointCreationToolTest7000100%0.109
UpdateToolTest3000100%0
ZoomInToolTest4000100%0.016
ZoomOutToolTest4000100%0.032

org.ericmignot.modeler.util.collection

ClassTestsErrors FailuresSkippedSuccess RateTime
SafeHashtableTest2000100%0

Test Cases

DeleteActionTest

testInit0
testDeleteLink0
testDeleteLinkAndCancel0
testDeleteStartReturnedObject0
testCancelDeleteStartReturnedObject0
testDeleteStart0
testDeleteStartAndCancel0
testDeleteEnd0
testDeleteEndAndCancel0

MoveActionTest

testCenterInstanceAfterExecute0
testCenterInstanceAfterCancel0
testExecute0
testCancel0
testCancelAfterExecute0

SimplePointCreationActionTest

testExecute0
testCancel0
testItemsAfterExecute0.016
testModelAfterExecute0
testModelAfterCancel0
testLinkPoints0
testLinkPointsWithTwoLinks0

SimplePointDeleteActionTest

testDeleteLink0
testLinkPointsWithTwoLinks0
testTestSetup0

UpdateActionTest

testUpdateExecute0
testUpdateExecuteAndCancel0

LinkTest

testConstructor0
testAddPoint0
testRemovePoint0
testFieldNames0
testCopyFieldValues0
testCopyFieldValuesWithNull0
testReferenceThroughSetReference0
testReferenceThroughSetStartAndEnd0
testSize0
testCenter0
testXMLReferenceEmpty0
testXMLReference0
testXMLReferenceEnd0
testSetReferenceStartNull0
testSetReferenceStartNotNull0
testSetReferenceEndNull0
testSetReferenceEndNotNull0
testSetReferenceUnknown0
testLabelSet0
testLabelSetThroughFieldName0
testLabelListener0.015
testGetLinkEnd0
testLinkCreationFromXML0.047
testGetPoints0
testGetPointsNull0
testGetPointsThroughFieldValue0
testGetPointsThroughFieldValueNull0
testSetFieldValueForPoints0
testBuildPoint0
testSetPointsWithString0.015
testSetPointsWithString20
testGetXMLWithPoints0

ModelTest

testGetLinksFromBusinessObject0
testGetLinksToBusinessObject0
testReferencingBos0
testGetBusinessObjects0
testGetBusinessObjectByIdWithoutBo0
testGetBusinessObjectByIdFirst0
testGetBusinessObjectByIdSecond0
testGetSortedBusinessObjects0
testGetSortedBusinessObjectsWithTwoChilds0
testGetSortedBusinessObjectsWithTwoRoots0
testGetSortedBusinessObjectsWithThreeInLine0
testGetSortedBusinessObjectsWithLink0
testGetSortedBusinessObjectsWithLinks0
testRemoveReference0
testRemoveCircularReference0
testAdd0
testModelSingleObject0
testModelDoubleObjectSameCategory0
testModelDoubleObjectDifferentCategory0
testRemoveLinkedBusinessObject0
testRemoveQuietLinkedBusinessObject0
testRealLinkEnd0
testRealLinkStart0
testRootLinkUnique0
testRootLink0
testIsBusinessObjectPublic0
testAdjustXML0
testXMLSize0.016
testXMLLinkContent0
testRegister0
testUnregister0.015

SimplePointTest

testNominalXML0

AppletTest

testLoadProgressAtInit0
testSetLoadCompleted0.015
testVerticalScrollBarValueAtInit0
testHorizontalScrollBarValueAtInit0.016

ControllerTest

testZoomFactorAfterInit0.016
testWorkAreaContent0.016
testRemoveLink0.015
testRemoveStart0.016
testRemoveEnd0.016
testItemFactoryCount0.015
testItemFactoryBo10.078
testItemFactoryBo20.016
testItemFactoryLink0.016
testMoveToolSelection0.031
testDeleteToolSelection0.094
testConfigWithoutPalette0.015
testConfigWithoutHistoricPanel0.016
testMainPanel0.015
testSetData0.032
testSetDataTwice0.031
testSetPaletteToolProvider0.031
testInitPalette0.016
testSetStaticValues0.078
testSetStaticValuesWithTwoCalls0.031
testSetStaticValuesWithSecondCallThiner0.031
testGetScrollPane0.016
testAddDataFail0.016
testItemFactoryNotFound0.031

FrameTest

testPalette0.047

HistoricPanelTest

testDefaultConfig0
testSaveButton0.016
testSaveButtonTooltip0

ZoomLayoutManagerTest

testZoomRatioAfterInit0
testZoom10
testZoom20
testZoom050

DeleteToolTest

testSetup0.266
testWorkAreaConcerned0.015
testItemConcerned0.016
testItemUnder0
testItemPressedAndReleased0
testPressedAndReleasedOnEmptySpace0
testPressedLinkFirstInModelCollection0.015
testPressedLinkSecondInModelCollection0

LinkCreationToolTest

testLabel0.031
testTooltip0
testStartItemNotSetAtInit0
testEndItemNotSetAtInit0
testIsItemNotConcerned0.015
testIsWorkAreaConcerned0
testItemClickedFirstClick0
testItemClickedSecondClickOnSameItem_CancelProcess0
testItemClickedSecondClick0
testItemClickedThirdClickOnStart0
testBuildBusinessObjectNull0
testBuildBusinessObject0.016
testMove0
testMoveWithZoom0

MoveToolTest

testWorkAreaConcerned0
testMove0.016
testActionNull0
testActionMove0
testMoveWithoutMove0
testMoveWithoutMove20.016
testMoveWithoutMove30
testMoveWithoutMove40
testMoveWithoutMove50
testMoveFar0.015
testMoveZoomFactorEquals1MagneticStepEquals1_1X0
testMoveZoomFactorEquals1MagneticStepEquals1_2X0
testMoveZoomFactorEquals1MagneticStepEquals1_1Y0
testMoveZoomFactorEquals1MagneticStepEquals1_2Y0.016
testMoveZoomFactorEquals2MagneticStepEquals1_1X0
testMoveZoomFactorEquals2MagneticStepEquals1_2X0
testMoveZoomFactorEquals2MagneticStepEquals1_1Y0
testMoveZoomFactorEquals2MagneticStepEquals1_2Y0.016

PaletteTest

testSelectedPaletteTool0.016
testSelectedPaletteTool20

SimplePointCreationToolTest

testMousePressed150x00.015
testMousePressed150x1000
testMousePressed150x100Released0
testMousePressed150x100MouseDragged155x1000.016
testMousePressed150x100MouseDragged160x1000
testMousePressed150x100MouseDragged160x100and170x1000.015
testMousePressed150x100MouseDragged160x100and175x100MagneticGrid100.063

UpdateToolTest

testWorkAreaConcerned0
testItemConcerned0
testLinkItemConcerned0

ZoomInToolTest

testGetButton0.016
testShouldItemRegister0
testShouldWorkAreaRegister0
testManageReleased0

ZoomOutToolTest

testGetButton0.032
testShouldItemRegister0
testShouldWorkAreaRegister0
testManageReleased0

DefaultExtremityStrategyTest

testShouldDrawArrow0

ExtremityFactoryTest

testFirstPointStrategy0
testInnerPointStrategy0
testLastPointStrategy0

FirstPointTest

testShouldDrawArrow0

InnerPointTest

testShouldDrawArrow0

LastPointTest

testShouldDrawArrow0

LinkItemFactoryTest

testLinkStart0
testLinkEnd0
testExtremityStrategy0
testLinkItemCreationWithOnePoint0.031

LinkItemTest

testModifyStart0
testModifyEnd0
testAcceptUpdate0
testAcceptDelete0.015
testAcceptDeleteOnlyIfIsNotAttachedToSimplePoint0
testGetZoomableLocation0
testGetZoomableLocationZoom20
testGetZoomableSize0.016
testGetZoomableSizeZoom20
testGetZoomableLocationNW0
testGetZoomableSizeNW0
testIsVisibleTrue0
testIsVisibleFalse0
testIsVisibleFalse20
testGetStartCenterInterEndItem10.016
testGetEndCenterInterStartItem10
testLocationAndSizeSE0
testLocationAndSizeNE0
testLocationAndSizeNW0
testLocationAndSizeSW0
testLocationAndSizeE0
testLocationAndSizeS0
testLocationAndSizeSame0

PointItemFactoryTest

testCreatedItemClass0

PointItemTest

testAcceptDelete0
testLinkTarget0

WorkAreaTest

testZoomRatioAfterInit0
testContent0.015
testItemStart0
testItemEnd0
testLinkItem0.016
testGetItemsAt0

DefaultActionTest

testEvent0
testExecuteNull0
testCancelNull0

BusinessObjectFactoryTest

testClass0.016
testLinkStart0.016
testLinkEnd0.015
testId0.016
testX0.062
testY0.016
testWidth0.016
testHeight0.015

DefaultBusinessObjectTest

testConstructor0
testSize0
testCenter0
testId0
testHasReference0
testReferenceNull0
testReference0
testReferences0
testNoSetAfterConstructor0
testCenterModification0
testCenterLocationModification0
testAll0
testXMLNoSet0.016
testXMLSet0
testGetFieldValues0
testCopyFieldValuesFrom0

DefaultInteroperableTest

testMoveToolEvent0.015
testMoveToolEvent20.015
testMoveToolEventUndo0
testMoveToolEventUndo20
testDeleteToolEvent0.016
testDeleteToolEventUndo0
testLastEventIsDoOrUndo0.016

DefaultPaletteToolProviderTest

testProvider0

DefaultItemCreationTest

testCreationThroughFactoryAndZoom10
testCreationThroughFactoryAndZoom20

DefaultItemFactoryTest

testCreateModelerItem0

DefaultItemTest

testAcceptUpdate0
testAcceptDelete0
testX0
testY0
testWidth0
testHeight0
testExpectedBusinessObjectClass0
testSetExpectedBusinessObjectClass0
testSetExpectedBusinessObjectClassInvalid0
testSetBusinessObject0
testSetBusinessObjectInvalid0
testBounds0
testSizeWithZoom10.016
testSizeWithZoom20
testSizeWithZoom050

ActionExceptionTest

testMessage0

ActionHistoricTest

testExecute0
testUndo0
testUndo20.016
testGetNextUndoAction0
testRedo0.015
testNextRedoAction0

SafeHashtableTest

testGet0
testPut0

GraphicHelperTest

testBuildContainerRectangleDisconnected0
testBuildContainerRectangleConnected0
testBuildContainerRectangleIncluded0
testPanelCenter0
testGetMinPanelFrom0Points0
testGetLineRectangleIntersection0
testLineDistanceWithRectangle0
testSegmentDistanceWithLine0

MagneticGridMoverTest

testMove0.016
testNotMove0
testNearestGridPositionGridSetTo10
testNearestGridPositionGridSetTo50
testIsPointOnGridGridSetTo10
testIsPointOnGridGridSetTo20
testNewPositionFromMouseDraggedEventGridSetTo10
testNewPositionFromMouseDraggedEventGridSetTo20
testNewPositionFromMouseDraggedReturnsNull0
testNewPositionFromMouseDraggedSeveralDrags0

KeyboardAnalyzerTest

testDelay0
testAddCommand0
testEntryForCommand0
testEntryWithDelay0