Package io.cucumber.messages
Class TestStepResultStatusComparator
- java.lang.Object
-
- io.cucumber.messages.TestStepResultStatusComparator
-
- All Implemented Interfaces:
Comparator<TestStepResultStatus>
public final class TestStepResultStatusComparator extends Object implements Comparator<TestStepResultStatus>
Orders test step results from least to most severe.
-
-
Constructor Summary
Constructors Constructor Description TestStepResultStatusComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(TestStepResultStatus a, TestStepResultStatus b)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(TestStepResultStatus a, TestStepResultStatus b)
- Specified by:
comparein interfaceComparator<TestStepResultStatus>
-
-