private boolean aMatchingTestExists(TestResult expectedResult, TestType testType) { return (countTestsWithResult(expectedResult, testType) > 0); }
private boolean aMatchingTestExists(TestResult expectedResult, TestType testType) { return (countTestsWithResult(expectedResult, testType) > 0); }
private boolean aMatchingTestExists(TestResult expectedResult, TestType testType) { return (countTestsWithResult(expectedResult, testType) > 0); }
public Double withIndeterminateResult() { int pendingCount = countTestsWithResult(TestResult.PENDING, testType); int ignoredCount = countTestsWithResult(TestResult.IGNORED, testType); int skippedCount = countTestsWithResult(TestResult.SKIPPED, testType); return (getTotal() == 0) ? 0 : ((pendingCount + skippedCount + ignoredCount) / (double) getTotal()); } public Double withFailureOrError() {
public Double withIndeterminateResult() { int pendingCount = countTestsWithResult(TestResult.PENDING, testType); int ignoredCount = countTestsWithResult(TestResult.IGNORED, testType); int skippedCount = countTestsWithResult(TestResult.SKIPPED, testType); return (getTotal() == 0) ? 0 : ((pendingCount + skippedCount + ignoredCount) / (double) getTotal()); } public Double withFailureOrError() {
public Double withIndeterminateResult() { int pendingCount = countTestsWithResult(TestResult.PENDING, testType); int ignoredCount = countTestsWithResult(TestResult.IGNORED, testType); int skippedCount = countTestsWithResult(TestResult.SKIPPED, testType); return (getTotal() == 0) ? 0 : ((pendingCount + skippedCount + ignoredCount) / (double) getTotal()); } public Double withFailureOrError() {
public Double withResult(TestResult testResult) { int matchingTestCount = countTestsWithResult(testResult, testType); return (getTotal() == 0) ? 0 : (matchingTestCount / (double) getTotal()); }
public Double withResult(TestResult testResult) { int matchingTestCount = countTestsWithResult(testResult, testType); return (getTotal() == 0) ? 0 : (matchingTestCount / (double) getTotal()); }
public Double withResult(TestResult testResult) { int matchingTestCount = countTestsWithResult(testResult, testType); return (getTotal() == 0) ? 0 : (matchingTestCount / (double) getTotal()); }