/** * Compare text * @param control * @param test * @param listener * @throws DifferenceFoundException */ protected void compareText(CharacterData control, CharacterData test, DifferenceListener listener) throws DifferenceFoundException { compareCharacterData(control, test, listener, control instanceof CDATASection ? CDATA_VALUE : TEXT_VALUE); }
/** * Compare text * @param control * @param test * @param listener * @throws DifferenceFoundException */ protected void compareText(CharacterData control, CharacterData test, DifferenceListener listener) throws DifferenceFoundException { compareCharacterData(control, test, listener, control instanceof CDATASection ? CDATA_VALUE : TEXT_VALUE); }
/** * Compare two comments * @param control * @param test * @param listener * @throws DifferenceFoundException */ protected void compareComment(Comment control, Comment test, DifferenceListener listener) throws DifferenceFoundException { if (!XMLUnit.getIgnoreComments()) { compareCharacterData(control, test, listener, COMMENT_VALUE); } }
/** * Compare two comments * @param control * @param test * @param listener * @throws DifferenceFoundException */ protected void compareComment(Comment control, Comment test, DifferenceListener listener) throws DifferenceFoundException { if (!XMLUnit.getIgnoreComments()) { compareCharacterData(control, test, listener, COMMENT_VALUE); } }