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

Add information about number of completed steps in the EngineStatus class #143

Merged
merged 2 commits into from
Jan 10, 2020

Conversation

dvojtise
Copy link
Contributor

This PR adds a new data in org.eclipse.gemoc.xdsmlframework.api.core.engineStatus
In addition of nbLogicalStepRun that returns the number of completed steps there is now also the number of called step.

This information is used to display a better Engine View by also showing the "Not Completed" steps

It is also used in by test suites in order to manage the execution (and reduce flaky tests eclipse/gemoc-studio#123 )

In the following capture, the number between square brackets indicates the number of not completed steps (which in this case is the same as the depth of the stack)
image

as opposed to nbLogicalStepRun tha count only finished steps, this
information counts the calls.

This contributes to eclipse/gemoc-studio#123
by offering a way to control if the debug commands have been taken into
account

Signed-off-by: Didier Vojtisek <didier.vojtisek@inria.fr>
the data about called step vs run step is used to display information
about number of completed/not completed steps in the Engine view

Signed-off-by: Didier Vojtisek <didier.vojtisek@inria.fr>
@dvojtise dvojtise merged commit d4e46e9 into master Jan 10, 2020
@dvojtise dvojtise deleted the add_wait_for_treeitem_after_expand_in_tests branch January 11, 2020 09:09
dvojtise added a commit that referenced this pull request Jan 15, 2020
* put section Simulation model animation framework before GEMOC Framework
* add images from simulationmodelanimation dev
* fix path to images
* Add an helper method that computes an uri based printable name
** this helper method computes a printable name for a model element based on the uri in its resource. usefull in complement of xtext DefaultDeclarativeQualifiedNameProvider (not part of this plugin due to the dependency to xtext)
* use smarter name for the resource
** make sure to use a unique name relatively to the resource set, if last segment not unique, use full uri
* added @step on main methods of official examples
** this makes the stack looks better
* fix tests for new UI

Signed-off-by: Didier Vojtisek <didier.vojtisek@inria.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant