Index

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

A

accept(File) - Method in class org.eclipse.jetty.toolchain.test.IO.SafeFileFilter
Deprecated.
 
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
Deprecated, for removal: This API element is subject to removal in a future version.
use assertThat(msg, haystack, containsString(needle)); instead
assertContains(String, String, String, int) - Static method in class org.eclipse.jetty.toolchain.test.StringAssert
Deprecated, for removal: This API element is subject to removal in a future version.
use assertThat(msg, haystack.substring(offset), containsString(needle)); instead
assertContainsSame(String, List<String>, List<String>) - Static method in class org.eclipse.jetty.toolchain.test.StringAssert
Deprecated, for removal: This API element is subject to removal in a future version.
use assertThat(msg, linesActual, containsInAnyOrder(linesExpected.toArray())); instead
assertDirExists(String, File) - Static method in class org.eclipse.jetty.toolchain.test.PathAssert
Deprecated, for removal: This API element is subject to removal in a future version.
use assertThat(msg, path.toPath(), PathMatchers.isDirectory()); instead
assertDirExists(String, Path) - Static method in class org.eclipse.jetty.toolchain.test.PathAssert
Deprecated, for removal: This API element is subject to removal in a future version.
use assertThat(msg, path, PathMatchers.isDirectory()); instead
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
Deprecated, for removal: This API element is subject to removal in a future version.
use assertThat(msg, path.toPath(), PathMatchers.isRegularFile()); instead
assertFileExists(String, Path) - Static method in class org.eclipse.jetty.toolchain.test.PathAssert
Deprecated, for removal: This API element is subject to removal in a future version.
use assertThat(msg, path, PathMatchers.isRegularFile()); instead
assertNotContains(String, String, String) - Static method in class org.eclipse.jetty.toolchain.test.StringAssert
Deprecated, for removal: This API element is subject to removal in a future version.
use assertThat(msg, haystack, not(containsString(needle))); instead
assertNotContains(String, String, String, int) - Static method in class org.eclipse.jetty.toolchain.test.StringAssert
Deprecated, for removal: This API element is subject to removal in a future version.
use assertThat(msg, haystack.substring(offset), not(containsString(needle))); instead
assertNotPathExists(String, File) - Static method in class org.eclipse.jetty.toolchain.test.PathAssert
Deprecated, for removal: This API element is subject to removal in a future version.
use assertThat(msg, path.toPath(), not(PathMatchers.exists())); instead
assertNotPathExists(String, Path) - Static method in class org.eclipse.jetty.toolchain.test.PathAssert
Deprecated, for removal: This API element is subject to removal in a future version.
use assertThat(msg, path, not(PathMatchers.exists())); instead
assertPathExists(String, File) - Static method in class org.eclipse.jetty.toolchain.test.PathAssert
Deprecated, for removal: This API element is subject to removal in a future version.
use assertThat(msg, path.toPath(), PathMatchers.exists()); instead
assertPathExists(String, Path) - Static method in class org.eclipse.jetty.toolchain.test.PathAssert
Deprecated, for removal: This API element is subject to removal in a future version.
use assertThat(msg, path, PathMatchers.exists()); instead
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
Deprecated, for removal: This API element is subject to removal in a future version.
use assertThat(msg, haystack, startsWith(expected)); instead

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
 

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
Deprecated, for removal: This API element is subject to removal in a future version.
calculate(Path) - Static method in class org.eclipse.jetty.toolchain.test.Sha1Sum
 
cleanDirectory(File) - Static method in class org.eclipse.jetty.toolchain.test.FS
Deprecated, for removal: This API element is subject to removal in a future version.
use Path version FS.cleanDirectory(Path)
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
Deprecated.
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
Deprecated, for removal: This API element is subject to removal in a future version.
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.
copy(Path, Path) - Static method in class org.eclipse.jetty.toolchain.test.IO
Copy files or directories.
copyDir(File, File) - Static method in class org.eclipse.jetty.toolchain.test.IO
Deprecated, for removal: This API element is subject to removal in a future version.
copyDir(Path, Path) - 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
Deprecated.
copyFile(Path, Path) - Static method in class org.eclipse.jetty.toolchain.test.IO
Copy a file from one place to another using Files.copy(Path, Path, CopyOption...)
create(File, File) - Static method in class org.eclipse.jetty.toolchain.test.JAR
Deprecated.
Create a JAR file out of the contents of a specific directory (recursively)

D

delete(File) - Static method in class org.eclipse.jetty.toolchain.test.FS
Deprecated, for removal: This API element is subject to removal in a future version.
use Path version FS.delete(Path)
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
Deprecated, for removal: This API element is subject to removal in a future version.
use Path version FS.deleteDirectory(Path)
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
Deprecated, for removal: This API element is subject to removal in a future version.
use Path version FS.deleteFile(Path)
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
 

E

ensureDeleted(File) - Static method in class org.eclipse.jetty.toolchain.test.FS
Deprecated, for removal: This API element is subject to removal in a future version.
use Path version FS.ensureDeleted(Path)
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
Deprecated, for removal: This API element is subject to removal in a future version.
use Path version FS.ensureDirExists(Path)
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.jupiter.WorkDir
Ensure that the work directory is empty.
ensureEmpty(File) - Static method in class org.eclipse.jetty.toolchain.test.FS
Deprecated, for removal: This API element is subject to removal in a future version.
use Path version FS.ensureEmpty(Path)
ensureEmpty(Path) - Static method in class org.eclipse.jetty.toolchain.test.FS
Ensure the provided directory exists, and contains no content (empty)
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.
exists() - Static method in class org.eclipse.jetty.toolchain.test.PathMatchers
Test for Path that uses Files.exists(Path, LinkOption...) with clear description of Path if it fails
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

findMainResourceDir(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenPaths
Search for an expected directory in the equivalent of the src/main tree.
findMainResourceFile(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenPaths
Search for an expected file in the equivalent of the src/main tree.
findTestResourceDir(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenPaths
Search for an expected file in the equivalent of the src/main tree.
findTestResourceFile(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenPaths
Search for an expected file in the equivalent of the src/test tree.
FS - Class in org.eclipse.jetty.toolchain.test
Common FileSystem utility methods

G

getBaseDir() - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Deprecated, for removal: This API element is subject to removal in a future version.
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.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
Deprecated, for removal: This API element is subject to removal in a future version.
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
Deprecated, for removal: This API element is subject to removal in a future version.
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
Deprecated, for removal: This API element is subject to removal in a future version.
getTargetFile(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Deprecated, for removal: This API element is subject to removal in a future version.
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
Deprecated, for removal: This API element is subject to removal in a future version.
getTargetTestingDir(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Deprecated, for removal: This API element is subject to removal in a future version.
getTargetTestingDir(TestInfo) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Deprecated, for removal: This API element is subject to removal in a future version.
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(TestInfo) - 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
Deprecated, for removal: This API element is subject to removal in a future version.
getTestResourceFile(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Deprecated, for removal: This API element is subject to removal in a future version.
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
Deprecated, for removal: This API element is subject to removal in a future version.
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
Deprecated.
 
IO - Class in org.eclipse.jetty.toolchain.test
IO Utilities.
IO.SafeFileFilter - Class in org.eclipse.jetty.toolchain.test
Deprecated, for removal: This API element is subject to removal in a future version.
isDirectory() - Static method in class org.eclipse.jetty.toolchain.test.PathMatchers
Test for Path that uses Files.isDirectory(Path, LinkOption...) with clear description of Path if it fails
isEmptyDirectory() - Static method in class org.eclipse.jetty.toolchain.test.PathMatchers
Test that Path exists, as a Directory, and is empty with clear description of Path if it fails
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
 
isRegularFile() - Static method in class org.eclipse.jetty.toolchain.test.PathMatchers
Test for Path that uses Files.isRegularFile(Path, LinkOption...) with clear description of Path if it fails
isSame(Path) - Static method in class org.eclipse.jetty.toolchain.test.PathMatchers
Test for Path that uses Files.isDirectory(Path, LinkOption...) with clear description of Path if it fails

J

JAR - Class in org.eclipse.jetty.toolchain.test
Deprecated, for removal: This API element is subject to removal in a future version.
use ZipFS

L

loadSha1(File) - Static method in class org.eclipse.jetty.toolchain.test.Sha1Sum
Deprecated, for removal: This API element is subject to removal in a future version.
loadSha1(Path) - Static method in class org.eclipse.jetty.toolchain.test.Sha1Sum
 

M

matches(Object) - Method in class org.eclipse.jetty.toolchain.test.matchers.IsOrderedCollectionContaining
 
MavenPaths - Class in org.eclipse.jetty.toolchain.test
Simpler replacement for MavenTestingUtils used to find paths within the Maven ${project.basedir}
MavenPaths() - Constructor for class org.eclipse.jetty.toolchain.test.MavenPaths
 
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

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
Deprecated, for removal: This API element is subject to removal in a future version.
use PathMatchers with assertThat()
PathMatchers - Class in org.eclipse.jetty.toolchain.test
 
PathMatchers() - Constructor for class org.eclipse.jetty.toolchain.test.PathMatchers
 
projectBase() - Static method in class org.eclipse.jetty.toolchain.test.MavenPaths
Get the equivalent of ${project.basedir} (what used to just be called ${basedir}

R

readToString(File) - Static method in class org.eclipse.jetty.toolchain.test.IO
Deprecated, for removal: This API element is subject to removal in a future version.
readToString(Path) - Static method in class org.eclipse.jetty.toolchain.test.IO
Deprecated, for removal: This API element is subject to removal in a future version.
resolveParameter(ParameterContext, ExtensionContext) - Method in class org.eclipse.jetty.toolchain.test.jupiter.WorkDirExtension
 

S

SafeFileFilter() - Constructor for class org.eclipse.jetty.toolchain.test.IO.SafeFileFilter
Deprecated.
 
separators(String) - Static method in class org.eclipse.jetty.toolchain.test.FS
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
 
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
Deprecated, for removal: This API element is subject to removal in a future version.
use Hamcrest assertThat() techniques
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

targetDir() - Static method in class org.eclipse.jetty.toolchain.test.MavenPaths
Get the Path reference to the /target directory for this project.
targetTestDir(Class<?>, String, String) - Static method in class org.eclipse.jetty.toolchain.test.MavenPaths
Internal test directory name creation logic.
targetTestDir(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenPaths
Resolve the test directory
targetTestDir(ExtensionContext) - Static method in class org.eclipse.jetty.toolchain.test.MavenPaths
Resolve the unique test directory based on ExtensionContext
targetTestDir(TestInfo) - Static method in class org.eclipse.jetty.toolchain.test.MavenPaths
Resolve the unique test directory based on TestInfo
targetTests() - Static method in class org.eclipse.jetty.toolchain.test.MavenPaths
 
TestTrackerExtension - Class in org.eclipse.jetty.toolchain.test.jupiter
 
TestTrackerExtension() - Constructor for class org.eclipse.jetty.toolchain.test.jupiter.TestTrackerExtension
 
toString(Throwable) - Static method in class org.eclipse.jetty.toolchain.test.StackUtils
 
touch(File) - Static method in class org.eclipse.jetty.toolchain.test.FS
Deprecated, for removal: This API element is subject to removal in a future version.
use Path version FS.touch(Path)
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
Deprecated.
Unpack JAR file into destination directory.

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 
All Classes and Interfaces|All Packages|Constant Field Values