Index

A B C D E F G H I J L M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

accept(File) - Method in class org.eclipse.jetty.toolchain.test.IO.SafeFileFilter
 
add(E) - Method in class org.eclipse.jetty.toolchain.test.EventQueue
 
AdvancedRunner - Class in org.eclipse.jetty.toolchain.test
Tiered Junit 4 Test Runner.
AdvancedRunner(Class) - Constructor for class org.eclipse.jetty.toolchain.test.AdvancedRunner
 
apply(Statement, Description) - Method in class org.eclipse.jetty.toolchain.test.TestingDir
 
asByteArray(String) - Static method in class org.eclipse.jetty.toolchain.test.Hex
 
asByteBuffer(String) - Static method in class org.eclipse.jetty.toolchain.test.Hex
 
asHex(byte[]) - Static method in class org.eclipse.jetty.toolchain.test.Hex
 
asHex(ByteBuffer) - Static method in class org.eclipse.jetty.toolchain.test.Hex
 
assertContains(String, String, String) - Static method in class org.eclipse.jetty.toolchain.test.StringAssert
Asserts that string (haystack) contains specified text ( needle).
assertContains(String, String, String, int) - Static method in class org.eclipse.jetty.toolchain.test.StringAssert
Asserts that string (haystack) contains specified text ( needle), starting at offset (in haystack).
assertContainsSame(String, List, List) - Static method in class org.eclipse.jetty.toolchain.test.StringAssert
Asserts that the list of String lines contains the same lines (without a regard for the order of those lines)
assertDirExists(String, File) - Static method in class org.eclipse.jetty.toolchain.test.PathAssert
Assert that the Directory exist.
assertDirExists(String, Path) - Static method in class org.eclipse.jetty.toolchain.test.PathAssert
Assert that the Directory path exist.
assertEquals(String, byte[], byte[]) - Static method in class org.eclipse.jetty.toolchain.test.ByteBufferAssert
 
assertEquals(String, String, ByteBuffer) - Static method in class org.eclipse.jetty.toolchain.test.ByteBufferAssert
 
assertEquals(String, ByteBuffer, ByteBuffer) - Static method in class org.eclipse.jetty.toolchain.test.ByteBufferAssert
 
assertFileExists(String, File) - Static method in class org.eclipse.jetty.toolchain.test.PathAssert
Assert that the File exist.
assertFileExists(String, Path) - Static method in class org.eclipse.jetty.toolchain.test.PathAssert
Assert that the File exist.
assertNotContains(String, String, String) - Static method in class org.eclipse.jetty.toolchain.test.StringAssert
Asserts that string (haystack) does not contain specified text (needle).
assertNotContains(String, String, String, int) - Static method in class org.eclipse.jetty.toolchain.test.StringAssert
Asserts that string (haystack) does not contain specified text (needle), starting at offset (in haystack).
assertNotPathExists(String, File) - Static method in class org.eclipse.jetty.toolchain.test.PathAssert
Assert that the path does not exist.
assertNotPathExists(String, Path) - Static method in class org.eclipse.jetty.toolchain.test.PathAssert
Assert that the path does not exist.
assertPathExists(String, File) - Static method in class org.eclipse.jetty.toolchain.test.PathAssert
Assert that the path exist.
assertPathExists(String, Path) - Static method in class org.eclipse.jetty.toolchain.test.PathAssert
Assert that the path exist.
assertSize(String, int, ByteBuffer) - Static method in class org.eclipse.jetty.toolchain.test.ByteBufferAssert
 
assertStartsWith(String, String, String) - Static method in class org.eclipse.jetty.toolchain.test.StringAssert
Asserts that the string (haystack) starts with the string ( expected)
assume(String) - Static method in class org.eclipse.jetty.toolchain.test.PropertyFlag
Junit Assumption based on the value of a System Property.
awaitEventCount(int, int, TimeUnit) - Method in class org.eclipse.jetty.toolchain.test.EventQueue
Await a specific event count

B

BUFFER_SIZE - Static variable in class org.eclipse.jetty.toolchain.test.IO
 
ByteBufferAssert - Class in org.eclipse.jetty.toolchain.test
 
ByteBufferAssert() - Constructor for class org.eclipse.jetty.toolchain.test.ByteBufferAssert
 
ByteBufferUtils - Class in org.eclipse.jetty.toolchain.test
 
ByteBufferUtils() - Constructor for class org.eclipse.jetty.toolchain.test.ByteBufferUtils
 

C

calculate(byte[]) - Static method in class org.eclipse.jetty.toolchain.test.Sha1Sum
 
calculate(byte[], int, int) - Static method in class org.eclipse.jetty.toolchain.test.Sha1Sum
 
calculate(File) - Static method in class org.eclipse.jetty.toolchain.test.Sha1Sum
 
calculate(Path) - Static method in class org.eclipse.jetty.toolchain.test.Sha1Sum
 
cleanDirectory(File) - Static method in class org.eclipse.jetty.toolchain.test.FS
Delete the contents of a directory and all contents under it, leaving the directory itself still in existance.
cleanDirectory(Path) - Static method in class org.eclipse.jetty.toolchain.test.FS
Delete the contents of a directory and all contents under it, leaving the directory itself still in existance.
close(Closeable) - Static method in class org.eclipse.jetty.toolchain.test.IO
closes an Closeable, and silently ignores exceptions
close(JarFile) - Static method in class org.eclipse.jetty.toolchain.test.JAR
Close a JAR file.
condensePackageString(String) - Static method in class org.eclipse.jetty.toolchain.test.StringMangler
Condenses a classname by stripping down the package name to just the first character of each package name segment.
copy(File, File) - Static method in class org.eclipse.jetty.toolchain.test.IO
Copy files or directories.
copy(InputStream, OutputStream) - Static method in class org.eclipse.jetty.toolchain.test.IO
Copy the entire InputStream to the OutputStream
copy(Reader, Writer) - Static method in class org.eclipse.jetty.toolchain.test.IO
Copy Reader to Writer out until EOF or exception.
copyDir(File, File) - Static method in class org.eclipse.jetty.toolchain.test.IO
Copy the contents of a directory from one directory to another.
copyFile(File, File) - Static method in class org.eclipse.jetty.toolchain.test.IO
Copy a file from one place to another
create(File, File) - Static method in class org.eclipse.jetty.toolchain.test.JAR
Create a JAR file out of the contents of a specific directory (recursively)

D

DEBUG - Static variable in class org.eclipse.jetty.toolchain.test.EventQueue
 
delete(File) - Static method in class org.eclipse.jetty.toolchain.test.FS
Delete a file or a directory.
delete(Path) - Static method in class org.eclipse.jetty.toolchain.test.FS
Delete a file or a directory.
deleteDir(Path) - Static method in class org.eclipse.jetty.toolchain.test.FS
Delete a directory.
deleteDirectory(File) - Static method in class org.eclipse.jetty.toolchain.test.FS
Delete a directory and all contents under it.
deleteDirectory(Path) - Static method in class org.eclipse.jetty.toolchain.test.FS
Delete a directory and all contents under it.
deleteFile(File) - Static method in class org.eclipse.jetty.toolchain.test.FS
Delete a file.
deleteFile(Path) - Static method in class org.eclipse.jetty.toolchain.test.FS
Delete a file.
describeMismatch(Object, Description) - Method in class org.eclipse.jetty.toolchain.test.matchers.IsOrderedCollectionContaining
 
describeTo(Description) - Method in class org.eclipse.jetty.toolchain.test.matchers.IsOrderedCollectionContaining
 
describeTo(Description) - Method in class org.eclipse.jetty.toolchain.test.matchers.RegexMatcher
 

E

ensureDeleted(File) - Static method in class org.eclipse.jetty.toolchain.test.FS
Ensure the provided directory does not exist, delete it if present
ensureDeleted(Path) - Static method in class org.eclipse.jetty.toolchain.test.FS
Ensure the provided directory does not exist, delete it if present
ensureDirExists(File) - Static method in class org.eclipse.jetty.toolchain.test.FS
Ensure that directory exists, create it if not present.
ensureDirExists(Path) - Static method in class org.eclipse.jetty.toolchain.test.FS
Ensure that directory exists, create it if not present.
ensureEmpty() - Method in class org.eclipse.jetty.toolchain.test.TestingDir
Ensure that the test directory is empty.
ensureEmpty(File) - Static method in class org.eclipse.jetty.toolchain.test.FS
Ensure the provided directory exists, and contains no content (empty)
ensureEmpty(Path) - Static method in class org.eclipse.jetty.toolchain.test.FS
Ensure the provided directory exists, and contains no content (empty)
ensureEmpty(TestingDir) - Static method in class org.eclipse.jetty.toolchain.test.FS
Ensure the provided directory exists, and contains no content (empty)
EventQueue<E> - Class in org.eclipse.jetty.toolchain.test
Event Queue for capturing potential events within a testing scenario.
EventQueue() - Constructor for class org.eclipse.jetty.toolchain.test.EventQueue
 
ExtraMatchers - Class in org.eclipse.jetty.toolchain.test
Extra Matchers for the Junit Hamcrest users out there.
ExtraMatchers() - Constructor for class org.eclipse.jetty.toolchain.test.ExtraMatchers
 

F

FS - Class in org.eclipse.jetty.toolchain.test
Common FileSystem utility methods

G

getBaseDir() - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Obtain a File reference to the maven ${basedir} for the module.
getBasePath() - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Obtain a Path reference to the maven ${basedir} for the module.
getBaseURI() - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get the Basedir for the project as a URI
getEmptyPathDir() - Method in class org.eclipse.jetty.toolchain.test.TestingDir
Get the unique testing directory while ensuring that it is empty (if not).
getPath() - Method in class org.eclipse.jetty.toolchain.test.TestingDir
Get the test specific directory to use for testing work directory.
getPathFile(String) - Method in class org.eclipse.jetty.toolchain.test.TestingDir
Get a Path file reference for content inside of the test specific test directory.
getProjectDir(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get a directory reference to a required directory in the project module path, based on relative path references from maven ${basedir}.
getProjectDirPath(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get a Path reference to a required directory in the project module path, based on relative path references from maven ${basedir}.
getProjectFile(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get a File reference to a required file in the project module path, based on relative path references from maven ${basedir}.
getProjectFilePath(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get a Path reference to a required file in the project module path, based on relative path references from maven ${basedir}.
getTargetDir() - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get the File reference to the /target directory for this project.
getTargetFile(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Create a File object for a path in the /target directory.
getTargetPath() - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get the Path reference to the /target directory for this project.
getTargetPath(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Create a Path object for a path in the /target directory.
getTargetTestingDir() - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get a File reference to the maven ${basedir}/target/tests/ directory.
getTargetTestingDir(Class, String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Obtain a testing directory reference in maven ${basedir}/target/tests/${condensed-classname}/${methodname} path that uses an condensed directory name based on the testclass and subdirectory based on the testmethod being run.
getTargetTestingDir(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get a File reference to the maven ${basedir}/target/tests/test-${testname} using the supplied testname
getTargetTestingDir(TestCase) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get a File reference to the ${basedir}/target/tests/test-${testname} directory.
getTargetTestingPath() - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get a Path reference to the maven ${basedir}/target/tests/ path.
getTargetTestingPath(Class, String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Obtain a testing directory reference in maven ${basedir}/target/tests/${condensed-classname}/${methodname} path that uses an condensed directory name based on the testclass and subdirectory based on the testmethod being run.
getTargetTestingPath(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get a Path reference to the maven ${basedir}/target/tests/test-${testname} using the supplied testname
getTargetTestingPath(TestCase) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get a Path reference to the ${basedir}/target/tests/test-${testname} directory.
getTargetURI(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get a URI reference to a path (File or Dir) within the maven "${basedir}/target" directory.
getTargetURL(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get a URL reference to a path (File or Dir) within the maven "${basedir}/target" directory.
getTestResourceDir(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get a dir from the maven ${basedir}/src/test/resource directory.
getTestResourceFile(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get a file from the maven ${basedir}/src/test/resource directory.
getTestResourcePath(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get a path resource (File or Dir) from the maven ${basedir}/src/test/resource directory.
getTestResourcePathDir(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get a dir from the maven ${basedir}/src/test/resource directory.
getTestResourcePathFile(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get a file from the maven ${basedir}/src/test/resource directory.
getTestResourcesDir() - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get the File reference to the maven ${basedir}/src/test/resources directory
getTestResourcesPath() - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get the Path reference to the maven ${basedir}/src/test/resources directory

H

Hex - Class in org.eclipse.jetty.toolchain.test
 
Hex() - Constructor for class org.eclipse.jetty.toolchain.test.Hex
 

I

INSTANCE - Static variable in class org.eclipse.jetty.toolchain.test.IO.SafeFileFilter
 
IO - Class in org.eclipse.jetty.toolchain.test
IO Utilities.
IO.SafeFileFilter - Class in org.eclipse.jetty.toolchain.test
A FileFilter for obtaining a list of contents that does not contain the special . and .. entries that some JVM environments report.
IS_5 - Static variable in class org.eclipse.jetty.toolchain.test.JDK
True if JDK is 1.5 (or newer)
IS_6 - Static variable in class org.eclipse.jetty.toolchain.test.JDK
True if JDK is 1.6 (or newer)
IS_7 - Static variable in class org.eclipse.jetty.toolchain.test.JDK
True if JDK is 1.7 (or newer)
IS_8 - Static variable in class org.eclipse.jetty.toolchain.test.JDK
True if JDK is 1.8 (or newer)
IS_9 - Static variable in class org.eclipse.jetty.toolchain.test.JDK
True if JDK is 9.0 (or newer)
IS_LINUX - Static variable in class org.eclipse.jetty.toolchain.test.OS
True if OS is Linux
IS_OSX - Static variable in class org.eclipse.jetty.toolchain.test.OS
True if OS is OSX
IS_UNIX - Static variable in class org.eclipse.jetty.toolchain.test.OS
True if OS is Unix (Unix || AIX || Linux || OSX)
IS_WINDOWS - Static variable in class org.eclipse.jetty.toolchain.test.OS
True if OS is windows
isEnabled(String) - Static method in class org.eclipse.jetty.toolchain.test.PropertyFlag
Returns flag indicating if -D<flag> or -D<flag>=true is enabled.
isInterfaceAvailableFor(Class) - Static method in class org.eclipse.jetty.toolchain.test.Net
 
isIpv4InterfaceAvailable() - Static method in class org.eclipse.jetty.toolchain.test.Net
 
isIpv6InterfaceAvailable() - Static method in class org.eclipse.jetty.toolchain.test.Net
 
IsOrderedCollectionContaining<T> - Class in org.eclipse.jetty.toolchain.test.matchers
 
IsOrderedCollectionContaining(List) - Constructor for class org.eclipse.jetty.toolchain.test.matchers.IsOrderedCollectionContaining
 
isTestingDir(File) - Static method in class org.eclipse.jetty.toolchain.test.FS
Internal class used to detect if the directory is a valid testing directory.
isTestingDir(Path) - Static method in class org.eclipse.jetty.toolchain.test.FS
Internal class used to detect if the directory is a valid testing directory.

J

JAR - Class in org.eclipse.jetty.toolchain.test
Basic functions for working with JAR files in test cases.
JDK - Class in org.eclipse.jetty.toolchain.test
Common Java JVM/JDK environment utilities
JDK() - Constructor for class org.eclipse.jetty.toolchain.test.JDK
 

L

LN - Static variable in class org.eclipse.jetty.toolchain.test.OS
Line Separator string.
loadSha1(File) - Static method in class org.eclipse.jetty.toolchain.test.Sha1Sum
 

M

matches(Object) - Method in class org.eclipse.jetty.toolchain.test.matchers.IsOrderedCollectionContaining
 
matchesPattern(String) - Static method in class org.eclipse.jetty.toolchain.test.matchers.RegexMatcher
 
matchesPattern(Pattern) - Static method in class org.eclipse.jetty.toolchain.test.matchers.RegexMatcher
 
matchesSafely(Object) - Method in class org.eclipse.jetty.toolchain.test.matchers.RegexMatcher
 
MavenTestingUtils - Class in org.eclipse.jetty.toolchain.test
Common utility methods for working with JUnit tests cases in a maven friendly way.
maxStringLength(int, String) - Static method in class org.eclipse.jetty.toolchain.test.StringMangler
Smash a long string to fit within the max string length, by taking the middle section of the string and replacing them with an ellipsis "..."

N

Net - Class in org.eclipse.jetty.toolchain.test
 
Net() - Constructor for class org.eclipse.jetty.toolchain.test.Net
 

O

offer(E) - Method in class org.eclipse.jetty.toolchain.test.EventQueue
 
ordered(List) - Static method in class org.eclipse.jetty.toolchain.test.ExtraMatchers
Creates a matcher for Iterables that matches when consecutive passes over the examined Iterable yield at least one item that is matched by the corresponding matcher from the specified itemMatchers.
org.eclipse.jetty.toolchain.test - package org.eclipse.jetty.toolchain.test
 
org.eclipse.jetty.toolchain.test.annotation - package org.eclipse.jetty.toolchain.test.annotation
 
org.eclipse.jetty.toolchain.test.matchers - package org.eclipse.jetty.toolchain.test.matchers
 
OS - Class in org.eclipse.jetty.toolchain.test
Some simple OS specific utilities.
OS_NAME - Static variable in class org.eclipse.jetty.toolchain.test.OS
The name of the OS

P

PathAssert - Class in org.eclipse.jetty.toolchain.test
Assertions of various FileSytem Paths
PropertyFlag - Class in org.eclipse.jetty.toolchain.test
Flag indicating that Test is part of special group of tests.

R

readToString(File) - Static method in class org.eclipse.jetty.toolchain.test.IO
Read the contents of a file into a String and return it.
RegexMatcher - Class in org.eclipse.jetty.toolchain.test.matchers
 
RegexMatcher(String) - Constructor for class org.eclipse.jetty.toolchain.test.matchers.RegexMatcher
 
RegexMatcher(Pattern) - Constructor for class org.eclipse.jetty.toolchain.test.matchers.RegexMatcher
 
runChild(FrameworkMethod, RunNotifier) - Method in class org.eclipse.jetty.toolchain.test.AdvancedRunner
 

S

SafeFileFilter() - Constructor for class org.eclipse.jetty.toolchain.test.IO.SafeFileFilter
 
separators(String) - Static method in class org.eclipse.jetty.toolchain.test.OS
Convert path separators to the System path separators.
Sha1Sum - Class in org.eclipse.jetty.toolchain.test
Calculate the sha1sum for various content
Sha1Sum() - Constructor for class org.eclipse.jetty.toolchain.test.Sha1Sum
 
shutdown() - Method in class org.eclipse.jetty.toolchain.test.EventQueue
Shutdown the queue.
Slow - Annotation Type in org.eclipse.jetty.toolchain.test.annotation
Indicates a test method that takes a non-trivial amount of time to execute.
StackUtils - Class in org.eclipse.jetty.toolchain.test
 
StackUtils() - Constructor for class org.eclipse.jetty.toolchain.test.StackUtils
 
starting(Description) - Method in class org.eclipse.jetty.toolchain.test.TestTracker
 
Stress - Annotation Type in org.eclipse.jetty.toolchain.test.annotation
Indication for test cases that require extra knowledge to setup the testing environment properly.
StringAssert - Class in org.eclipse.jetty.toolchain.test
Collection of common asserts for Strings.
StringMangler - Class in org.eclipse.jetty.toolchain.test
Collection of utility methods for manipulating Strings for zen purposes.
StringMangler() - Constructor for class org.eclipse.jetty.toolchain.test.StringMangler
 

T

TestingDir - Class in org.eclipse.jetty.toolchain.test
A junit 4.x Rule to provide a common, easy to use, testing directory that is unique per unit test method.
TestingDir() - Constructor for class org.eclipse.jetty.toolchain.test.TestingDir
 
TestTracker - Class in org.eclipse.jetty.toolchain.test
Adds simple System.err output tracking of test method execution.
TestTracker() - Constructor for class org.eclipse.jetty.toolchain.test.TestTracker
 
toArray(ByteBuffer) - Static method in class org.eclipse.jetty.toolchain.test.ByteBufferUtils
Get the byte array out of a ByteBuffer.
toString(Throwable) - Static method in class org.eclipse.jetty.toolchain.test.StackUtils
 
toString(ByteBuffer) - Static method in class org.eclipse.jetty.toolchain.test.ByteBufferUtils
Convert the ByteBuffer to a UTF-8 String.
touch(File) - Static method in class org.eclipse.jetty.toolchain.test.FS
Create an empty file at the location.
touch(Path) - Static method in class org.eclipse.jetty.toolchain.test.FS
Create an empty file at the location.

U

unpack(File, File) - Static method in class org.eclipse.jetty.toolchain.test.JAR
Unpack JAR file into destination directory.

V

value() - Element in annotation type org.eclipse.jetty.toolchain.test.annotation.Stress
The non-optional reason why the test is set as Stress.
A B C D E F G H I J L M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form