Package com.itextpdf.testutils
Class ITextTest
java.lang.Object
com.itextpdf.testutils.ITextTest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
comparePdf
(String outPdf, String cmpPdf) protected void
deleteDirectory
(File path) protected void
deleteFiles
(File path) protected String
Gets the name of the compare PDF file.protected abstract String
Gets the name of the resultant PDF file.protected abstract void
void
runTest()
-
Field Details
-
LOGGER
-
-
Constructor Details
-
ITextTest
public ITextTest()
-
-
Method Details
-
runTest
- Throws:
Exception
-
makePdf
- Throws:
Exception
-
getOutPdf
Gets the name of the resultant PDF file. This name will be passed tomakePdf
,assertPdf
andcomparePdf
methods.- Returns:
-
assertPdf
- Throws:
Exception
-
comparePdf
- Throws:
Exception
-
getCmpPdf
Gets the name of the compare PDF file. This name will be passed tocomparePdf
method.- Returns:
-
deleteDirectory
-
deleteFiles
-