Package org.xmlunit.assertj3.error
Class ElementsShouldSatisfy
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.xmlunit.assertj3.error.ElementsShouldSatisfy
-
- All Implemented Interfaces:
org.assertj.core.error.ErrorMessageFactory
public class ElementsShouldSatisfy extends org.assertj.core.error.BasicErrorMessageFactory
Copied subset ofElementsShouldSatisfy
as AssertJ has moved the nested UnsatisfiedRequirement class to a top level class, breaking backwards compatibility.- Since:
- XMLUnit 2.8.3
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ElementsShouldSatisfy.UnsatisfiedRequirement
Holds the element not satisfing a requirement and the error message.
-
Constructor Summary
Constructors Modifier Constructor Description private
ElementsShouldSatisfy(java.lang.Object actual, java.util.List<ElementsShouldSatisfy.UnsatisfiedRequirement> elementsNotSatisfyingRestrictions, org.assertj.core.api.AssertionInfo info)
-
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)
-
-
-
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 valueelementsNotSatisfyingRestrictions
- elements that don't satisfy assertioninfo
- assertion information- Returns:
- ErrorMessageFactory
-
describeErrors
private static java.lang.String describeErrors(java.util.List<ElementsShouldSatisfy.UnsatisfiedRequirement> elementsNotSatisfyingRequirements, org.assertj.core.api.AssertionInfo info)
-
escapePercent
private static java.lang.String escapePercent(java.lang.String s)
-
-