A B C D E F G I J L M O P R S T U

A

accept(File) - Method in class org.eclipse.jetty.toolchain.test.IO.SafeFileFilter
 
apply(Statement, FrameworkMethod, Object) - Method in class org.eclipse.jetty.toolchain.test.TestingDir
 
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.
assertExists(String, File) - Static method in class org.eclipse.jetty.toolchain.test.PathAssert
Assert that the path exist.
assertFileExists(String, File) - 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).
assertNotExists(String, File) - Static method in class org.eclipse.jetty.toolchain.test.PathAssert
Assert that the path does not exist.
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
Labels the test method as belonging to Stress testing.
assume() - Static method in class org.eclipse.jetty.toolchain.test.Stress
Labels the test method as belonging to Stress testing.

B

BUFFER_SIZE - Static variable in class org.eclipse.jetty.toolchain.test.IO
 

C

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.
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
 
condensePackageString(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Condenses a classname by stripping down the package name to just the first character of each package name segment.
connect() - Method in class org.eclipse.jetty.toolchain.jmx.JmxServiceConnection
 
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
 
copyDir(File, File) - Static method in class org.eclipse.jetty.toolchain.test.IO
 
copyFile(File, File) - Static method in class org.eclipse.jetty.toolchain.test.IO
 
copyLib(String, String) - Method in class org.eclipse.jetty.toolchain.test.JettyDistro
Copy an arbitrary file from target/test-libs/${libFilename} to the testing directory.
copyProjectMainConfig() - Method in class org.eclipse.jetty.toolchain.test.JettyDistro
Copy the ${project.basedir}/src/main/config/ tree into the testing directory.
copyResource(String, String) - Method in class org.eclipse.jetty.toolchain.test.JettyDistro
Copy an arbitrary file from src/test/resources/${resourcePath} to the testing directory.
copyTestWar(String) - Method in class org.eclipse.jetty.toolchain.test.JettyDistro
Copy a war file from ${project.basedir}/target/test-wars/${testWarFilename} into the ${jetty.home}/webapps/ directory
create(File, File) - Static method in class org.eclipse.jetty.toolchain.test.JAR
 
createProjectLib(String) - Method in class org.eclipse.jetty.toolchain.test.JettyDistro
Create a ${jetty.home}/lib/self/${jarFilename} jar file from the content in the ${project.basedir}/target/classes/ directory.

D

delete(File) - Static method in class org.eclipse.jetty.toolchain.test.FS
Delete a file or a directory.
delete(String) - Method in class org.eclipse.jetty.toolchain.test.JettyDistro
Delete a File or Directory found in the ${jetty.home} directory.
deleteDirectory(File) - 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.
disconnect() - Method in class org.eclipse.jetty.toolchain.jmx.JmxServiceConnection
Close the connections

E

ensureDeleted(File) - 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.
ensureEmpty(File) - 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)
ensureEmpty() - Method in class org.eclipse.jetty.toolchain.test.TestingDir
Ensure that the test directory is empty.

F

FS - Class in org.eclipse.jetty.toolchain.test
 

G

getBasedir() - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
 
getBaseUri() - Method in class org.eclipse.jetty.toolchain.test.JettyDistro
Return the baseUri being used for this Jetty Process Instance.
getBaseURI() - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get the Basedir for the project as a URI
getConnection() - Method in class org.eclipse.jetty.toolchain.jmx.JmxServiceConnection
Retrieve a connection to MBean server
getDir() - Method in class org.eclipse.jetty.toolchain.test.TestingDir
Get the test specific directory to use for testing work directory.
getEmptyDir() - Method in class org.eclipse.jetty.toolchain.test.TestingDir
Get the unique testing directory while ensuring that it is empty (if not).
getFile(String) - Method in class org.eclipse.jetty.toolchain.test.TestingDir
Get a file inside of the test specific test directory.
getJettyHomeDir() - Method in class org.eclipse.jetty.toolchain.test.JettyDistro
Return the $(jetty.home) directory being used for this JettyDistro
getJmxUrl() - Method in class org.eclipse.jetty.toolchain.test.JettyDistro
Return the JMX URL being used for this Jetty Process Instance.
getProjectDir(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
 
getProjectFile(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
 
getProperties(String) - Method in class org.eclipse.jetty.toolchain.test.SimpleRequest
 
getServiceUrl() - Method in class org.eclipse.jetty.toolchain.jmx.JmxServiceConnection
Retrieve an external URL for the JMX server
getString(String) - Method in class org.eclipse.jetty.toolchain.test.SimpleRequest
 
getTargetDir() - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get the directory 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.
getTargetTestingDir() - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get the in /target/tests/ code that uses the an arbitrary name.
getTargetTestingDir(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get a dir in /target/ that uses the an arbitrary name.
getTargetTestingDir(TestCase) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get a dir in /target/ that uses the JUnit 3.x TestCase.getName() to make itself unique.
getTargetTestingDir(Class<?>, String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get a dir in /target/ that uses the an arbitrary name.
getTargetURI(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
 
getTargetURL(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
 
getTestIDAsPath() - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
 
getTestResourceDir(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get a dir from the src/test/resource directory.
getTestResourceFile(String) - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get a file from the 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 src/test/resource directory.
getTestResourcesDir() - Static method in class org.eclipse.jetty.toolchain.test.MavenTestingUtils
Get the directory to the src/test/resource directory

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
 
IO.SafeFileFilter() - Constructor for class org.eclipse.jetty.toolchain.test.IO.SafeFileFilter
 
IS_LINUX - Static variable in class org.eclipse.jetty.toolchain.test.OS
 
IS_OSX - Static variable in class org.eclipse.jetty.toolchain.test.OS
 
IS_UNIX - Static variable in class org.eclipse.jetty.toolchain.test.OS
 
IS_WINDOWS - Static variable in class org.eclipse.jetty.toolchain.test.OS
 
isEnabled(String) - Static method in class org.eclipse.jetty.toolchain.test.PropertyFlag
Returns flag indicating if -D<flag> or -D<flag>=true is enabled.
isEnabled() - Static method in class org.eclipse.jetty.toolchain.test.Stress
Returns flag indicating if -DSTRESS or -DSTRESS=true is enabled.
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.

J

JAR - Class in org.eclipse.jetty.toolchain.test
Basic functions for working with JAR files in test cases.
JettyDistro - Class in org.eclipse.jetty.toolchain.test
Basic process based executor for using the Jetty Distribution along with custom configurations to perform basic
JettyDistro(Class<?>) - Constructor for class org.eclipse.jetty.toolchain.test.JettyDistro
Setup the JettyHome as belonging in a testing directory associated with a testing clazz.
JettyDistro(Class<?>, String) - Constructor for class org.eclipse.jetty.toolchain.test.JettyDistro
Setup the JettyHome as belonging in a testing directory associated with a testing clazz.
JettyDistro(TestingDir) - Constructor for class org.eclipse.jetty.toolchain.test.JettyDistro
Setup the JettyHome as belonging to a specific testing method directory
JettyDistro(TestingDir, String) - Constructor for class org.eclipse.jetty.toolchain.test.JettyDistro
Setup the JettyHome as belonging to a specific testing method directory
JmxServiceConnection - Class in org.eclipse.jetty.toolchain.jmx
JmxServiceConnection Provides ability to create a connection to either an external JMX server, or a loopback connection to the internal one.
JmxServiceConnection() - Constructor for class org.eclipse.jetty.toolchain.jmx.JmxServiceConnection
Construct a loopback connection to an internal server
JmxServiceConnection(String) - Constructor for class org.eclipse.jetty.toolchain.jmx.JmxServiceConnection
Construct a connection to specified server

L

LN - Static variable in class org.eclipse.jetty.toolchain.test.OS
 

M

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.MavenTestingUtils
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 "..."

O

org.eclipse.jetty.toolchain.jmx - package org.eclipse.jetty.toolchain.jmx
 
org.eclipse.jetty.toolchain.test - package org.eclipse.jetty.toolchain.test
 
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
 
overlayConfig(String) - Method in class org.eclipse.jetty.toolchain.test.JettyDistro
Take the directory contents from ${project.basedir}/src/test/resources/${testConfigName}/ and copy it over whatever happens to be at ${jetty.home}

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.

S

separators(String) - Static method in class org.eclipse.jetty.toolchain.test.OS
Convert path separators to the System path separators.
setDebug(boolean) - Method in class org.eclipse.jetty.toolchain.test.JettyDistro
enable debug on the jetty process
setStartTime(long, TimeUnit) - Method in class org.eclipse.jetty.toolchain.test.JettyDistro
 
SimpleRequest - Class in org.eclipse.jetty.toolchain.test
A super simple http request mechanism for simple testing purposes.
SimpleRequest(URI) - Constructor for class org.eclipse.jetty.toolchain.test.SimpleRequest
 
splitAndUnescapeCommandLine(CharSequence) - Static method in class org.eclipse.jetty.toolchain.test.JettyDistro
 
start() - Method in class org.eclipse.jetty.toolchain.test.JettyDistro
Start the jetty server
stop() - Method in class org.eclipse.jetty.toolchain.test.JettyDistro
Stop the jetty server
Stress - Class in org.eclipse.jetty.toolchain.test
Flag indicating that Test is really used for Stress Testing.
StringAssert - Class in org.eclipse.jetty.toolchain.test
 

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.
TestingDir() - Constructor for class org.eclipse.jetty.toolchain.test.TestingDir
 
touch(File) - 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.
unpackConfig(String) - Method in class org.eclipse.jetty.toolchain.test.JettyDistro
Unpack an arbitrary config from target/test-configs/${configFilename} to the testing directory.

A B C D E F G I J L M O P R S T U

Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.