Class ResultValidator
- java.lang.Object
-
- de.rwth.swc.coffee4j.junit.engine.result.ResultValidator
-
public class ResultValidator extends Object
Example validator that can be used to compare a given and an expectedExecutionResult
.
-
-
Constructor Summary
Constructors Constructor Description ResultValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
check(ExecutionResult result, ExecutionResult expectedResult)
checks whether the givenExecutionResult
s are equal.
-
-
-
Method Detail
-
check
public void check(ExecutionResult result, ExecutionResult expectedResult)
checks whether the givenExecutionResult
s are equal.- Parameters:
result
- the given result of the SUT.expectedResult
- the expected result provided by a test oracle.
-
-