Class ComparisonCriteria

    • Method Detail

      • arrayEquals

        public void arrayEquals​(String message,
                                Object expecteds,
                                Object actuals)
                         throws ArrayComparisonFailure
        Asserts that two arrays are equal, according to the criteria defined by the concrete subclass. If they are not, an AssertionError is thrown with the given message. If expecteds and actuals are null, they are considered equal.
        Parameters:
        message - the identifying message for the AssertionError ( null okay)
        expecteds - Object array or array of arrays (multi-dimensional array) with expected values.
        actuals - Object array or array of arrays (multi-dimensional array) with actual values
        Throws:
        ArrayComparisonFailure