com.itextpdf.testutils
Class CompareTool.CompareResult

java.lang.Object
  extended by com.itextpdf.testutils.CompareTool.CompareResult
Enclosing class:
CompareTool

protected class CompareTool.CompareResult
extends Object


Field Summary
protected  HashMap<com.itextpdf.testutils.CompareTool.ObjectPath,String> differences
           
protected  int messageLimit
           
 
Constructor Summary
CompareTool.CompareResult(int messageLimit)
           
 
Method Summary
protected  void addError(com.itextpdf.testutils.CompareTool.ObjectPath path, String message)
           
 int getErrorCount()
           
 String getReport()
           
protected  boolean isMessageLimitReached()
           
 boolean isOk()
           
 void writeReportToXml(OutputStream stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

differences

protected HashMap<com.itextpdf.testutils.CompareTool.ObjectPath,String> differences

messageLimit

protected int messageLimit
Constructor Detail

CompareTool.CompareResult

public CompareTool.CompareResult(int messageLimit)
Method Detail

isOk

public boolean isOk()

getErrorCount

public int getErrorCount()

isMessageLimitReached

protected boolean isMessageLimitReached()

getReport

public String getReport()

addError

protected void addError(com.itextpdf.testutils.CompareTool.ObjectPath path,
                        String message)

writeReportToXml

public void writeReportToXml(OutputStream stream)
                      throws ParserConfigurationException,
                             TransformerException
Throws:
ParserConfigurationException
TransformerException


Copyright © 2015. All Rights Reserved.