Class TestCoverageFormatter.FormattedCoverage
java.lang.Object
net.thucydides.core.reports.TestOutcomeCounter
net.thucydides.core.model.formatters.TestCoverageFormatter.FormattedCoverage
- Direct Known Subclasses:
TestCoverageFormatter.FormattedPercentageCoverage
,TestCoverageFormatter.FormattedPercentageStepCoverage
- Enclosing class:
- TestCoverageFormatter
public abstract class TestCoverageFormatter.FormattedCoverage extends TestOutcomeCounter
-
Field Summary
Fields inherited from class net.thucydides.core.reports.TestOutcomeCounter
testType
-
Constructor Summary
Constructors Constructor Description FormattedCoverage(TestType testType)
-
Method Summary
Modifier and Type Method Description protected abstract double
percentageDeterminedResult()
protected abstract double
percentageWithResult(TestResult expectedResult)
java.lang.String
withFailureOrError()
java.lang.String
withIndeterminateResult()
TestCoverageFormatter.FormattedCoverage
withPrecision(int precision)
java.lang.String
withResult(java.lang.String expectedResult)
java.lang.String
withResult(TestResult expectedResult)
java.lang.String
withResult(TestResult expectedResult, int precision)
java.lang.String
withSkippedOrIgnored()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
FormattedCoverage
-
-
Method Details
-
withPrecision
-
withResult
public java.lang.String withResult(java.lang.String expectedResult) -
percentageDeterminedResult
protected abstract double percentageDeterminedResult() -
percentageWithResult
-
withResult
-
withResult
-
withIndeterminateResult
public java.lang.String withIndeterminateResult() -
withFailureOrError
public java.lang.String withFailureOrError() -
withSkippedOrIgnored
public java.lang.String withSkippedOrIgnored()
-