All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ack.automate-testassist.1.1.0.source-code.RecordedData Maven / Gradle / Ivy

Go to download

Library provides classes that Assist the Automate Build plugins to capture Selenium session id and test case names.

There is a newer version: 1.1.1
Show newest version
package com.browserstack.automate.testassist;


/**
 * Stores data that uniquely identifies each implementation.
 *
 * @author Shirish Kamath
 * @author Anirudha Khanna
 */
public abstract class RecordedData {
    final String data;

    RecordedData(String data) {
        this.data = data;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        RecordedData recordedData = (RecordedData) o;
        return data != null ? data.equals(recordedData.data) : recordedData.data == null;
    }

    @Override
    public int hashCode() {
        return data != null ? data.hashCode() : 0;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy