eclipse-capella / capella-studio

Open source SDK to develop Capella add-ons
Eclipse Public License 2.0
10 stars 10 forks source link

Junit to cover viewpoint generation #170

Open etraisnel2 opened 1 year ago

etraisnel2 commented 1 year ago

In order to replace former manual test sheet Design a junit that covers viewpoint generation with all options for a CDO Capella target Shall be tested that :

in viewpoint.af plugin, there is a models/.vp file there is a resource reuse extension with "vp" tags in plugin.xml

In model plugin, the EMF factory has methods taking String as parameter (ex: createMass(String name_p) ) and that we have extension code ("begin capella code")

In CDO model plugin, there is a factory override extension in model implementation, there are no attributes, but getters use eDynamicGet

In UI model plugin Section are properly generated