Package com.itextpdf.testutils
Class ITextTest
java.lang.Object
com.itextpdf.testutils.ITextTest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidcomparePdf(String outPdf, String cmpPdf) protected voiddeleteDirectory(File path) protected voiddeleteFiles(File path) protected StringGets the name of the compare PDF file.protected abstract StringGets the name of the resultant PDF file.protected abstract voidvoidrunTest()
-
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,assertPdfandcomparePdfmethods.- Returns:
-
assertPdf
- Throws:
Exception
-
comparePdf
- Throws:
Exception
-
getCmpPdf
Gets the name of the compare PDF file. This name will be passed tocomparePdfmethod.- Returns:
-
deleteDirectory
-
deleteFiles
-