Index
All Classes and Interfaces|All Packages
A
- and(Object) - Method in class org.xmlunit.assertj.XmlAssert
-
Create
CompareAssertfor given control XML source and actual XML source. - areIdentical() - Method in class org.xmlunit.assertj.CompareAssert
-
Check if actual and control XMLs are identical.
- areNotIdentical() - Method in class org.xmlunit.assertj.CompareAssert
-
Check if actual and control XMLs are not identical.
- areNotSimilar() - Method in class org.xmlunit.assertj.CompareAssert
-
Check if actual and control XMLs are not similar.
- areSimilar() - Method in class org.xmlunit.assertj.CompareAssert
-
Check if actual and control XMLs are similar.
- asBoolean() - Method in class org.xmlunit.assertj.ValueAssert
-
Returns an
Assertobject that allows performing assertions on boolean value of theStringunder test. - asDouble() - Method in class org.xmlunit.assertj.ValueAssert
-
Returns an
Assertobject that allows performing assertions on integer value of theStringunder test. - asInt() - Method in class org.xmlunit.assertj.ValueAssert
-
Returns an
Assertobject that allows performing assertions on integer value of theStringunder test. - assertThat(Object) - Static method in class org.xmlunit.assertj.XmlAssert
-
Factory method for
XmlAssert - asXml() - Method in class org.xmlunit.assertj.ValueAssert
-
Returns an
XmlAssertobject that allows performing assertions on XML value of theStringunder test. - asXml(String) - Method in class org.xmlunit.assertj.ValueAssert
-
Returns an
XmlAssertobject that allows performing assertions on XML value of theStringunder test wrapping around tag with name given in wrapNodeName.
C
- CompareAssert - Class in org.xmlunit.assertj
-
Assertion methods for XMLs comparison.
- containsAllNodesHavingXPath(String) - Method in class org.xmlunit.assertj.MultipleNodeAssert
-
Verifies that all of actual nodes have given
xPath. - containsAnyNodeHavingXPath(String) - Method in class org.xmlunit.assertj.MultipleNodeAssert
-
Verifies that any of actual nodes has given
xPath.
D
- describe(AssertionInfo) - Method in class org.xmlunit.assertj.error.ElementsShouldSatisfy.UnsatisfiedRequirement
- describedAs(String, Object...) - Method in class org.xmlunit.assertj.ValueAssert
- doesNotHaveAttribute(String) - Method in class org.xmlunit.assertj.SingleNodeAssert
-
Verifies that the actual node has not attribute with given name.
- doesNotHaveAttribute(String, String) - Method in class org.xmlunit.assertj.SingleNodeAssert
-
Verifies that the actual node has not attribute with given name and value.
- doesNotHaveXPath(String) - Method in class org.xmlunit.assertj.XmlAssert
-
Equivalent for
- doNotExist() - Method in class org.xmlunit.assertj.MultipleNodeAssert
-
Equivalent for
AbstractIterableAssert.isEmpty(). - doNotHaveAttribute(String) - Method in class org.xmlunit.assertj.MultipleNodeAssert
-
Verifies that all the actual nodes don't have attribute with given name.
- doNotHaveAttribute(String, String) - Method in class org.xmlunit.assertj.MultipleNodeAssert
-
Verifies that all the actual nodes don't have attribute with given name and value.
E
- elementsShouldSatisfy(Object, List<ElementsShouldSatisfy.UnsatisfiedRequirement>, AssertionInfo) - Static method in class org.xmlunit.assertj.error.ElementsShouldSatisfy
-
Creates ErrorMessageFactory.
- ElementsShouldSatisfy - Class in org.xmlunit.assertj.error
- ElementsShouldSatisfy.UnsatisfiedRequirement - Class in org.xmlunit.assertj.error
-
Holds the element not satisfing a requirement and the error message.
- exist() - Method in class org.xmlunit.assertj.MultipleNodeAssert
-
Equivalent for
AbstractIterableAssert.isNotEmpty(). - extractingAttribute(String) - Method in class org.xmlunit.assertj.MultipleNodeAssert
-
Extracting values of given node's attribute.
- extractingText() - Method in class org.xmlunit.assertj.MultipleNodeAssert
-
Extracting text content of given nodes.
H
- hasAttribute(String) - Method in class org.xmlunit.assertj.SingleNodeAssert
-
Verifies that the actual node has attribute with given name.
- hasAttribute(String, String) - Method in class org.xmlunit.assertj.SingleNodeAssert
-
Verifies that the actual node has attribute with given name and value.
- hasXPath(String) - Method in class org.xmlunit.assertj.SingleNodeAssert
-
Verifies that the actual node or any child node matches given
xPath. - hasXPath(String) - Method in class org.xmlunit.assertj.XmlAssert
-
Equivalent for
- haveAttribute(String) - Method in class org.xmlunit.assertj.MultipleNodeAssert
-
Verifies that all the actual nodes have attribute with given name.
- haveAttribute(String, String) - Method in class org.xmlunit.assertj.MultipleNodeAssert
-
Verifies that all the actual nodes have attribute with given name and value.
I
- ignoreChildNodesOrder() - Method in class org.xmlunit.assertj.CompareAssert
-
Equivalent for
- ignoreComments() - Method in class org.xmlunit.assertj.CompareAssert
-
Will remove all comment-Tags "<!
- ignoreCommentsUsingXSLTVersion(String) - Method in class org.xmlunit.assertj.CompareAssert
-
Will remove all comment-Tags "<!
- ignoreElementContentWhitespace() - Method in class org.xmlunit.assertj.CompareAssert
-
Ignore element content whitespace by removing all text nodes solely consisting of whitespace.
- ignoreWhitespace() - Method in class org.xmlunit.assertj.CompareAssert
-
Ignore whitespace by removing all empty text nodes and trimming the non-empty ones.
- isEqualTo(boolean) - Method in class org.xmlunit.assertj.ValueAssert
-
Try convert the
Stringunder test to boolean usingValueAssert.asBoolean()and compare with given value. - isEqualTo(double) - Method in class org.xmlunit.assertj.ValueAssert
-
Try convert the
Stringunder test to double usingValueAssert.asDouble()and compare with given value. - isEqualTo(int) - Method in class org.xmlunit.assertj.ValueAssert
-
Try convert the
Stringunder test to int usingValueAssert.asInt()and compare with given value. - isInvalid() - Method in class org.xmlunit.assertj.ValidationAssert
-
Verifies that actual value is not valid against given schema
- isInvalid() - Method in class org.xmlunit.assertj.XmlAssert
-
Check if actual value is not valid against W3C XML Schema
- isNotValidAgainst(Object...) - Method in class org.xmlunit.assertj.XmlAssert
-
Check if actual value is not valid against schema provided by given sources
- isNotValidAgainst(Schema) - Method in class org.xmlunit.assertj.XmlAssert
-
Check if actual value is not valid against given schema
- isValid() - Method in class org.xmlunit.assertj.ValidationAssert
-
Verifies that actual value is valid against given schema
- isValid() - Method in class org.xmlunit.assertj.XmlAssert
-
Check if actual value is valid against W3C XML Schema
- isValidAgainst(Object...) - Method in class org.xmlunit.assertj.XmlAssert
-
Check if actual value is valid against schema provided by given sources
- isValidAgainst(Schema) - Method in class org.xmlunit.assertj.XmlAssert
-
Check if actual value is valid against given schema
M
- MultipleNodeAssert - Class in org.xmlunit.assertj
N
- newAssertionError(Description, Representation) - Method in class org.xmlunit.assertj.error.ShouldBeSimilar
-
Create
- nodesByXPath(String) - Method in class org.xmlunit.assertj.XmlAssert
-
Create
MultipleNodeAssertfrom nodes selecting by given xPath. - normalizeWhitespace() - Method in class org.xmlunit.assertj.CompareAssert
-
Normalize Text-Elements by removing all empty text nodes and normalizing the non-empty ones.
O
- org.xmlunit.assertj - package org.xmlunit.assertj
-
AssertJ assertions on top of XMLUnit's core.
- org.xmlunit.assertj.error - package org.xmlunit.assertj.error
-
Contains internal classes of XMLUnit's AssertJ support that are only public as an implementation detail.
S
- shouldAnyNodeHaveXPath(String) - Static method in class org.xmlunit.assertj.error.ShouldAnyNodeHaveXPath
- ShouldAnyNodeHaveXPath - Class in org.xmlunit.assertj.error
- shouldBeConvertible(String, String) - Static method in class org.xmlunit.assertj.error.ShouldBeConvertible
- ShouldBeConvertible - Class in org.xmlunit.assertj.error
- shouldBeIdentical(String, String, Comparison, ComparisonFormatter, boolean) - Static method in class org.xmlunit.assertj.error.ShouldBeSimilar
- shouldBeInvalid(String) - Static method in class org.xmlunit.assertj.error.ShouldBeInvalid
- ShouldBeInvalid - Class in org.xmlunit.assertj.error
- shouldBeNotIdentical(String, String) - Static method in class org.xmlunit.assertj.error.ShouldBeNotSimilar
- shouldBeNotSimilar(String, String) - Static method in class org.xmlunit.assertj.error.ShouldBeNotSimilar
- ShouldBeNotSimilar - Class in org.xmlunit.assertj.error
- shouldBeSimilar(String, String, Comparison, ComparisonFormatter, boolean) - Static method in class org.xmlunit.assertj.error.ShouldBeSimilar
- ShouldBeSimilar - Class in org.xmlunit.assertj.error
- shouldBeValid(String, Iterable<ValidationProblem>) - Static method in class org.xmlunit.assertj.error.ShouldBeValid
- ShouldBeValid - Class in org.xmlunit.assertj.error
- shouldHaveAttribute(String, String) - Static method in class org.xmlunit.assertj.error.ShouldHaveAttribute
- ShouldHaveAttribute - Class in org.xmlunit.assertj.error
- shouldHaveAttributeWithValue(String, String, String) - Static method in class org.xmlunit.assertj.error.ShouldHaveAttribute
- shouldHaveXPath(String, String) - Static method in class org.xmlunit.assertj.error.ShouldHaveXPath
- ShouldHaveXPath - Class in org.xmlunit.assertj.error
- shouldNotHaveAttribute(String, String) - Static method in class org.xmlunit.assertj.error.ShouldNotHaveAttribute
- ShouldNotHaveAttribute - Class in org.xmlunit.assertj.error
- shouldNotHaveAttributeWithValue(String, String, String) - Static method in class org.xmlunit.assertj.error.ShouldNotHaveAttribute
- shouldNotHaveThrown(Throwable) - Static method in class org.xmlunit.assertj.error.ShouldNotHaveThrown
- ShouldNotHaveThrown - Class in org.xmlunit.assertj.error
- SingleNodeAssert - Class in org.xmlunit.assertj
-
Assertion methods for
Node.
T
- toString() - Method in class org.xmlunit.assertj.error.ElementsShouldSatisfy.UnsatisfiedRequirement
U
- UnsatisfiedRequirement(Object, String) - Constructor for class org.xmlunit.assertj.error.ElementsShouldSatisfy.UnsatisfiedRequirement
V
- ValidationAssert - Class in org.xmlunit.assertj
-
Assertion methods for XML validation.
- ValueAssert - Class in org.xmlunit.assertj
-
Assertion methods for
Stringresult of XPath evaluation. - valueByXPath(String) - Method in class org.xmlunit.assertj.XmlAssert
-
Create
ValueAssertfrom value of given xPath expression.
W
- withAttributeFilter(Predicate<Attr>) - Method in class org.xmlunit.assertj.CompareAssert
- withComparisonController(ComparisonController) - Method in class org.xmlunit.assertj.CompareAssert
- withComparisonFormatter(ComparisonFormatter) - Method in class org.xmlunit.assertj.CompareAssert
- withComparisonListeners(ComparisonListener...) - Method in class org.xmlunit.assertj.CompareAssert
- withDifferenceEvaluator(DifferenceEvaluator) - Method in class org.xmlunit.assertj.CompareAssert
- withDifferenceListeners(ComparisonListener...) - Method in class org.xmlunit.assertj.CompareAssert
- withDocumentBuilderFactory(DocumentBuilderFactory) - Method in class org.xmlunit.assertj.CompareAssert
- withDocumentBuilderFactory(DocumentBuilderFactory) - Method in class org.xmlunit.assertj.XmlAssert
-
Sets the
DocumentBuilderFactoryto use when creating aDocumentfrom the XML input. - withNamespaceContext(Map<String, String>) - Method in class org.xmlunit.assertj.CompareAssert
- withNamespaceContext(Map<String, String>) - Method in class org.xmlunit.assertj.XmlAssert
-
Utility method used for creating a namespace context mapping to be used in XPath matching.
- withNodeFilter(Predicate<Node>) - Method in class org.xmlunit.assertj.CompareAssert
- withNodeMatcher(NodeMatcher) - Method in class org.xmlunit.assertj.CompareAssert
- withXPathFactory(XPathFactory) - Method in class org.xmlunit.assertj.XmlAssert
-
Sets the
XPathFactoryto use for XPath related assertions.
X
- XmlAssert - Class in org.xmlunit.assertj
-
Entry point for fluent interface for writing assertions based on AssertJ library.
All Classes and Interfaces|All Packages