Class ResultCount
- java.lang.Object
-
- com.trivago.cluecumber.engine.rendering.pages.pojos.ResultCount
-
public class ResultCount extends Object
The aggregated results.
-
-
Constructor Summary
Constructors Constructor Description ResultCount()Default constructor resetting all counts.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFailed(int failedCount)Add an amount of failed entries to the overall results.voidaddPassed(int passedCount)Add an amount of passed entries to the overall results.voidaddSkipped(int skippedCount)Add an amount of skipped entries to the overall results.intgetFailed()Get the total amount of passed entries.intgetPassed()Get the total amount of passed entries.intgetSkipped()Get the total amount of passed entries.intgetTotal()Get the total amount of all entries.
-
-
-
Method Detail
-
addPassed
public void addPassed(int passedCount)
Add an amount of passed entries to the overall results.- Parameters:
passedCount- The number of passed entries to add.
-
addFailed
public void addFailed(int failedCount)
Add an amount of failed entries to the overall results.- Parameters:
failedCount- The number of failed entries to add.
-
addSkipped
public void addSkipped(int skippedCount)
Add an amount of skipped entries to the overall results.- Parameters:
skippedCount- The number of skipped entries to add.
-
getPassed
public int getPassed()
Get the total amount of passed entries.- Returns:
- The count.
-
getFailed
public int getFailed()
Get the total amount of passed entries.- Returns:
- The count.
-
getSkipped
public int getSkipped()
Get the total amount of passed entries.- Returns:
- The count.
-
getTotal
public int getTotal()
Get the total amount of all entries.- Returns:
- The count.
-
-