We just want an assert, eliminate an Eclipse warning by using XMLAssert
directly.
Change-Id: I14443c83c473ee18c25e894c51a391c3c285a375
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
import org.custommonkey.xmlunit.Diff;
import org.custommonkey.xmlunit.DifferenceListener;
import org.custommonkey.xmlunit.IgnoreTextAndAttributeValuesDifferenceListener;
import org.custommonkey.xmlunit.Diff;
import org.custommonkey.xmlunit.DifferenceListener;
import org.custommonkey.xmlunit.IgnoreTextAndAttributeValuesDifferenceListener;
-import org.custommonkey.xmlunit.XMLTestCase;
+import org.custommonkey.xmlunit.XMLAssert;
import org.custommonkey.xmlunit.XMLUnit;
import org.junit.AfterClass;
import org.junit.Before;
import org.custommonkey.xmlunit.XMLUnit;
import org.junit.AfterClass;
import org.junit.Before;
final DifferenceListener differenceListener = new IgnoreTextAndAttributeValuesDifferenceListener();
diff.overrideDifferenceListener(differenceListener);
final DifferenceListener differenceListener = new IgnoreTextAndAttributeValuesDifferenceListener();
diff.overrideDifferenceListener(differenceListener);
- new XMLTestCase() {}.assertXMLEqual(diff, true);
+ XMLAssert.assertXMLEqual(diff, true);
}
private NormalizedNode buildOuterContainerNode() {
}
private NormalizedNode buildOuterContainerNode() {