Class ElementsShouldSatisfy

  • All Implemented Interfaces:
    org.assertj.core.error.ErrorMessageFactory

    public class ElementsShouldSatisfy
    extends org.assertj.core.error.BasicErrorMessageFactory
    Copied subset of ElementsShouldSatisfy as AssertJ has moved the nested UnsatisfiedRequirement class to a top level class, breaking backwards compatibility.
    Since:
    XMLUnit 2.8.3
    • Field Summary

      • Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory

        arguments, format
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static java.lang.String describeErrors​(java.util.List<ElementsShouldSatisfy.UnsatisfiedRequirement> elementsNotSatisfyingRequirements, org.assertj.core.api.AssertionInfo info)  
      static org.assertj.core.error.ErrorMessageFactory elementsShouldSatisfy​(java.lang.Object actual, java.util.List<ElementsShouldSatisfy.UnsatisfiedRequirement> elementsNotSatisfyingRestrictions, org.assertj.core.api.AssertionInfo info)
      Creates ErrorMessageFactory.
      private static java.lang.String escapePercent​(java.lang.String s)  
      • Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory

        create, create, create, equals, hashCode, toString, unquotedString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ElementsShouldSatisfy

        private ElementsShouldSatisfy​(java.lang.Object actual,
                                      java.util.List<ElementsShouldSatisfy.UnsatisfiedRequirement> elementsNotSatisfyingRestrictions,
                                      org.assertj.core.api.AssertionInfo info)
    • Method Detail

      • elementsShouldSatisfy

        public static org.assertj.core.error.ErrorMessageFactory elementsShouldSatisfy​(java.lang.Object actual,
                                                                                       java.util.List<ElementsShouldSatisfy.UnsatisfiedRequirement> elementsNotSatisfyingRestrictions,
                                                                                       org.assertj.core.api.AssertionInfo info)
        Creates ErrorMessageFactory.
        Parameters:
        actual - the actual value
        elementsNotSatisfyingRestrictions - elements that don't satisfy assertion
        info - assertion information
        Returns:
        ErrorMessageFactory
      • escapePercent

        private static java.lang.String escapePercent​(java.lang.String s)