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_WHITESPACES
Constant, defining to ignore whitespaces when comparing text.
|
static WhitespaceProcessing |
Constants.KEEP_WHITESPACES
Constant, defining to keep whitespaces 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 |
---|---|
AnyActionValidator |
AnyActionValidator.containing(java.io.InputStream input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
containing that content, respecting the intended whitespace processing.
|
ChainedActionValidator |
ChainedActionValidator.containing(java.io.InputStream input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
containing that content, respecting the intended whitespace processing.
|
DocumentCloseActionValidator |
DocumentCloseActionValidator.containing(java.io.InputStream input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
containing that content, respecting the intended whitespace processing.
|
DocumentOpenActionValidator |
DocumentOpenActionValidator.containing(java.io.InputStream input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
containing that content, respecting the intended whitespace processing.
|
DocumentPrintActionValidator |
DocumentPrintActionValidator.containing(java.io.InputStream input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
containing that content, respecting the intended whitespace processing.
|
DocumentSaveActionValidator |
DocumentSaveActionValidator.containing(java.io.InputStream input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
containing that content, respecting the intended whitespace processing.
|
ImportDataActionValidator |
ImportDataActionValidator.containing(java.io.InputStream input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
containing that content, respecting the intended whitespace processing.
|
JavaScriptActionValidator |
JavaScriptActionValidator.containing(java.io.InputStream input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
containing that content, respecting the intended whitespace processing.
|
NamedActionValidator |
NamedActionValidator.containing(java.io.InputStream input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
containing that content, respecting the intended whitespace processing.
|
ResetFormValidator |
ResetFormValidator.containing(java.io.InputStream input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
containing that content, respecting the intended whitespace processing.
|
SubmitFormValidator |
SubmitFormValidator.containing(java.io.InputStream input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
containing that content, respecting the intended whitespace processing.
|
URIActionValidator |
URIActionValidator.containing(java.io.InputStream input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
containing that content, respecting the intended whitespace processing.
|
AnyActionValidator |
AnyActionValidator.containing(java.io.Reader input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
containing that content, respecting the intended whitespace processing.
|
ChainedActionValidator |
ChainedActionValidator.containing(java.io.Reader input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
containing that content, respecting the intended whitespace processing.
|
DocumentCloseActionValidator |
DocumentCloseActionValidator.containing(java.io.Reader input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
containing that content, respecting the intended whitespace processing.
|
DocumentOpenActionValidator |
DocumentOpenActionValidator.containing(java.io.Reader input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
containing that content, respecting the intended whitespace processing.
|
DocumentPrintActionValidator |
DocumentPrintActionValidator.containing(java.io.Reader input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
containing that content, respecting the intended whitespace processing.
|
DocumentSaveActionValidator |
DocumentSaveActionValidator.containing(java.io.Reader input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
containing that content, respecting the intended whitespace processing.
|
ImportDataActionValidator |
ImportDataActionValidator.containing(java.io.Reader input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
containing that content, respecting the intended whitespace processing.
|
JavaScriptActionValidator |
JavaScriptActionValidator.containing(java.io.Reader input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
containing that content, respecting the intended whitespace processing.
|
NamedActionValidator |
NamedActionValidator.containing(java.io.Reader input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
containing that content, respecting the intended whitespace processing.
|
ResetFormValidator |
ResetFormValidator.containing(java.io.Reader input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
containing that content, respecting the intended whitespace processing.
|
SubmitFormValidator |
SubmitFormValidator.containing(java.io.Reader input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
containing that content, respecting the intended whitespace processing.
|
URIActionValidator |
URIActionValidator.containing(java.io.Reader input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
containing that content, respecting the intended whitespace processing.
|
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.
|
AnyActionValidator |
AnyActionValidator.containing(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action containing the expected content, respecting the given
whitespace processing rule.
|
ChainedActionValidator |
ChainedActionValidator.containing(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action containing the expected content, respecting the given
whitespace processing rule.
|
DocumentCloseActionValidator |
DocumentCloseActionValidator.containing(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action containing the expected content, respecting the given
whitespace processing rule.
|
DocumentOpenActionValidator |
DocumentOpenActionValidator.containing(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action containing the expected content, respecting the given
whitespace processing rule.
|
DocumentPrintActionValidator |
DocumentPrintActionValidator.containing(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action containing the expected content, respecting the given
whitespace processing rule.
|
DocumentSaveActionValidator |
DocumentSaveActionValidator.containing(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action containing the expected content, respecting the given
whitespace processing rule.
|
ImportDataActionValidator |
ImportDataActionValidator.containing(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action containing the expected content, respecting the given
whitespace processing rule.
|
JavaScriptActionValidator |
JavaScriptActionValidator.containing(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action containing the expected content, respecting the given
whitespace processing rule.
|
NamedActionValidator |
NamedActionValidator.containing(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action containing the expected content, respecting the given
whitespace processing rule.
|
ResetFormValidator |
ResetFormValidator.containing(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action containing the expected content, respecting the given
whitespace processing rule.
|
SubmitFormValidator |
SubmitFormValidator.containing(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action containing the expected content, respecting the given
whitespace processing rule.
|
TextValidator |
TextValidator.containing(java.lang.String expectedToken,
WhitespaceProcessing whitespaceProcessing)
This method verifies that the text on every page in effect contains all given arguments.
|
URIActionValidator |
URIActionValidator.containing(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action containing the expected content, respecting the given
whitespace processing rule.
|
CompareValidator |
CompareValidator.haveSameActions(WhitespaceProcessing whitespaceProcessing)
This method does what the name suggests.
|
CompareValidator |
CompareValidator.haveSameContent(PagesToUse pagesToUse,
ClippingArea clippingArea,
WhitespaceProcessing whitespaceProcessing)
Deprecated.
Unprecise name. Use haveSameText(PagesToUse, ClippingArea, WhitespaceProcessing) instead.
|
CompareValidator |
CompareValidator.haveSameContent(PagesToUse pagesToUse,
WhitespaceProcessing whitespaceProcessing)
Deprecated.
Unprecise name. Use haveSameText(PagesToUse, WhitespaceProcessing) instead.
|
CompareValidator |
CompareValidator.haveSameText(PagesToUse pagesToUse,
ClippingArea clippingArea,
WhitespaceProcessing whitespaceProcessing)
This method does what the name suggests.
|
CompareValidator |
CompareValidator.haveSameText(PagesToUse pagesToUse,
WhitespaceProcessing whitespaceProcessing)
This method does what the name suggests.
|
AnyActionValidator |
AnyActionValidator.matchingComplete(java.io.InputStream input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
having the same content, respecting the intended whitespace processing.
|
ChainedActionValidator |
ChainedActionValidator.matchingComplete(java.io.InputStream input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
having the same content, respecting the intended whitespace processing.
|
DocumentCloseActionValidator |
DocumentCloseActionValidator.matchingComplete(java.io.InputStream input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
having the same content, respecting the intended whitespace processing.
|
DocumentOpenActionValidator |
DocumentOpenActionValidator.matchingComplete(java.io.InputStream input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
having the same content, respecting the intended whitespace processing.
|
DocumentPrintActionValidator |
DocumentPrintActionValidator.matchingComplete(java.io.InputStream input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
having the same content, respecting the intended whitespace processing.
|
DocumentSaveActionValidator |
DocumentSaveActionValidator.matchingComplete(java.io.InputStream input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
having the same content, respecting the intended whitespace processing.
|
ImportDataActionValidator |
ImportDataActionValidator.matchingComplete(java.io.InputStream input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
having the same content, respecting the intended whitespace processing.
|
JavaScriptActionValidator |
JavaScriptActionValidator.matchingComplete(java.io.InputStream input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
having the same content, respecting the intended whitespace processing.
|
NamedActionValidator |
NamedActionValidator.matchingComplete(java.io.InputStream input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
having the same content, respecting the intended whitespace processing.
|
ResetFormValidator |
ResetFormValidator.matchingComplete(java.io.InputStream input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
having the same content, respecting the intended whitespace processing.
|
SubmitFormValidator |
SubmitFormValidator.matchingComplete(java.io.InputStream input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
having the same content, respecting the intended whitespace processing.
|
URIActionValidator |
URIActionValidator.matchingComplete(java.io.InputStream input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
having the same content, respecting the intended whitespace processing.
|
AnyActionValidator |
AnyActionValidator.matchingComplete(java.io.Reader input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the reader and looking for an action
having the same content, respecting the intended whitespace processing.
|
ChainedActionValidator |
ChainedActionValidator.matchingComplete(java.io.Reader input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the reader and looking for an action
having the same content, respecting the intended whitespace processing.
|
DocumentCloseActionValidator |
DocumentCloseActionValidator.matchingComplete(java.io.Reader input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the reader and looking for an action
having the same content, respecting the intended whitespace processing.
|
DocumentOpenActionValidator |
DocumentOpenActionValidator.matchingComplete(java.io.Reader input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the reader and looking for an action
having the same content, respecting the intended whitespace processing.
|
DocumentPrintActionValidator |
DocumentPrintActionValidator.matchingComplete(java.io.Reader input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the reader and looking for an action
having the same content, respecting the intended whitespace processing.
|
DocumentSaveActionValidator |
DocumentSaveActionValidator.matchingComplete(java.io.Reader input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the reader and looking for an action
having the same content, respecting the intended whitespace processing.
|
ImportDataActionValidator |
ImportDataActionValidator.matchingComplete(java.io.Reader input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the reader and looking for an action
having the same content, respecting the intended whitespace processing.
|
JavaScriptActionValidator |
JavaScriptActionValidator.matchingComplete(java.io.Reader input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the reader and looking for an action
having the same content, respecting the intended whitespace processing.
|
NamedActionValidator |
NamedActionValidator.matchingComplete(java.io.Reader input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the reader and looking for an action
having the same content, respecting the intended whitespace processing.
|
ResetFormValidator |
ResetFormValidator.matchingComplete(java.io.Reader input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the reader and looking for an action
having the same content, respecting the intended whitespace processing.
|
SubmitFormValidator |
SubmitFormValidator.matchingComplete(java.io.Reader input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the reader and looking for an action
having the same content, respecting the intended whitespace processing.
|
URIActionValidator |
URIActionValidator.matchingComplete(java.io.Reader input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the reader and looking for an action
having the same content, respecting the intended whitespace processing.
|
AnyActionValidator |
AnyActionValidator.matchingComplete(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action matching completely the expected content, respecting the given
whitespace processing rule.
|
ChainedActionValidator |
ChainedActionValidator.matchingComplete(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action matching completely the expected content, respecting the given
whitespace processing rule.
|
DocumentCloseActionValidator |
DocumentCloseActionValidator.matchingComplete(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action matching completely the expected content, respecting the given
whitespace processing rule.
|
DocumentOpenActionValidator |
DocumentOpenActionValidator.matchingComplete(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action matching completely the expected content, respecting the given
whitespace processing rule.
|
DocumentPrintActionValidator |
DocumentPrintActionValidator.matchingComplete(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action matching completely the expected content, respecting the given
whitespace processing rule.
|
DocumentSaveActionValidator |
DocumentSaveActionValidator.matchingComplete(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action matching completely the expected content, respecting the given
whitespace processing rule.
|
ImportDataActionValidator |
ImportDataActionValidator.matchingComplete(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action matching completely the expected content, respecting the given
whitespace processing rule.
|
JavaScriptActionValidator |
JavaScriptActionValidator.matchingComplete(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action matching completely the expected content, respecting the given
whitespace processing rule.
|
MultiDocumentTextValidator |
MultiDocumentTextValidator.matchingComplete(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.
|
NamedActionValidator |
NamedActionValidator.matchingComplete(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action matching completely the expected content, respecting the given
whitespace processing rule.
|
ResetFormValidator |
ResetFormValidator.matchingComplete(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action matching completely the expected content, respecting the given
whitespace processing rule.
|
SubmitFormValidator |
SubmitFormValidator.matchingComplete(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action matching completely the expected content, respecting the given
whitespace processing rule.
|
TextValidator |
TextValidator.matchingComplete(java.lang.String expected,
WhitespaceProcessing whitespaceProcessing)
This method verifies that the text on every page in effect is equals to the expected value.
|
URIActionValidator |
URIActionValidator.matchingComplete(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action matching completely the expected content, respecting the given
whitespace processing rule.
|
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.
|
Copyright (C) PDFUnit.com. See here for license.