PalladioSimulator / Palladio-Editors-Sirius

Sirius-based editors for models of the Palladio Component Model (PCM).
Eclipse Public License 2.0
5 stars 4 forks source link

Test Minimal Complete Non-Performance Model #55

Open Entenwilli opened 11 months ago

Entenwilli commented 11 months ago

Description

Test if a minimal model that contains all elements that are not performance-specific can be successfully created.

Environment

None

Test Case Description

  | Test Step | Expected Result -- | -- | -- 1 | Install a fresh Palladio Bench and start it | Running Palladio Bench 2 | Create a new empty Palladio project(Right click in the project explorer -> New -> Other -> Palladio Modeling -> New Palladio Project - Sirius -> Next -> Enter a Project name -> Finish) | Empty Palladio project 3 | Create a new repository diagram(Right click on the model folder of the empty project -> New -> Other -> Palladio Modeling -> Repository Model and Diagram - Sirius -> Next -> Finish). If the button is missing, press enter (This is an issue on Linux systems) | An empty newRepository.repository 4 | Create a new basic component(When the repository diagram is open click on BasicComponent in the Palette and click on the diagram) | A new basic component "BasicComponent1" 5 | Select the component and click in the most upper compartment. Set the name to "B1". | A renamed basic component "B1" 6 | Create a new interface(Click on Interface in the Palette and click on the diagram) | A new interface "Interface1" 7 | Select the interface and click in the most upper compartment. Set the name to "1". | A renamed interface "1" 8 | Add an operation signature to the interface "1"Select signature from the toolbar and click into the empty compartment. Select the operation, click on the operation, set the name to "s1".Click on the interface, open the properties view, select the operations tab, select the return type int. | A new operation signature "int s1()" for the interface "1" 9 | Keep on doing this until you obtain models as specified in the attached pdfs. |  
Entenwilli commented 11 months ago

The button in the Repository Creation Wizard is not showing up on my Linux Machine. This has been observed two years ago as well

Entenwilli commented 11 months ago

Model files: minimalcomplete_system.pdf minimalcomplete_repository.pdf minimalcomplete_compositestructure.pdf

Entenwilli commented 11 months ago

SEFFs are not automatically added in all cases for provided interfaces: If Signatures are added to an interface after specifying the provided role, those signatures will not recieve an SEFF