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

Use abstract representation for actions from retest-model instead of Selenium types #6

Closed tdauth closed 5 years ago

tdauth commented 5 years ago

The legacy code provided the interface Action and the abstract class AbstractAction which reimplemented equals and hashCode by comparing ActionIdentifyingAttributes. This is important when the action is used as key type for maps or in sets etc.

As long as there is no abstract representation, the legacy API could be used:

<dependency>
            <groupId>de.retest</groupId>
            <artifactId>retest</artifactId>
            <version>3.0.1</version>
            <exclusions>
                <exclusion>
                    <groupId>com.google.guava</groupId>
                    <artifactId>guava</artifactId>
                </exclusion>
            </exclusions>
</dependency>

See de.retest.ui.actions.AbstractAction.