retest / gui-state-machine-api

API for the creation and modification of incomplete state machines which represent the exploration of a GUI application.
2 stars 1 forks source link

Replace automatic ID with a given name #21

Closed tdauth closed 5 years ago

tdauth commented 5 years ago

Let the user of the API define a name and directly return the new state machine. This allows us to remove the custom type IdMap and hence simplifies the code.

Before: val stateMachine = GuiStateMachineApi().createStateMachine()

After: val stateMachine = GuiStateMachineApi().createStateMachine("test")