Class TestComparisonSuccessResult


  • public class TestComparisonSuccessResult
    extends TestComparisonResult
    Comparison result for successful comparisons.
    Author:
    Rene Schneider - initial API and implementation
    • Constructor Detail

      • TestComparisonSuccessResult

        public TestComparisonSuccessResult​(ComparisonResult aResult,
                                           java.lang.String aParameter,
                                           java.lang.Object anActualValue,
                                           ValueOrEnumValueOrOperationCollection anExpectedValue)
        Creates a new instance.
        Parameters:
        aResult - The ComparisonResult as determined by the ResultComparator
        aParameter - The name of the parameter in which the comparison expected result was given. May be null if this was the default test result.
        anActualValue - The actual result as returned by the fixture
        anExpectedValue - the expected result value