Skip navigation links
A B C D E F G I L M P R S T U W 

A

addClassToRunnerSearchPath(String) - Method in class com.itextpdf.test.RunnerSearchConfig
Add class to runner if it has WrapToTest annotation.
addError(String) - Method in class com.itextpdf.test.WrappedSamplesRunner
Helper method to construct error messages.
addPackageToRunnerSearchPath(String) - Method in class com.itextpdf.test.RunnerSearchConfig
Add package to search path which is checked for wrapped sample classes.
afterTestMethodAction() - Method in class com.itextpdf.test.ExtendedITextTest
This method is called after each test method is executed

B

beforeTestMethodAction() - Method in class com.itextpdf.test.ExtendedITextTest
This method is called before each test method is executed

C

com.itextpdf.test - package com.itextpdf.test
 
com.itextpdf.test.annotations - package com.itextpdf.test.annotations
 
com.itextpdf.test.annotations.type - package com.itextpdf.test.annotations.type
Provides annotations for the different types of tests, so build tools can calculate different coverage statistics.
comparePdf(String, String, String) - Method in class com.itextpdf.test.WrappedSamplesRunner
Compares two PDF files using iText's CompareTool.
createDestinationFolder(String) - Static method in class com.itextpdf.test.ITextTest
Creates a folder with a given path, including all necessary nonexistent parent directories.
createOrClearDestinationFolder(String) - Static method in class com.itextpdf.test.ITextTest
Creates a directory with given path if it does not exist and clears the contents of the directory in case it exists.
createStringByEscaped(byte[]) - Method in class com.itextpdf.test.ITextTest
 

D

deleteDirectory(String) - Static method in class com.itextpdf.test.ITextTest
Removes the directory with given path along with its content including all the subdirectories.

E

ExtendedITextTest - Class in com.itextpdf.test
This class is used for testing when logger output should be tested as well.
ExtendedITextTest() - Constructor for class com.itextpdf.test.ExtendedITextTest
 

F

finished(Description) - Method in class com.itextpdf.test.LogListener
 

G

generateTestsList() - Static method in class com.itextpdf.test.WrappedSamplesRunner
 
generateTestsList(RunnerSearchConfig) - Static method in class com.itextpdf.test.WrappedSamplesRunner
 
getCmpPdf(String) - Method in class com.itextpdf.test.WrappedSamplesRunner
 
getDest() - Method in class com.itextpdf.test.WrappedSamplesRunner
Gets the path to the resulting PDF from the sample class;
getIgnoredPaths() - Method in class com.itextpdf.test.RunnerSearchConfig
 
getOutPath(String) - Method in class com.itextpdf.test.WrappedSamplesRunner
 
getSearchClasses() - Method in class com.itextpdf.test.RunnerSearchConfig
 
getSearchPackages() - Method in class com.itextpdf.test.RunnerSearchConfig
 
getSize() - Method in class com.itextpdf.test.LogListener
 
getStringField(Class<?>, String) - Static method in class com.itextpdf.test.WrappedSamplesRunner
Returns a string value that is stored as a static variable inside an example class.

I

ignorePackageOrClass(String) - Method in class com.itextpdf.test.RunnerSearchConfig
Add package or class to ignore list.
initClass() - Method in class com.itextpdf.test.WrappedSamplesRunner
Creates a Class object for the example you want to test.
IntegrationTest - Interface in com.itextpdf.test.annotations.type
Tests that cover more functionality than a simple Unit Test.
isToMarkTestsWithoutAnnotationAsIgnored() - Method in class com.itextpdf.test.RunnerSearchConfig
 
ITextTest - Class in com.itextpdf.test
This is a generic class for testing.
ITextTest() - Constructor for class com.itextpdf.test.ITextTest
 

L

LOGGER - Variable in class com.itextpdf.test.ITextTest
 
logListener - Variable in class com.itextpdf.test.ExtendedITextTest
 
LogListener - Class in com.itextpdf.test
 
LogListener() - Constructor for class com.itextpdf.test.LogListener
 
LogMessage - Annotation Type in com.itextpdf.test.annotations
An annotation to be used in a LogMessages wrapper, which signifies a particular log message that must appear in a test a specific number of times.
LogMessages - Annotation Type in com.itextpdf.test.annotations
Container annotation for LogMessage objects.

M

markTestsWithoutAnnotationAsIgnored() - Method in class com.itextpdf.test.RunnerSearchConfig
If a class was found in search path, and it has DEST field and main method, but it doesn't have WrapToTest annotation, this test will be marked as ignored with corresponding message in case this option is used.

P

PerformanceTest - Interface in com.itextpdf.test.annotations.type
Performance Tests generate performance metrics: speed, memory usage, disk space,...

R

readFile(String) - Method in class com.itextpdf.test.ITextTest
 
removeCryptographyRestrictions() - Static method in class com.itextpdf.test.ITextTest
Due to import control restrictions by the governments of a few countries, the encryption libraries shipped by default with the Java SDK restrict the length, and as a result the strength, of encryption keys.
restoreCryptographyRestrictions() - Static method in class com.itextpdf.test.ITextTest
By using this method we restore cryptography restrictions via reflection.
RunnerSearchConfig - Class in com.itextpdf.test
 
RunnerSearchConfig() - Constructor for class com.itextpdf.test.RunnerSearchConfig
 
runSamples() - Method in class com.itextpdf.test.WrappedSamplesRunner
 

S

sampleClass - Variable in class com.itextpdf.test.WrappedSamplesRunner
 
sampleClassParams - Variable in class com.itextpdf.test.WrappedSamplesRunner
 
SampleTest - Interface in com.itextpdf.test.annotations.type
Sample Tests give a Short, Self Contained, Correct, Example and can be used as documentation for end users.
SlowTest - Interface in com.itextpdf.test.annotations.type
Tests that can take longer than a couple of milliseconds to run.
starting(Description) - Method in class com.itextpdf.test.LogListener
 

T

testTimeout - Variable in class com.itextpdf.test.ITextTest
 

U

UnitTest - Interface in com.itextpdf.test.annotations.type
Unit Tests are used to check individual units of source code.

W

WrappedSamplesRunner - Class in com.itextpdf.test
 
WrappedSamplesRunner() - Constructor for class com.itextpdf.test.WrappedSamplesRunner
 
WrapToTest - Annotation Type in com.itextpdf.test.annotations
This annotation can be used to run a class that contains a public static void main method as a test in the JUnit test runner.
A B C D E F G I L M P R S T U W 
Skip navigation links

Copyright © 1998–2018 iText Group NV. All rights reserved.