public class CoverageUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CoverageUtil.CoverageRowItem |
static class |
CoverageUtil.RowItem |
Modifier and Type | Field and Description |
---|---|
static int |
COVERAGE_NUMBER_COLS |
static int |
TOTAL_COVERAGE_COLS |
Constructor and Description |
---|
CoverageUtil() |
Modifier and Type | Method and Description |
---|---|
static QuestaCoverageAction |
getCoverageAction(hudson.tasks.test.AbstractTestResultAction testResultAction,
String coverageId) |
static QuestaCoverageAction |
getCoverageAction(hudson.tasks.test.TestResult t,
String coverageId) |
static List<QuestaCoverageResult> |
getCoverageResult(hudson.tasks.test.AbstractTestResultAction testResultAction) |
static QuestaCoverageResult |
getCoverageResult(hudson.tasks.test.AbstractTestResultAction testResultAction,
String coverageId) |
static List<QuestaCoverageResult> |
getCoverageResult(hudson.tasks.test.TestResult testResult) |
static QuestaCoverageResult |
getCoverageResult(hudson.tasks.test.TestResult t,
String coverageId) |
static List<String> |
getCoverageSummaryHeaders() |
static List<CoverageUtil.RowItem> |
getCoverageSummaryRow(hudson.tasks.test.AbstractTestResultAction testResultAction)
This method returns the coverage summary rows from a testresultAction if
it exists; The order of the rows are:Duration, Passed, Failed, Skipped,
Total, CPU Time, Total Coverage, Testplan Coverage (id, Passed, Failed,
Skipped, Total, CPU Time, Total Coverage, Testplan Coverage)*
|
static List<CoverageUtil.RowItem> |
getLastCoverageResult(hudson.model.TopLevelItem item) |
public static final int TOTAL_COVERAGE_COLS
public static final int COVERAGE_NUMBER_COLS
public static List<QuestaCoverageResult> getCoverageResult(hudson.tasks.test.TestResult testResult)
public static List<QuestaCoverageResult> getCoverageResult(hudson.tasks.test.AbstractTestResultAction testResultAction)
public static List<CoverageUtil.RowItem> getCoverageSummaryRow(hudson.tasks.test.AbstractTestResultAction testResultAction)
testResultAction
- the test result actionpublic static QuestaCoverageResult getCoverageResult(hudson.tasks.test.AbstractTestResultAction testResultAction, String coverageId)
public static QuestaCoverageAction getCoverageAction(hudson.tasks.test.AbstractTestResultAction testResultAction, String coverageId)
public static QuestaCoverageAction getCoverageAction(hudson.tasks.test.TestResult t, String coverageId)
public static QuestaCoverageResult getCoverageResult(hudson.tasks.test.TestResult t, String coverageId)
public static List<CoverageUtil.RowItem> getLastCoverageResult(hudson.model.TopLevelItem item)
Copyright © 2016–2022. All rights reserved.