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

Remove unnecessary helper methods #28

Closed tdauth closed 5 years ago

tdauth commented 5 years ago

If the following methods are not used anywhere, remove them:

trait GuiStateMachine {
  def getAllExploredActions: Set[Action]
  def getActionExecutionTime: Map[Action, Int]
}

They have only been added due to legacy code.

Then we can use a TrieMap or concurrent hash map for the states and remove synchronized.

We can also remove the execution counter for the action transitions and use a TrieMap here, too.