Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mdt-papyrus.dev] tests JUnit for ModelExplorer

Hello,

I created a new bug for JUnit Tests :  360116: [Model Explorer] Papyrus ModelExplorer should be covered with JUnit Test.

I commited a new plugin on the branch/incoming : oep.modelexplorer.test in order to test handler activation and execution.

Currently, this plugin tests the activation of the following handlers :

- Delete action :

                - Table

                - Diagram

                - root of the model (disabled)

                - LinkItem (emf-facet) (disabled)

                - read-only element (disabled)

                - UML element

- Rename action :

                - Table

                - Diagram

                - read-only element (disabled)

                - LinkItem (disabled)

                - UnnamedElement (disabled)

                - UML Element

 

I’m going to complete these tests in a few day, to test the execution of the actions and the Undo/Redo.

 

I applied these tests on the Papyrus branch yesterday (not yet tested on the trunk) and I already corrected some bugs, so I think they will be very useful for the refactoring.

 

 

Best regards,

--

Vincent Lorenzo

01-69-08-17-24

CEA Saclay DRT/LIST/DILS/LISE

91191 Gif/Yvette CEDEX

 


Back to the top