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 voidassertPdf(String outPdf)protected voidcomparePdf(String outPdf, String cmpPdf)protected voiddeleteDirectory(File path)protected voiddeleteFiles(File path)protected StringgetCmpPdf()Gets the name of the compare PDF file.protected abstract StringgetOutPdf()Gets the name of the resultant PDF file.protected abstract voidmakePdf(String outPdf)voidrunTest()
-
-
-
Method Detail
-
getOutPdf
protected abstract String getOutPdf()
Gets the name of the resultant PDF file. This name will be passed tomakePdf,assertPdfandcomparePdfmethods.- 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 tocomparePdfmethod.- Returns:
-
deleteDirectory
protected void deleteDirectory(File path)
-
deleteFiles
protected void deleteFiles(File path)
-
-