| Package | Description | 
|---|---|
| com.pdfunit | 
 This is the main package for testing PDF documents. 
 | 
| com.pdfunit.validators | 
 Classes implementing validations on specific topics of PDF. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static WhitespaceProcessing | 
Constants.IGNORE
Constant, defining to ignore whitespaces when comparing text. 
 | 
static WhitespaceProcessing | 
Constants.IGNORE_WHITESPACES
Constant, defining to ignore whitespaces when comparing text. 
 | 
static WhitespaceProcessing | 
Constants.KEEP
Constant, defining to keep whitespaces when comparing text. 
 | 
static WhitespaceProcessing | 
Constants.KEEP_WHITESPACES
Constant, defining to keep whitespaces when comparing text. 
 | 
static WhitespaceProcessing | 
Constants.NORMALIZE
Constant, defining to reduce all subsequent whitespaces to one space when comparing text. 
 | 
static WhitespaceProcessing | 
Constants.NORMALIZE_WHITESPACES
Constant, defining to reduce all subsequent whitespaces to one space when comparing text. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static WhitespaceProcessing | 
WhitespaceProcessing.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static WhitespaceProcessing[] | 
WhitespaceProcessing.values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
MultiDocumentTextValidator | 
MultiDocumentTextValidator.containing(java.lang.String[] expectedTokens,
          WhitespaceProcessing whitespaceProcessing)
This method checks that each document of a set of given PDF documents
 contains the expected text in the pages and areas that are defined before. 
 | 
TextValidator | 
TextValidator.containing(java.lang.String[] expectedTokens,
          WhitespaceProcessing whitespaceProcessing)
This method verifies that the text on every page, which is selected by the test,
 contains all given arguments. 
 | 
BarcodeValidator | 
BarcodeValidator.containing(java.lang.String expectedText,
          WhitespaceProcessing whitespaceProcessing)
This method checks that the value of the given paramter is part of the extracted
 text of an image. 
 | 
JavaScriptActionValidator | 
JavaScriptActionValidator.containing(java.lang.String expectedContent,
          WhitespaceProcessing whitespaceProcessing)  | 
DocumentValidator | 
PropertyValidator.containing(java.lang.String expectedContent,
          WhitespaceProcessing whitespaceProcessing)
This method does what the name suggests. 
 | 
TextValidator | 
TextValidator.containing(java.lang.String expectedToken,
          WhitespaceProcessing whitespaceProcessing)
This method verifies that the text on every page in effect contains given arguments. 
 | 
JavaScriptActionValidator | 
JavaScriptActionValidator.containingSource(java.io.InputStream input,
                WhitespaceProcessing whitespaceProcessing)  | 
JavaScriptActionValidator | 
JavaScriptActionValidator.containingSource(java.io.Reader input,
                WhitespaceProcessing whitespaceProcessing)  | 
OrderedTextValidator | 
OrderedTextValidator.containsFirst(java.lang.String expectedToken,
             WhitespaceProcessing whitespaceProcessing)  | 
TextValidator | 
TextValidator.endingWith(java.lang.String expectedEnd,
          WhitespaceProcessing whitespaceProcessing)
This method verifies that the text on every page in effect ends with the given parameter. 
 | 
BarcodeValidator | 
BarcodeValidator.equalsTo(java.lang.String expectedText,
        WhitespaceProcessing whitespaceProcessing)
This method checks that the extracted text of an image is the same as the value of the
 given parameter. 
 | 
JavaScriptActionValidator | 
JavaScriptActionValidator.equalsTo(java.lang.String expectedContent,
        WhitespaceProcessing whitespaceProcessing)  | 
MultiDocumentTextValidator | 
MultiDocumentTextValidator.equalsTo(java.lang.String expectedText,
        WhitespaceProcessing whitespaceProcessing)
This method verifies for each document that the text on every page in effect is equals to
 the expected value. 
 | 
TextValidator | 
TextValidator.equalsTo(java.lang.String expected,
        WhitespaceProcessing whitespaceProcessing)
This method verifies that the text on every page in effect is equals to the expected value. 
 | 
JavaScriptActionValidator | 
JavaScriptActionValidator.equalsToSource(java.io.InputStream input,
              WhitespaceProcessing whitespaceProcessing)  | 
JavaScriptActionValidator | 
JavaScriptActionValidator.equalsToSource(java.io.Reader input,
              WhitespaceProcessing whitespaceProcessing)  | 
OrderedTextValidator | 
TextValidator.first(java.lang.String expectedToken,
     WhitespaceProcessing whitespaceProcessing)
This methods checks that the actual text contains the expected token. 
 | 
ComparePageValidator | 
CompareDocumentValidator.haveSameText(PagesToUse pagesToUse,
            PageRegion region,
            WhitespaceProcessing whitespaceProcessing)
Deprecated.  
 | 
ComparePageValidator | 
CompareDocumentValidator.haveSameText(PagesToUse pagesToUse,
            WhitespaceProcessing whitespaceProcessing)
Deprecated.  
 | 
ComparePageValidator | 
ComparePageValidator.haveSameText(WhitespaceProcessing whitespaceProcessing)  | 
TextValidator | 
TextValidator.inOrder(WhitespaceProcessing whitespaceProcessing,
       java.lang.String... expectedTokens)
This method verifies, that the existing text of the current PDF document 
 contains all the expected tokens in order. 
 | 
TextValidator | 
TextValidator.matchingComplete(java.lang.String expected,
                WhitespaceProcessing whitespaceProcessing)
Deprecated.  
 | 
MultiDocumentTextValidator | 
MultiDocumentTextValidator.notContaining(java.lang.String[] expectedTokens,
             WhitespaceProcessing normalize)
This method checks that each document of a set of given PDF documents
 does not contain the expected text in the pages and areas that are defined before. 
 | 
TextValidator | 
TextValidator.notContaining(java.lang.String[] notExpectedTokens,
             WhitespaceProcessing whitespaceProcessing)
This method verifies that the text on every page in effect does not contain the
 string given by the parameter. 
 | 
TextValidator | 
TextValidator.notContaining(java.lang.String notExpectedToken,
             WhitespaceProcessing whitespaceProcessing)
This method verifies that the text on every page in effect does not contain the
 string given by the parameter. 
 | 
TextValidator | 
TextValidator.startingWith(java.lang.String expectedStart,
            WhitespaceProcessing whitespaceProcessing)
This method verifies that the text on every page in effect starts with the given parameter. 
 | 
Copyright (C) PDFUnit.com. See here for license.