Package com.crawljax.util
Class DOMComparer
- java.lang.Object
-
- com.crawljax.util.DOMComparer
-
public class DOMComparer extends Object
This class allows to compare two Document objects and save the differences in a list.- Author:
- beze232056
-
-
Field Summary
Fields Modifier and Type Field Description private DocumentcontrolDOMThe control document.private DocumenttestDOMThe test document.
-
Constructor Summary
Constructors Constructor Description DOMComparer(Document controlDOM, Document testDOM)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.custommonkey.xmlunit.Difference>compare()Compare the controlDOM and testDOM and save and return the differences in a list.
-
-
-
Method Detail
-
compare
public List<org.custommonkey.xmlunit.Difference> compare()
Compare the controlDOM and testDOM and save and return the differences in a list.- Returns:
- list with differences
-
-