Examples of IgnoreAttributeValuesDifferenceListener


Examples of edu.harvard.hul.ois.fits.tests.IgnoreAttributeValuesDifferenceListener

    serializer.output(expectedDom, sw);
    String expectedStr = sw.toString();
   
    //get the file name in case of a failure
    FitsMetadataElement item = actual.getMetadataElement("filename");
      DifferenceListener myDifferenceListener = new IgnoreAttributeValuesDifferenceListener();
      Diff diff = new Diff(expectedStr,actualStr);
      diff.overrideDifferenceListener(myDifferenceListener);

      assertXMLEqual("Error comparing: "+item.getValue(),diff,true);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.