build.please.test.result.SuccessCaseResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of junit-runner Show documentation
Show all versions of junit-runner Show documentation
JUnit test runner for Please to run Java tests with.
The newest version!
package build.please.test.result;
import org.junit.runner.Description;
public final class SuccessCaseResult extends TestCaseResult {
private SuccessCaseResult(String testClassName,
String testMethodName) {
super(testClassName, testMethodName);
}
public static SuccessCaseResult fromDescription(Description description) {
return new SuccessCaseResult(description.getClassName(), description.getMethodName());
}
@Override
public boolean isSuccess() {
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy