com.itextpdf.testutils
Class ITextTest
java.lang.Object
com.itextpdf.testutils.ITextTest
public abstract class ITextTest
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ITextTest
public ITextTest()
runTest
public void runTest()
throws Exception
- Throws:
Exception
makePdf
protected abstract void makePdf(String outPdf)
throws Exception
- Throws:
Exception
getOutPdf
protected abstract String getOutPdf()
- Gets the name of the resultant PDF file.
This name will be passed to
makePdf
, assertPdf
and comparePdf
methods.
- Returns:
assertPdf
protected void assertPdf(String outPdf)
throws Exception
- Throws:
Exception
comparePdf
protected void comparePdf(String outPdf,
String cmpPdf)
throws Exception
- Throws:
Exception
getCmpPdf
protected String getCmpPdf()
- Gets the name of the compare PDF file.
This name will be passed to
comparePdf
method.
- Returns:
deleteDirectory
protected void deleteDirectory(File path)
deleteFiles
protected void deleteFiles(File path)
Copyright © 2014. All Rights Reserved.