Class FlakyTestResultAction.FlakyRunStats
java.lang.Object
com.google.jenkins.flakyTestHandler.plugin.FlakyTestResultAction.FlakyRunStats
- Enclosing class:
- FlakyTestResultAction
Class to hold all the passing/failing/flaky tests for one run
-
Constructor Summary
ConstructorDescriptionFlakyRunStats
(Map<String, HistoryAggregatedFlakyTestResultAction.SingleTestFlakyStatsWithRevision> testFlakyStatsWithRevisionMap) -
Method Summary
-
Constructor Details
-
FlakyRunStats
public FlakyRunStats() -
FlakyRunStats
public FlakyRunStats(Map<String, HistoryAggregatedFlakyTestResultAction.SingleTestFlakyStatsWithRevision> testFlakyStatsWithRevisionMap)
-
-
Method Details
-
getTestFlakyStatsWithRevisionMap
public Map<String,HistoryAggregatedFlakyTestResultAction.SingleTestFlakyStatsWithRevision> getTestFlakyStatsWithRevisionMap() -
isFlaked
public boolean isFlaked()Is current run flaky or not. Build will be marked as unstable if there are flaky tests and no failing test- Returns:
- true if there is no failing test but there are some flaky tests
-