1 package org.apache.axis2.om.util; 2 3 import org.apache.axis2.om.OMTestCase; 4 import org.apache.axis2.om.impl.llom.util.XMLComparator; 5 import org.apache.axis2.soap.impl.llom.builder.StAXSOAPModelBuilder; 6 7 23 public class XMLComparatorTest extends OMTestCase{ 24 27 public XMLComparatorTest(String testName) { 28 super(testName); 29 } 30 31 protected void setUp() throws Exception { 32 super.setUp(); 33 } 34 35 public void testCompare() throws Exception { 36 StAXSOAPModelBuilder omBuilder = getOMBuilder(""); 37 XMLComparator xmlComparator = new XMLComparator(); 38 assertTrue(xmlComparator.compare(omBuilder.getDocumentElement(), omBuilder.getDocumentElement())); 39 40 41 } 42 } 43 | Popular Tags |