munit.internal.junitinterface.AbstractAnnotatedFingerprint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of junit-interface Show documentation
Show all versions of junit-interface Show documentation
A Java implementation of sbt's test interface for JUnit 4
package munit.internal.junitinterface;
import sbt.testing.AnnotatedFingerprint;
public abstract class AbstractAnnotatedFingerprint implements AnnotatedFingerprint {
@Override
public boolean equals(Object obj) {
if (!(obj instanceof AnnotatedFingerprint)) return false;
AnnotatedFingerprint f = (AnnotatedFingerprint) obj;
return annotationName().equals(f.annotationName()) && isModule() == f.isModule();
}
}