Uses of Interface
org.xmlunit.diff.ComparisonListener
Packages that use ComparisonListener
Package
Description
Root of the XMLUnit 1.x compatibility layer.
AssertJ 3.x assertions on top of XMLUnit's core.
Provides fluent builders for core parts of XMLUnit.
Contains XMLUnit
DifferenceEngine
that is
at the heart of all comparisons as well as supporting interfaces
and implementations.Hamcrest matchers on top of XMLUnit's core.
-
Uses of ComparisonListener in org.custommonkey.xmlunit
Classes in org.custommonkey.xmlunit that implement ComparisonListenerModifier and TypeClassDescriptionprivate static class
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
Adapts XMLUnit 1.x MatchTracker to XMLUnit 2.x ComparisonListener. -
Uses of ComparisonListener in org.xmlunit.assertj3
Methods in org.xmlunit.assertj3 with parameters of type ComparisonListenerModifier and TypeMethodDescriptionCompareAssert.withComparisonListeners
(ComparisonListener... comparisonListeners) Registers listeners that are notified of each comparison.CompareAssert.withDifferenceListeners
(ComparisonListener... comparisonListeners) Registers listeners that are notified of each comparison with outcome other thanComparisonResult.EQUAL
. -
Uses of ComparisonListener in org.xmlunit.builder
Classes in org.xmlunit.builder that implement ComparisonListenerFields in org.xmlunit.builder with type parameters of type ComparisonListenerModifier and TypeFieldDescriptionprivate List
<ComparisonListener> DiffBuilder.comparisonListeners
private List
<ComparisonListener> DiffBuilder.differenceListeners
Methods in org.xmlunit.builder with parameters of type ComparisonListenerModifier and TypeMethodDescriptionDiffBuilder.withComparisonListeners
(ComparisonListener... comparisonListeners) Registers listeners that are notified of each comparison.DifferenceEngineConfigurer.withComparisonListeners
(ComparisonListener... comparisonListeners) Registers listeners that are notified of each comparison.DiffBuilder.withDifferenceListeners
(ComparisonListener... comparisonListeners) Registers listeners that are notified of each comparison with outcome other thanComparisonResult.EQUAL
.DifferenceEngineConfigurer.withDifferenceListeners
(ComparisonListener... comparisonListeners) Registers listeners that are notified of each comparison with outcome other thanComparisonResult.EQUAL
. -
Uses of ComparisonListener in org.xmlunit.diff
Fields in org.xmlunit.diff with type parameters of type ComparisonListenerModifier and TypeFieldDescriptionprivate final List
<ComparisonListener> ComparisonListenerSupport.compListeners
private final List
<ComparisonListener> ComparisonListenerSupport.diffListeners
private final List
<ComparisonListener> ComparisonListenerSupport.matchListeners
Methods in org.xmlunit.diff with parameters of type ComparisonListenerModifier and TypeMethodDescriptionvoid
AbstractDifferenceEngine.addComparisonListener
(ComparisonListener l) 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.addDifferenceListener
(ComparisonListener l) void
ComparisonListenerSupport.addDifferenceListener
(ComparisonListener l) Registers a listener that is notified of each comparison with outcome other thanComparisonResult.EQUAL
.void
DifferenceEngine.addDifferenceListener
(ComparisonListener l) Registers a listener that is notified of each comparison with outcome other thanComparisonResult.EQUAL
.void
AbstractDifferenceEngine.addMatchListener
(ComparisonListener l) void
ComparisonListenerSupport.addMatchListener
(ComparisonListener l) Registers a listener that is notified of each comparison with outcomeComparisonResult.EQUAL
.void
DifferenceEngine.addMatchListener
(ComparisonListener l) Registers a listener that is notified of each comparison with outcomeComparisonResult.EQUAL
.Method parameters in org.xmlunit.diff with type arguments of type ComparisonListenerModifier and TypeMethodDescriptionprivate static void
ComparisonListenerSupport.fire
(Comparison comparison, ComparisonResult outcome, List<ComparisonListener> listeners) -
Uses of ComparisonListener in org.xmlunit.matchers
Methods in org.xmlunit.matchers with parameters of type ComparisonListenerModifier and TypeMethodDescriptionCompareMatcher.withComparisonListeners
(ComparisonListener... comparisonListeners) CompareMatcher.withDifferenceListeners
(ComparisonListener... comparisonListeners)