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

build.please.test.result.SuccessCaseResult Maven / Gradle / Ivy

There is a newer version: 13.4.0
Show 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