Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test stoex editing functionality #50

Open
sebinside opened this issue Nov 6, 2023 · 1 comment
Open

Test stoex editing functionality #50

sebinside opened this issue Nov 6, 2023 · 1 comment

Comments

@sebinside
Copy link
Member

sebinside commented Nov 6, 2023

Description

This test checks the functionality of the stoex xtext editor.

Environment

New stoex xtext implementation

Test Case Description

  Test Step Expected Result
1 Create an element that contains a RandomVariable, e.g., in a SEFF SetVariableAction The element is created but if there is no standard value available, its value is null. An error marker is then shown besides it.
2 Open the StoEx xtext editor: Either press F2 or do a slow double-click. The inline xtext editor is opened, content assist is available
3 Edit StoEx: Enter an invalid expression When pressing "Enter", the editor does not close but forces focus. The background of the editor is red, errors are displayed through hovering over the "info" label at the left of the editor.
4 Edit StoEx: Stop editing through pressing "Esc" The editor is closed and the value of the RandomVariable is the same as before.
5 Edit StoEx: Enter a valid expression, e.g., "true" When pressing "Enter", the editor closes and the value of the RandomVariable is updated. The error marker is not shown anymore.
@sebinside sebinside transferred this issue from PalladioSimulator/Palladio-Build-Nightly Nov 6, 2023
@sebinside
Copy link
Member Author

Note: Steffen was not happy with this, see here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant