Class ITextTest


  • public abstract class ITextTest
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static Logger LOGGER  
    • Constructor Summary

      Constructors 
      Constructor Description
      ITextTest()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected void assertPdf​(java.lang.String outPdf)  
      protected void comparePdf​(java.lang.String outPdf, java.lang.String cmpPdf)  
      protected void deleteDirectory​(java.io.File path)  
      protected void deleteFiles​(java.io.File path)  
      protected java.lang.String getCmpPdf()
      Gets the name of the compare PDF file.
      protected abstract java.lang.String getOutPdf()
      Gets the name of the resultant PDF file.
      protected abstract void makePdf​(java.lang.String outPdf)  
      void runTest()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOGGER

        private static final Logger LOGGER
    • Constructor Detail

      • ITextTest

        public ITextTest()
    • Method Detail

      • runTest

        public void runTest()
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • makePdf

        protected abstract void makePdf​(java.lang.String outPdf)
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getOutPdf

        protected abstract java.lang.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​(java.lang.String outPdf)
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • comparePdf

        protected void comparePdf​(java.lang.String outPdf,
                                  java.lang.String cmpPdf)
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getCmpPdf

        protected java.lang.String getCmpPdf()
        Gets the name of the compare PDF file. This name will be passed to comparePdf method.
        Returns:
      • deleteDirectory

        protected void deleteDirectory​(java.io.File path)
      • deleteFiles

        protected void deleteFiles​(java.io.File path)