Package com.itextpdf.testutils
Class ITextTest
- java.lang.Object
-
- com.itextpdf.testutils.ITextTest
-
public abstract class ITextTest extends Object
-
-
Constructor Summary
Constructors Constructor Description ITextTest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
assertPdf(String outPdf)
protected void
comparePdf(String outPdf, String cmpPdf)
protected void
deleteDirectory(File path)
protected void
deleteFiles(File path)
protected String
getCmpPdf()
Gets the name of the compare PDF file.protected abstract String
getOutPdf()
Gets the name of the resultant PDF file.protected abstract void
makePdf(String outPdf)
void
runTest()
-
-
-
Method Detail
-
getOutPdf
protected abstract String getOutPdf()
Gets the name of the resultant PDF file. This name will be passed tomakePdf
,assertPdf
andcomparePdf
methods.- Returns:
-
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 tocomparePdf
method.- Returns:
-
deleteDirectory
protected void deleteDirectory(File path)
-
deleteFiles
protected void deleteFiles(File path)
-
-