Index

A B C D E F G H I L M N O P R S T W 
All Classes and Interfaces|All Packages

A

assertCreator() - Method in class org.sejda.tests.tasks.TaskTestContext
asserts the creator has been set to the info dictionary
assertDocTextExactLines(PDDocument, String) - Static method in class org.sejda.tests.TestUtils
 
assertEmptyMultipleOutput() - Method in class org.sejda.tests.tasks.TaskTestContext
asserts that a multiple output task has generated no output
assertFailedSource(String) - Method in class org.sejda.tests.tasks.TaskTestContext
 
assertHasAcroforms(boolean) - Method in class org.sejda.tests.tasks.TaskTestContext
assert that the document has an acroform with some field in it
assertHasOutline(boolean) - Method in class org.sejda.tests.tasks.TaskTestContext
 
assertInvalidParameters(TaskParameters) - Static method in class org.sejda.tests.TestUtils
 
assertIsSimilar(PDDocument, String) - Static method in class org.sejda.tests.PixelCompareUtils
 
assertMediaBox(PDPage, float, float) - Static method in class org.sejda.tests.tasks.BaseTaskTest
 
assertNoTaskWarnings() - Method in class org.sejda.tests.tasks.TaskTestContext
 
assertOutlineContains(String) - Method in class org.sejda.tests.tasks.TaskTestContext
assert the document outline contains an item with the given title
assertOutlineDoesntContain(String) - Method in class org.sejda.tests.tasks.TaskTestContext
assert the document outline doesn't contain an item with the given title
assertOutputContainsFilenames(String...) - Method in class org.sejda.tests.tasks.TaskTestContext
asserts that a multiple output task has generated the given file names
assertOutputSize(int) - Method in class org.sejda.tests.tasks.TaskTestContext
asserts that a multiple output task has generated the given number of output files, hidden files don't count
assertOutputSizeIncludingHidden(int) - Method in class org.sejda.tests.tasks.TaskTestContext
asserts that a multiple output task has generated the given number of output files, including hidden files (in case the task is expected to have some hidden leftover)
assertPageDestination(PDAnnotationLink, PDPage) - Static method in class org.sejda.tests.TestUtils
 
assertPageLabelIndexesAre(PDPageLabels, Integer...) - Static method in class org.sejda.tests.TestUtils
 
assertPageLabelRangeIs(PDPageLabels, int, String) - Static method in class org.sejda.tests.TestUtils
 
assertPageLabelRangeIs(PDPageLabels, int, String, String, Integer) - Static method in class org.sejda.tests.TestUtils
 
assertPageLabelRangeIs(PDPageLabels, int, PDPageLabelRange) - Static method in class org.sejda.tests.TestUtils
 
assertPageLabelRangeIsDefault(PDPageLabels, int) - Static method in class org.sejda.tests.TestUtils
 
assertPages(int) - Method in class org.sejda.tests.tasks.TaskTestContext
asserts the output document has that number of pages
assertPages(String, int) - Method in class org.sejda.tests.tasks.TaskTestContext
asserts the output document with the given filename exists and has that number of pages.
assertPageText(PDPage, String) - Static method in class org.sejda.tests.tasks.BaseTaskTest
 
assertPageText(PDPage, String) - Static method in class org.sejda.tests.TestUtils
 
assertPageTextContains(PDPage, String) - Static method in class org.sejda.tests.tasks.BaseTaskTest
 
assertPageTextContains(PDPage, String) - Static method in class org.sejda.tests.TestUtils
 
assertPageTextDoesNotContain(PDPage, String) - Static method in class org.sejda.tests.TestUtils
 
assertPageTextExact(PDPage, String) - Static method in class org.sejda.tests.TestUtils
 
assertPageTextExactLines(PDPage, String) - Static method in class org.sejda.tests.tasks.BaseTaskTest
 
assertPageTextExactLines(PDPage, String) - Static method in class org.sejda.tests.TestUtils
 
assertPDRectanglesEqual(PDRectangle, PDRectangle) - Static method in class org.sejda.tests.TestUtils
 
assertSimilar(String) - Method in class org.sejda.tests.tasks.TaskTestContext
 
assertSimilar(String, double) - Method in class org.sejda.tests.tasks.TaskTestContext
 
assertSimilar(String, String) - Method in class org.sejda.tests.tasks.TaskTestContext
 
assertSimilar(String, String, double) - Method in class org.sejda.tests.tasks.TaskTestContext
 
assertSimilar(PDDocument, String) - Method in class org.sejda.tests.PixelCompareUtils
 
assertSimilar(PDDocument, PDDocument) - Method in class org.sejda.tests.PixelCompareUtils
 
assertSimilar(PDDocument, PDDocument, int) - Method in class org.sejda.tests.PixelCompareUtils
 
assertTaskCompleted() - Method in class org.sejda.tests.tasks.TaskTestContext
Asserts that the task has completed and generated some output.
assertTaskCompleted(String) - Method in class org.sejda.tests.tasks.TaskTestContext
Asserts that the task has completed and generated some output.
assertTaskDidNotFail() - Method in class org.sejda.tests.tasks.TaskTestContext
 
assertTaskFailed() - Method in class org.sejda.tests.tasks.TaskTestContext
 
assertTaskFailed(Class<? extends Throwable>) - Method in class org.sejda.tests.tasks.TaskTestContext
 
assertTaskFailed(String) - Method in class org.sejda.tests.tasks.TaskTestContext
 
assertTaskStarted() - Method in class org.sejda.tests.tasks.TaskTestContext
 
assertTaskWarning(String) - Method in class org.sejda.tests.tasks.TaskTestContext
 
assertTaskWarnings(List<String>) - Method in class org.sejda.tests.tasks.TaskTestContext
 
assertValidParameters(TaskParameters) - Static method in class org.sejda.tests.TestUtils
 
assertVersion(PdfVersion) - Method in class org.sejda.tests.tasks.TaskTestContext
asserts the PDF version of the output is the given one

B

BaseTaskTest<T extends TaskParameters> - Class in org.sejda.tests.tasks
 
BaseTaskTest() - Constructor for class org.sejda.tests.tasks.BaseTaskTest
 

C

close() - Method in class org.sejda.tests.tasks.TaskTestContext
 
closeContext() - Method in class org.sejda.tests.tasks.BaseTaskTest
 
customEncryptedInput(String, String) - Static method in class org.sejda.tests.TestUtils
 
customInput(String) - Static method in class org.sejda.tests.TestUtils
 
customInput(String, String) - Static method in class org.sejda.tests.TestUtils
 
customInput(PDDocument, String) - Static method in class org.sejda.tests.TestUtils
 
customInputAsFileSource(String) - Static method in class org.sejda.tests.TestUtils
 
customInputAsFileSource(String, String) - Static method in class org.sejda.tests.TestUtils
 
customNonPdfInput(String) - Static method in class org.sejda.tests.TestUtils
 
customNonPdfInput(String, String) - Static method in class org.sejda.tests.TestUtils
 
customNonPdfInputAsFileSource(String) - Static method in class org.sejda.tests.TestUtils
 
customNonPdfInputAsFileSource(String, String) - Static method in class org.sejda.tests.TestUtils
 
customNonPdfInputAsStreamSource(String) - Static method in class org.sejda.tests.TestUtils
 
customNonPdfInputAsStreamSource(String, String) - Static method in class org.sejda.tests.TestUtils
 

D

debug(String) - Method in class org.sejda.tests.tasks.TaskTestContext
 
debugTo(String) - Method in class org.sejda.tests.tasks.TaskTestContext
 
directoryOutputTo(MultipleOutputTaskParameters) - Method in class org.sejda.tests.tasks.TaskTestContext
Initialize the given params with a DirectoryTaskOutput
directoryOutputTo(SingleOrMultipleOutputTaskParameters) - Method in class org.sejda.tests.tasks.TaskTestContext
Initialize the given params with a directory as FileOrDirectoryTaskOutput
DocBuilder - Class in org.sejda.tests
Build a doc on the fly (and test with it)
DocBuilder() - Constructor for class org.sejda.tests.DocBuilder
 
doExecute(AbstractPdfToMultipleImageParameters, int) - Method in class org.sejda.tests.tasks.MultipleImageConversionTaskTest
 

E

encryptedAtRest(FileSource) - Static method in class org.sejda.tests.TestUtils
 
encryptedAtRest(PdfFileSource) - Static method in class org.sejda.tests.TestUtils
 
encryptedAtRest(PdfStreamSource) - Static method in class org.sejda.tests.TestUtils
 
encryptedAtRest(StreamSource) - Static method in class org.sejda.tests.TestUtils
 
encryptedInput() - Static method in class org.sejda.tests.TestUtils
 
encryptionAtRestRoundTrip() - Method in class org.sejda.tests.tasks.MultipleImageConversionTaskTest
 
encryptionAtRestTest() - Method in class org.sejda.tests.tasks.MultipleImageConversionTaskTest
 
execute() - Method in class org.sejda.tests.tasks.WithUnethicalReadProperty
 
execute(TaskParameters) - Method in class org.sejda.tests.tasks.BaseTaskTest
 
executeWithValidation(TaskParameters) - Method in class org.sejda.tests.tasks.BaseTaskTest
 
expectTaskWillProduceWarnings() - Method in class org.sejda.tests.tasks.TaskTestContext
Deprecated.

F

fileOutputTo(SingleOutputTaskParameters, String) - Method in class org.sejda.tests.tasks.TaskTestContext
Initialize the given params with a FileTaskOutput on a file with the given extension
forEachPdfOutput(Consumer<PDDocument>) - Method in class org.sejda.tests.tasks.TaskTestContext
Applies the given consumer to every generated output
forEachRawOutput(Consumer<Path>) - Method in class org.sejda.tests.tasks.TaskTestContext
Applies the given consumer to every generated output
formInput() - Static method in class org.sejda.tests.TestUtils
 
forPdfOutput(String, Consumer<PDDocument>) - Method in class org.sejda.tests.tasks.TaskTestContext
Applies the given consumer to generated output PDF document with the given name
forPdfOutput(Consumer<PDDocument>) - Method in class org.sejda.tests.tasks.TaskTestContext
Applies the given consumer to generated single output PDF document
forRawOutput(String, Consumer<Path>) - Method in class org.sejda.tests.tasks.TaskTestContext
 
forRawOutput(Consumer<Path>) - Method in class org.sejda.tests.tasks.TaskTestContext
Applies the given consumer to a single generated output

G

get() - Method in class org.sejda.tests.DocBuilder
 
getAnnotationsOf(PDPage, Class<T>) - Static method in class org.sejda.tests.tasks.BaseTaskTest
 
getAnnotationsOf(PDPage, Class<T>) - Static method in class org.sejda.tests.TestUtils
 
getCipher(String, String, int) - Static method in class org.sejda.tests.TestUtils
 
getDocTextNormalized(PDDocument) - Static method in class org.sejda.tests.TestUtils
 
getEncryptionAtRestPolicy() - Static method in class org.sejda.tests.TestUtils
 
getFileOutput() - Method in class org.sejda.tests.tasks.TaskTestContext
 
getMultipleImageParametersWithoutSource(ImageColorType) - Method in class org.sejda.tests.tasks.MultipleImageConversionTaskTest
 
getPagesContainingImages(PDDocument) - Static method in class org.sejda.tests.tasks.BaseTaskTest
 
getPageText(PDPage) - Static method in class org.sejda.tests.TestUtils
 
getPageTextNormalized(PDPage) - Static method in class org.sejda.tests.TestUtils
 
getPercentage() - Method in class org.sejda.tests.TestListenerFactory.TestListenerPercentage
 
getTask() - Method in interface org.sejda.tests.tasks.TestableTask
 
getTaskWarnings() - Method in class org.sejda.tests.tasks.TaskTestContext
 
getWarnings() - Method in class org.sejda.tests.TestListenerFactory.TestListenerWarnings
 

H

hasListened() - Method in class org.sejda.tests.TestListenerFactory.TestListenerAny
 

I

isFailed() - Method in class org.sejda.tests.TestListenerFactory.TestListenerFailed
 
isStarted() - Method in class org.sejda.tests.TestListenerFactory.TestListenerStart
 
isUndeterminate() - Method in class org.sejda.tests.TestListenerFactory.TestListenerPercentage
 
iteratorToList(Iterator<T>) - Static method in class org.sejda.tests.TestUtils
 

L

largeInput() - Static method in class org.sejda.tests.TestUtils
 
largeOutlineInput() - Static method in class org.sejda.tests.TestUtils
 
listenForTaskFailure() - Method in class org.sejda.tests.tasks.TaskTestContext
 
listenForTaskStart() - Method in class org.sejda.tests.tasks.TaskTestContext
 
listenForTaskWarnings() - Method in class org.sejda.tests.tasks.TaskTestContext
 

M

mediumInput() - Static method in class org.sejda.tests.TestUtils
 
MultipleImageConversionTaskTest<T extends AbstractPdfToMultipleImageParameters> - Class in org.sejda.tests.tasks
 
MultipleImageConversionTaskTest() - Constructor for class org.sejda.tests.tasks.MultipleImageConversionTaskTest
 

N

newFailedListener() - Static method in class org.sejda.tests.TestListenerFactory
 
newGeneralListener() - Static method in class org.sejda.tests.TestListenerFactory
 
newPercentageListener() - Static method in class org.sejda.tests.TestListenerFactory
 
newStartListener() - Static method in class org.sejda.tests.TestListenerFactory
 
newWarningsListener() - Static method in class org.sejda.tests.TestListenerFactory
 

O

onEvent(PercentageOfWorkDoneChangedEvent) - Method in class org.sejda.tests.TestListenerFactory.TestListenerPercentage
 
onEvent(TaskExecutionFailedEvent) - Method in class org.sejda.tests.TestListenerFactory.TestListenerFailed
 
onEvent(TaskExecutionStartedEvent) - Method in class org.sejda.tests.TestListenerFactory.TestListenerStart
 
onEvent(TaskExecutionWarningEvent) - Method in class org.sejda.tests.TestListenerFactory.TestListenerWarnings
 
onEvent(T) - Method in class org.sejda.tests.TestListenerFactory.TestListenerAny
 
org.sejda.tests - module org.sejda.tests
 
org.sejda.tests - package org.sejda.tests
 
org.sejda.tests.tasks - package org.sejda.tests.tasks
 

P

pdfOutputTo(SingleOrMultipleOutputTaskParameters) - Method in class org.sejda.tests.tasks.TaskTestContext
Initialize the given params with a pdf file as FileOrDirectoryTaskOutput
pdfOutputTo(SingleOutputTaskParameters) - Method in class org.sejda.tests.tasks.TaskTestContext
Initialize the given params with a FileTaskOutput
PixelCompareUtils - Class in org.sejda.tests
 
PixelCompareUtils() - Constructor for class org.sejda.tests.PixelCompareUtils
 
PixelCompareUtils(double) - Constructor for class org.sejda.tests.PixelCompareUtils
 

R

regularInput() - Static method in class org.sejda.tests.TestUtils
 

S

setProperty(Object, String, Object) - Static method in class org.sejda.tests.TestUtils
Sets the given property to the given instance at the given value.
setUp() - Method in class org.sejda.tests.tasks.BaseTaskTest
 
shortInput() - Static method in class org.sejda.tests.TestUtils
 
specificResultFilenames() - Method in class org.sejda.tests.tasks.MultipleImageConversionTaskTest
 
streamToTmpFile(InputStream, String) - Static method in class org.sejda.tests.TestUtils
 
stronglyEncryptedInput() - Static method in class org.sejda.tests.TestUtils
 

T

takeScreenshotOf(PDDocument, int) - Static method in class org.sejda.tests.PixelCompareUtils
 
TaskTestContext - Class in org.sejda.tests.tasks
Context to be used in tests
TaskTestContext() - Constructor for class org.sejda.tests.tasks.TaskTestContext
 
TestableTask<T extends TaskParameters> - Interface in org.sejda.tests.tasks
 
testContext - Variable in class org.sejda.tests.tasks.BaseTaskTest
 
testEqualsAndHashCodes(T, T, T, T) - Static method in class org.sejda.tests.TestUtils
Test that the equals and hashCode implementations respect the general rules being reflexive, transitive and symmetric.
testExecuteEncryptedStreamToMultipleImage() - Method in class org.sejda.tests.tasks.MultipleImageConversionTaskTest
 
testExecuteStreamToMultipleImage() - Method in class org.sejda.tests.tasks.MultipleImageConversionTaskTest
 
testExecuteStreamToMultipleImageWithPageSelection() - Method in class org.sejda.tests.tasks.MultipleImageConversionTaskTest
 
TestListenerAny() - Constructor for class org.sejda.tests.TestListenerFactory.TestListenerAny
 
TestListenerFactory - Class in org.sejda.tests
Factory used by tests to create event listeners.
TestListenerFactory.TestListenerAny<T extends AbstractNotificationEvent> - Class in org.sejda.tests
Simple listener to use during tests.
TestListenerFactory.TestListenerFailed - Class in org.sejda.tests
Simple listener to use during tests.
TestListenerFactory.TestListenerPercentage - Class in org.sejda.tests
Simple listener to use during tests.
TestListenerFactory.TestListenerStart - Class in org.sejda.tests
Simple listener to use during tests.
TestListenerFactory.TestListenerWarnings - Class in org.sejda.tests
Simple listener to use during tests.
TestListenerFailed() - Constructor for class org.sejda.tests.TestListenerFactory.TestListenerFailed
 
TestListenerPercentage() - Constructor for class org.sejda.tests.TestListenerFactory.TestListenerPercentage
 
TestListenerStart() - Constructor for class org.sejda.tests.TestListenerFactory.TestListenerStart
 
TestListenerWarnings() - Constructor for class org.sejda.tests.TestListenerFactory.TestListenerWarnings
 
testMultipleInputs() - Method in class org.sejda.tests.tasks.MultipleImageConversionTaskTest
 
TestUtils - Class in org.sejda.tests
Test utilities

W

withPageLabelRange(int, String) - Method in class org.sejda.tests.DocBuilder
 
withPageLabelRange(int, String, String) - Method in class org.sejda.tests.DocBuilder
 
withPageLabelRange(int, String, String, Integer) - Method in class org.sejda.tests.DocBuilder
 
withPages(int) - Method in class org.sejda.tests.DocBuilder
 
withPageText(PDPage, Consumer<String>) - Static method in class org.sejda.tests.TestUtils
 
WithUnethicalReadProperty - Class in org.sejda.tests.tasks
 
WithUnethicalReadProperty(Boolean) - Constructor for class org.sejda.tests.tasks.WithUnethicalReadProperty
 
A B C D E F G H I L M N O P R S T W 
All Classes and Interfaces|All Packages