Class ResultValidator


  • public class ResultValidator
    extends Object
    Example validator that can be used to compare a given and an expected ExecutionResult.
    • Constructor Detail

      • ResultValidator

        public ResultValidator()
    • Method Detail

      • check

        public void check​(ExecutionResult result,
                          ExecutionResult expectedResult)
        checks whether the given ExecutionResults are equal.
        Parameters:
        result - the given result of the SUT.
        expectedResult - the expected result provided by a test oracle.