Skip to content

[Sirius][StateMachineDiagram][Tests] Some provided tests check nothing... :-(

Bugzilla Link 580564
Status NEW
Importance P3 major
Reported Aug 12, 2022 09:11 EDT
Modified Aug 12, 2022 09:11 EDT
Version 0.7.0
Blocks 580563

Description

These two tests
org.eclipse.papyrus.sirius.uml.diagram.statemachine.tests.creation.edges.Transition_statemachine_EdgeCreationTest.test_create_sm_transition()
and
org.eclipse.papyrus.sirius.uml.diagram.statemachine.tests.creation.PseudostateCreationTest.test_create_statemachine_choice()

must be completed:

These tests call the method fixture.applyEdgeCreationTool(...) but without checking the return value of the method neither checking the result of the operation;
so, even when the creation tool is not found, we are not notified that the test is in failure.