Package de.hybris.y2ysync
Class XMLContentAssert
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<XMLContentAssert,java.lang.String>
-
- de.hybris.y2ysync.XMLContentAssert
-
- All Implemented Interfaces:
org.assertj.core.api.Assert<XMLContentAssert,java.lang.String>,org.assertj.core.api.Descriptable<XMLContentAssert>,org.assertj.core.api.ExtensionPoints<XMLContentAssert,java.lang.String>
public class XMLContentAssert extends org.assertj.core.api.AbstractAssert<XMLContentAssert,java.lang.String>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static XMLContentAssertassertThat(java.lang.String actual)XMLContentAsserthasTheSameContentAs(java.lang.String expectedXml)Deprecated, for removal: This API element is subject to removal in a future version.since 2011 - this method is checking only number of xpaths and not the whole xml document.XMLContentAssertignoreComments()XMLContentAssertignoreNodeOrder()XMLContentAssertignoreWhitespaces()XMLContentAssertisIdenticalTo(java.lang.String expectedXml)XMLContentAssertisIdenticalToResource(java.lang.String resourceName)-
Methods inherited from class org.assertj.core.api.AbstractAssert
as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, overridingErrorMessage, satisfies, setCustomRepresentation, throwAssertionError, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnError
-
-
-
-
Method Detail
-
assertThat
public static XMLContentAssert assertThat(java.lang.String actual)
-
ignoreComments
public XMLContentAssert ignoreComments()
-
ignoreWhitespaces
public XMLContentAssert ignoreWhitespaces()
-
ignoreNodeOrder
public XMLContentAssert ignoreNodeOrder()
-
isIdenticalToResource
public XMLContentAssert isIdenticalToResource(java.lang.String resourceName)
-
isIdenticalTo
public XMLContentAssert isIdenticalTo(java.lang.String expectedXml)
-
hasTheSameContentAs
@Deprecated(since="2011", forRemoval=true) public XMLContentAssert hasTheSameContentAs(java.lang.String expectedXml) throws org.xml.sax.SAXException, java.io.IOException, org.custommonkey.xmlunit.exceptions.XpathExceptionDeprecated, for removal: This API element is subject to removal in a future version.since 2011 - this method is checking only number of xpaths and not the whole xml document. UseisIdenticalTo(String)- Throws:
org.xml.sax.SAXExceptionjava.io.IOExceptionorg.custommonkey.xmlunit.exceptions.XpathException
-
-