public class ShouldBeSimilar extends Object
| Modifier and Type | Method and Description |
|---|---|
AssertionError |
newAssertionError(org.assertj.core.description.Description d,
org.assertj.core.presentation.Representation representation)
Create org.junit.ComparisonFailure if possible.
|
static ShouldBeSimilar |
shouldBeIdentical(String controlSystemId,
String testSystemId,
Comparison comparison,
ComparisonFormatter formatter,
boolean formatXml) |
static ShouldBeSimilar |
shouldBeSimilar(String controlSystemId,
String testSystemId,
Comparison comparison,
ComparisonFormatter formatter,
boolean formatXml) |
public static ShouldBeSimilar shouldBeIdentical(String controlSystemId, String testSystemId, Comparison comparison, ComparisonFormatter formatter, boolean formatXml)
controlSystemId - optional systemId of control documenttestSystemId - optional systemId of test documentcomparison - the comparison that failedformatter - formatter to useformatXml - whether to format the difference as XMLpublic static ShouldBeSimilar shouldBeSimilar(String controlSystemId, String testSystemId, Comparison comparison, ComparisonFormatter formatter, boolean formatXml)
controlSystemId - optional systemId of control documenttestSystemId - optional systemId of test documentcomparison - the comparison that failedformatter - formatter to useformatXml - whether to format the difference as XMLpublic AssertionError newAssertionError(org.assertj.core.description.Description d, org.assertj.core.presentation.Representation representation)
org.junit.ComparisonFailureif possible.
newAssertionError in interface org.assertj.core.error.AssertionErrorFactoryCopyright © 2001–2025 XMLUnit. All rights reserved.