Package | Description |
---|---|
org.custommonkey.xmlunit |
Root of the XMLUnit 1.x compatibility layer.
|
org.xmlunit.assertj |
AssertJ assertions on top of XMLUnit's core.
|
org.xmlunit.builder |
Provides fluent builders for core parts of XMLUnit.
|
org.xmlunit.diff |
Contains XMLUnit
DifferenceEngine that is
at the heart of all comparisons as well as supporting interfaces
and implementations. |
org.xmlunit.matchers |
Hamcrest matchers on top of XMLUnit's core.
|
Modifier and Type | Class and Description |
---|---|
private static class |
NewDifferenceEngine.IsBetweenDocumentNodeAndRootElement
Tests whether the DifferenceEngine is currently processing
comparisons of "things" between the document node and the
document's root element (comments or PIs, mostly) since these
must be ignored for backwards compatibility reasons.
|
static class |
NewDifferenceEngine.MatchTracker2ComparisonListener |
Modifier and Type | Method and Description |
---|---|
CompareAssert |
CompareAssert.withComparisonListeners(ComparisonListener... comparisonListeners)
Registers listeners that are notified of each comparison.
|
CompareAssert |
CompareAssert.withDifferenceListeners(ComparisonListener... comparisonListeners)
Registers listeners that are notified of each comparison with
outcome other than
ComparisonResult.EQUAL . |
Modifier and Type | Class and Description |
---|---|
private static class |
DiffBuilder.CollectResultsListener |
Modifier and Type | Field and Description |
---|---|
private java.util.List<ComparisonListener> |
DiffBuilder.comparisonListeners |
private java.util.List<ComparisonListener> |
DiffBuilder.differenceListeners |
Modifier and Type | Method and Description |
---|---|
D |
DifferenceEngineConfigurer.withComparisonListeners(ComparisonListener... comparisonListeners)
Registers listeners that are notified of each comparison.
|
DiffBuilder |
DiffBuilder.withComparisonListeners(ComparisonListener... comparisonListeners)
Registers listeners that are notified of each comparison.
|
D |
DifferenceEngineConfigurer.withDifferenceListeners(ComparisonListener... comparisonListeners)
Registers listeners that are notified of each comparison with
outcome other than
ComparisonResult.EQUAL . |
DiffBuilder |
DiffBuilder.withDifferenceListeners(ComparisonListener... comparisonListeners)
Registers listeners that are notified of each comparison with
outcome other than
ComparisonResult.EQUAL . |
Modifier and Type | Field and Description |
---|---|
private java.util.List<ComparisonListener> |
ComparisonListenerSupport.compListeners |
private java.util.List<ComparisonListener> |
ComparisonListenerSupport.diffListeners |
private java.util.List<ComparisonListener> |
ComparisonListenerSupport.matchListeners |
Modifier and Type | Method and Description |
---|---|
void |
ComparisonListenerSupport.addComparisonListener(ComparisonListener l)
Registers a listener that is notified of each comparison.
|
void |
DifferenceEngine.addComparisonListener(ComparisonListener l)
Registers a listener that is notified of each comparison.
|
void |
AbstractDifferenceEngine.addComparisonListener(ComparisonListener l) |
void |
ComparisonListenerSupport.addDifferenceListener(ComparisonListener l)
Registers a listener that is notified of each comparison with
outcome other than
ComparisonResult.EQUAL . |
void |
DifferenceEngine.addDifferenceListener(ComparisonListener l)
Registers a listener that is notified of each comparison with
outcome other than
ComparisonResult.EQUAL . |
void |
AbstractDifferenceEngine.addDifferenceListener(ComparisonListener l) |
void |
ComparisonListenerSupport.addMatchListener(ComparisonListener l)
Registers a listener that is notified of each comparison with
outcome
ComparisonResult.EQUAL . |
void |
DifferenceEngine.addMatchListener(ComparisonListener l)
Registers a listener that is notified of each comparison with
outcome
ComparisonResult.EQUAL . |
void |
AbstractDifferenceEngine.addMatchListener(ComparisonListener l) |
Modifier and Type | Method and Description |
---|---|
private static void |
ComparisonListenerSupport.fire(Comparison comparison,
ComparisonResult outcome,
java.util.List<ComparisonListener> listeners) |
Modifier and Type | Method and Description |
---|---|
CompareMatcher |
CompareMatcher.withComparisonListeners(ComparisonListener... comparisonListeners) |
CompareMatcher |
CompareMatcher.withDifferenceListeners(ComparisonListener... comparisonListeners) |