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

A

accept(File) - Method in class org.eclipse.jetty.toolchain.test.IO.SafeFileFilter
 
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<String>, List<String>) - 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, ByteBuffer, ByteBuffer) - Static method in class org.eclipse.jetty.toolchain.test.ByteBufferAssert
 
assertEquals(String, String, 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)

B

beforeAll(ExtensionContext) - Method in class org.eclipse.jetty.toolchain.test.jupiter.WorkDirExtension
 
beforeEach(ExtensionContext) - Method in class org.eclipse.jetty.toolchain.test.jupiter.TestTrackerExtension
 
beforeEach(ExtensionContext) - Method in class org.eclipse.jetty.toolchain.test.jupiter.WorkDirExtension
 
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
 
bytecode - Variable in class org.eclipse.jetty.toolchain.test.InMemoryCompiler.Unit
 

C

calculate(File) - Static method in class org.eclipse.jetty.toolchain.test.Sha1Sum
 
calculate(Path) - Static method in class org.eclipse.jetty.toolchain.test.Sha1Sum
 
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
 
classname - Variable in class org.eclipse.jetty.toolchain.test.InMemoryCompiler.Unit
 
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.
CODE_DETAILED_VER10 - Static variable in class org.eclipse.jetty.toolchain.test.MultiReleaseJarCreator
 
CODE_DETAILED_VER11 - Static variable in class org.eclipse.jetty.toolchain.test.MultiReleaseJarCreator
 
CODE_GREETINGS_BASE - Static variable in class org.eclipse.jetty.toolchain.test.MultiReleaseJarCreator
 
CODE_GREETINGS_VER10 - Static variable in class org.eclipse.jetty.toolchain.test.MultiReleaseJarCreator
 
CODE_GREETINGS_VER9 - Static variable in class org.eclipse.jetty.toolchain.test.MultiReleaseJarCreator
 
CODE_HELLO - Static variable in class org.eclipse.jetty.toolchain.test.MultiReleaseJarCreator
 
compile(Collection<InMemoryCompiler.Unit>) - Method in class org.eclipse.jetty.toolchain.test.InMemoryCompiler
 
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(Reader, Writer) - Static method in class org.eclipse.jetty.toolchain.test.IO
Copy Reader to Writer out until EOF or exception.
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
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)
createBasicJar() - Method in class org.eclipse.jetty.toolchain.test.MultiReleaseJarCreator
 
createMultiReleaseJar10() - Method in class org.eclipse.jetty.toolchain.test.MultiReleaseJarCreator
 
createMultiReleaseJar11() - Method in class org.eclipse.jetty.toolchain.test.MultiReleaseJarCreator
 
createMultiReleaseJar9() - Method in class org.eclipse.jetty.toolchain.test.MultiReleaseJarCreator
 

D

delete(Path) - Static method in class org.eclipse.jetty.toolchain.test.FS
Delete a file or a directory.
delete(File) - 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
Deprecated.
 

E

encode(String, String) - Static method in class org.eclipse.jetty.toolchain.test.URLEncode
 
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(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() - Method in class org.eclipse.jetty.toolchain.test.jupiter.WorkDir
Ensure that the work directory is empty.
Entry() - Constructor for class org.eclipse.jetty.toolchain.test.MultiReleaseJarCreator.Entry
 
Entry(String, String) - Constructor for class org.eclipse.jetty.toolchain.test.MultiReleaseJarCreator.Entry
 
escapeJava(String) - Static method in class org.eclipse.jetty.toolchain.test.StringMangler
Clean the input string of control characters that can impact the output to the logs in harmful ways.
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

generateThreadDump() - Static method in class org.eclipse.jetty.toolchain.test.RuntimeUtil
 
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
getClassFilename() - Method in class org.eclipse.jetty.toolchain.test.InMemoryCompiler.Unit
 
getEmptyPathDir() - Method in class org.eclipse.jetty.toolchain.test.jupiter.WorkDir
Get the unique work directory while ensuring that it is empty (if not).
getPath() - Method in class org.eclipse.jetty.toolchain.test.jupiter.WorkDir
Get the test specific directory to use for work directory.
getPathFile(String) - Method in class org.eclipse.jetty.toolchain.test.jupiter.WorkDir
Get a Path file reference for content inside of the test specific work 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}.
getSourceFilename() - Method in class org.eclipse.jetty.toolchain.test.InMemoryCompiler.Unit
 
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(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(TestInfo) - 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(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(TestInfo) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get a Path reference to the ${basedir}/target/tests/test-${testname} directory.
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.
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

InMemoryCompiler - Class in org.eclipse.jetty.toolchain.test
 
InMemoryCompiler() - Constructor for class org.eclipse.jetty.toolchain.test.InMemoryCompiler
 
InMemoryCompiler.Unit - Class in org.eclipse.jetty.toolchain.test
 
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.
isInterfaceAvailableFor(Class<? extends InetAddress>) - 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<T>) - 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.

L

loadSha1(File) - Static method in class org.eclipse.jetty.toolchain.test.Sha1Sum
 

M

main(String[]) - Static method in class org.eclipse.jetty.toolchain.test.MultiReleaseJarCreator
 
matches(Object) - Method in class org.eclipse.jetty.toolchain.test.matchers.IsOrderedCollectionContaining
 
matchesSafely(Object) - Method in class org.eclipse.jetty.toolchain.test.matchers.RegexMatcher
Deprecated.
 
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 "..."
MultiReleaseJarCreator - Class in org.eclipse.jetty.toolchain.test
 
MultiReleaseJarCreator(Path) - Constructor for class org.eclipse.jetty.toolchain.test.MultiReleaseJarCreator
 
MultiReleaseJarCreator.Entry - Class in org.eclipse.jetty.toolchain.test
 

N

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

O

ordered(List<T>) - 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.jupiter - package org.eclipse.jetty.toolchain.test.jupiter
 
org.eclipse.jetty.toolchain.test.matchers - package org.eclipse.jetty.toolchain.test.matchers
 

P

PathAssert - Class in org.eclipse.jetty.toolchain.test
Assertions of various FileSytem Paths

R

README_ROOT - Static variable in class org.eclipse.jetty.toolchain.test.MultiReleaseJarCreator
 
README_VER11 - Static variable in class org.eclipse.jetty.toolchain.test.MultiReleaseJarCreator
 
README_VER9 - Static variable in class org.eclipse.jetty.toolchain.test.MultiReleaseJarCreator
 
readToString(File) - Static method in class org.eclipse.jetty.toolchain.test.IO
Read the contents of a file into a String and return it.
regex(String) - Static method in class org.eclipse.jetty.toolchain.test.ExtraMatchers
Deprecated.
use Matchers.matchesRegex(String) instead
RegexMatcher - Class in org.eclipse.jetty.toolchain.test.matchers
Deprecated.
use Matchers.matchesRegex(String) instead
RegexMatcher(String) - Constructor for class org.eclipse.jetty.toolchain.test.matchers.RegexMatcher
Deprecated.
 
RegexMatcher(Pattern) - Constructor for class org.eclipse.jetty.toolchain.test.matchers.RegexMatcher
Deprecated.
 
resolveParameter(ParameterContext, ExtensionContext) - Method in class org.eclipse.jetty.toolchain.test.jupiter.WorkDirExtension
 
RuntimeUtil - Class in org.eclipse.jetty.toolchain.test
Java Runtime specific utility methods.
RuntimeUtil() - Constructor for class org.eclipse.jetty.toolchain.test.RuntimeUtil
 

S

SafeFileFilter() - Constructor for class org.eclipse.jetty.toolchain.test.IO.SafeFileFilter
 
separators(String) - Static method in class org.eclipse.jetty.toolchain.test.FS
Convert path separators to the System path separators.
setSourceTarget(String, String) - Method in class org.eclipse.jetty.toolchain.test.InMemoryCompiler
 
Sha1Sum - Class in org.eclipse.jetty.toolchain.test
Calculate the sha1sum for various content
Sha1Sum() - Constructor for class org.eclipse.jetty.toolchain.test.Sha1Sum
 
source - Variable in class org.eclipse.jetty.toolchain.test.InMemoryCompiler.Unit
 
StackUtils - Class in org.eclipse.jetty.toolchain.test
 
StackUtils() - Constructor for class org.eclipse.jetty.toolchain.test.StackUtils
 
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
 
supply(Throwable) - Static method in class org.eclipse.jetty.toolchain.test.StackUtils
 
supportsParameter(ParameterContext, ExtensionContext) - Method in class org.eclipse.jetty.toolchain.test.jupiter.WorkDirExtension
 

T

TestTrackerExtension - Class in org.eclipse.jetty.toolchain.test.jupiter
 
TestTrackerExtension() - Constructor for class org.eclipse.jetty.toolchain.test.jupiter.TestTrackerExtension
 
toArray(ByteBuffer) - Static method in class org.eclipse.jetty.toolchain.test.ByteBufferUtils
Get the byte array out of a ByteBuffer.
toString(ByteBuffer) - Static method in class org.eclipse.jetty.toolchain.test.ByteBufferUtils
Convert the ByteBuffer to a UTF-8 String.
toString(Throwable) - Static method in class org.eclipse.jetty.toolchain.test.StackUtils
 
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

Unit() - Constructor for class org.eclipse.jetty.toolchain.test.InMemoryCompiler.Unit
 
Unit(String, String) - Constructor for class org.eclipse.jetty.toolchain.test.InMemoryCompiler.Unit
 
unpack(File, File) - Static method in class org.eclipse.jetty.toolchain.test.JAR
Unpack JAR file into destination directory.
URLEncode - Class in org.eclipse.jetty.toolchain.test
 
URLEncode() - Constructor for class org.eclipse.jetty.toolchain.test.URLEncode
 

W

WorkDir - Class in org.eclipse.jetty.toolchain.test.jupiter
 
WorkDir(Path) - Constructor for class org.eclipse.jetty.toolchain.test.jupiter.WorkDir
 
WorkDirExtension - Class in org.eclipse.jetty.toolchain.test.jupiter
 
WorkDirExtension() - Constructor for class org.eclipse.jetty.toolchain.test.jupiter.WorkDirExtension
 
A B C D E F G H I J L M N O P R S T U W 
Skip navigation links

Copyright © 1995–2024 Mort Bay Consulting. All rights reserved.