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

A

add(UUID, Runnable) - Method in class org.jvnet.hudson.test.ClosureExecuterAction
 
addCrumb(WebRequestSettings) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
Adds a security crumb to the quest
addFile(ExtractChangeLogParser.FileInZip) - Method in class org.jvnet.hudson.test.ExtractChangeLogParser.ExtractChangeLogEntry
 
addFiles(Collection<ExtractChangeLogParser.FileInZip>) - Method in class org.jvnet.hudson.test.ExtractChangeLogParser.ExtractChangeLogEntry
 
allocate() - Method in interface org.jvnet.hudson.test.HudsonHomeLoader
Returns a directory to be used as HUDSON_HOME
allocate() - Method in class org.jvnet.hudson.test.HudsonHomeLoader.CopyExisting
 
allocate() - Method in class org.jvnet.hudson.test.HudsonHomeLoader.Local
 
allocate() - Method in class org.jvnet.hudson.test.TemporaryDirectoryAllocator
Allocates a new empty temporary directory and returns it.
assertBuildStatus(Result, R) - Method in class org.jvnet.hudson.test.HudsonTestCase
Asserts that the outcome of the build is a specific outcome.
assertBuildStatusSuccess(R) - Method in class org.jvnet.hudson.test.HudsonTestCase
 
assertEqualBeans(Object, Object, String) - Method in class org.jvnet.hudson.test.HudsonTestCase
Asserts that two JavaBeans are equal as far as the given list of properties are concerned.
assertLogContains(String, Run) - Method in class org.jvnet.hudson.test.HudsonTestCase
Asserts that the console output of the build contains the given substring.
assertXPath(HtmlPage, String) - Method in class org.jvnet.hudson.test.HudsonTestCase
Asserts that the XPath matches.

B

Bug - Annotation Type in org.jvnet.hudson.test
Marks a test case to a bug filed in the issue tracker.
build(File) - Static method in class org.jvnet.hudson.test.JellyTestSuiteBuilder
Given a jar file or a class file directory, recursively search all the Jelly files and build a TestSuite that performs static syntax checks.
build(Map) - Static method in class org.jvnet.hudson.test.PluginAutomaticTestBuilder
 
builder(Closure) - Method in class org.jvnet.hudson.test.GroovyHudsonTestCase
Wraps a closure as a Builder.

C

callStack - Variable in class org.jvnet.hudson.test.rhino.JavaScriptDebugger
Call stack as a list.
CallStackFrame - Class in org.jvnet.hudson.test.rhino
Stack frame.
CallStackFrame(JavaScriptDebugger, DebuggableScript) - Constructor for class org.jvnet.hudson.test.rhino.CallStackFrame
 
CaptureEnvironmentBuilder - Class in org.jvnet.hudson.test
Builder that captures the environment variables used during a build.
CaptureEnvironmentBuilder() - Constructor for class org.jvnet.hudson.test.CaptureEnvironmentBuilder
 
CaptureEnvironmentBuilder.DescriptorImpl - Class in org.jvnet.hudson.test
 
CaptureEnvironmentBuilder.DescriptorImpl() - Constructor for class org.jvnet.hudson.test.CaptureEnvironmentBuilder.DescriptorImpl
 
checkout(AbstractBuild, Launcher, FilePath, BuildListener, File) - Method in class org.jvnet.hudson.test.ExtractResourceSCM
 
checkout(AbstractBuild, Launcher, FilePath, BuildListener, File) - Method in class org.jvnet.hudson.test.ExtractResourceWithChangesSCM
 
checkout(AbstractBuild, Launcher, FilePath, BuildListener, File) - Method in class org.jvnet.hudson.test.SingleFileSCM
 
ClosureExecuterAction - Class in org.jvnet.hudson.test
Server-side logic that implements HudsonTestCase.executeOnServer(Callable).
ClosureExecuterAction() - Constructor for class org.jvnet.hudson.test.ClosureExecuterAction
 
configureDefaultAnt() - Method in class org.jvnet.hudson.test.HudsonTestCase
Extracts Ant and configures it.
configureDefaultMaven() - Method in class org.jvnet.hudson.test.HudsonTestCase
Returns the older default Maven, while still allowing specification of other bundled Mavens.
configureDefaultMaven(String, int) - Method in class org.jvnet.hudson.test.HudsonTestCase
Locates Maven2 and configure that as the only Maven in the system.
configureUserRealm() - Method in class org.jvnet.hudson.test.HudsonTestCase
Configures a security realm for a test.
contextPath - Variable in class org.jvnet.hudson.test.HudsonTestCase
Where in the Server is Hudson deployed?
countTestCases() - Method in class org.jvnet.hudson.test.junit.GroupedTest
 
createChangeLogParser() - Method in class org.jvnet.hudson.test.ExtractResourceWithChangesSCM
 
createCrumbedUrl(String) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
Creates a URL with crumb parameters relative to {HudsonTestCase.WebClient.getContextPath()
createFreeStyleProject() - Method in class org.jvnet.hudson.test.HudsonTestCase
 
createFreeStyleProject(String) - Method in class org.jvnet.hudson.test.HudsonTestCase
 
createLocalLauncher() - Method in class org.jvnet.hudson.test.HudsonTestCase
Creates Launcher.LocalLauncher.
createMatrixProject() - Method in class org.jvnet.hudson.test.HudsonTestCase
 
createMatrixProject(String) - Method in class org.jvnet.hudson.test.HudsonTestCase
 
createMavenProject() - Method in class org.jvnet.hudson.test.HudsonTestCase
Creates a empty Maven project with an unique name.
createMavenProject(String) - Method in class org.jvnet.hudson.test.HudsonTestCase
Creates a empty Maven project with the given name.
createPage(WebResponse, WebWindow) - Method in class org.jvnet.hudson.test.HudsonPageCreator
 
createSlave() - Method in class org.jvnet.hudson.test.HudsonTestCase
 
createSlave(Label) - Method in class org.jvnet.hudson.test.HudsonTestCase
Creates and launches a new slave on the local host.
createSlave(Label, EnvVars) - Method in class org.jvnet.hudson.test.HudsonTestCase
Creates a slave with certain additional environment variables
createTaskListener() - Method in class org.jvnet.hudson.test.HudsonTestCase
Creates a TaskListener connected to stdout.
createTmpDir() - Method in class org.jvnet.hudson.test.HudsonTestCase
Allocates a new temporary directory for the duration of this test.
createWebClient() - Method in class org.jvnet.hudson.test.HudsonTestCase
This is to assist Groovy test clients who are incapable of instantiating the inner classes properly.
createWebServer() - Method in class org.jvnet.hudson.test.HudsonTestCase
Prepares a webapp hosting environment to get ServletContext implementation that we need for testing.

D

decorateHome(HudsonTestCase, File) - Method in class org.jvnet.hudson.test.recipes.Recipe.Runner
Called right before Hudson.Hudson(File, ServletContext) is invoked to decorate the hudson home directory.
decorateHome(HudsonTestCase, File) - Method in class org.jvnet.hudson.test.recipes.WithPlugin.RunnerImpl
 
dispose() - Method in class org.jvnet.hudson.test.TemporaryDirectoryAllocator
Deletes all allocated temporary directories.
dispose() - Method in class org.jvnet.hudson.test.TestEnvironment
 
disposeAsync() - Method in class org.jvnet.hudson.test.TemporaryDirectoryAllocator
Deletes all allocated temporary directories asynchronously.
doIndex(StaplerResponse, String) - Method in class org.jvnet.hudson.test.ClosureExecuterAction
 

E

Email - Annotation Type in org.jvnet.hudson.test
Marks a test case to a bug reported in the mailing list.
env - Variable in class org.jvnet.hudson.test.HudsonTestCase
 
ENVIRONMENT - Static variable in class org.jvnet.hudson.test.TestEnvironment
 
escapeForXml(String) - Static method in class org.jvnet.hudson.test.ExtractResourceWithChangesSCM
 
eval(Runnable) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
Makes an HTTP request, process it with the given request handler, and returns the response.
executeOnServer(Closure) - Method in class org.jvnet.hudson.test.GroovyHudsonTestCase
Executes the given closure on the server, in the context of an HTTP request.
executeOnServer(Callable<V>) - Method in class org.jvnet.hudson.test.HudsonTestCase
Executes the given closure on the server, in the context of an HTTP request.
ExtractChangeLogParser - Class in org.jvnet.hudson.test
 
ExtractChangeLogParser() - Constructor for class org.jvnet.hudson.test.ExtractChangeLogParser
 
ExtractChangeLogParser.ExtractChangeLogEntry - Class in org.jvnet.hudson.test
 
ExtractChangeLogParser.ExtractChangeLogEntry() - Constructor for class org.jvnet.hudson.test.ExtractChangeLogParser.ExtractChangeLogEntry
 
ExtractChangeLogParser.ExtractChangeLogEntry(String) - Constructor for class org.jvnet.hudson.test.ExtractChangeLogParser.ExtractChangeLogEntry
 
ExtractChangeLogParser.FileInZip - Class in org.jvnet.hudson.test
 
ExtractChangeLogParser.FileInZip() - Constructor for class org.jvnet.hudson.test.ExtractChangeLogParser.FileInZip
 
ExtractChangeLogParser.FileInZip(String) - Constructor for class org.jvnet.hudson.test.ExtractChangeLogParser.FileInZip
 
ExtractChangeLogSet - Class in org.jvnet.hudson.test
 
ExtractChangeLogSet(AbstractBuild<?, ?>, List<ExtractChangeLogParser.ExtractChangeLogEntry>) - Constructor for class org.jvnet.hudson.test.ExtractChangeLogSet
 
ExtractResourceSCM - Class in org.jvnet.hudson.test
SCM useful for testing that extracts the given resource as a zip file.
ExtractResourceSCM(URL) - Constructor for class org.jvnet.hudson.test.ExtractResourceSCM
 
ExtractResourceWithChangesSCM - Class in org.jvnet.hudson.test
SCM useful for testing that extracts the given resource as a zip file.
ExtractResourceWithChangesSCM(URL, URL) - Constructor for class org.jvnet.hudson.test.ExtractResourceWithChangesSCM
 

F

FailedTest - Class in org.jvnet.hudson.test.junit
TestCase implementation that has already failed.
FailedTest(String, Exception) - Constructor for class org.jvnet.hudson.test.junit.FailedTest
 
FailedTest(Class, Exception) - Constructor for class org.jvnet.hudson.test.junit.FailedTest
 
FailureBuilder - Class in org.jvnet.hudson.test
Mock Builder that always cause a build to fail.
FailureBuilder() - Constructor for class org.jvnet.hudson.test.FailureBuilder
 
FailureBuilder.DescriptorImpl - Class in org.jvnet.hudson.test
 
FailureBuilder.DescriptorImpl() - Constructor for class org.jvnet.hudson.test.FailureBuilder.DescriptorImpl
 
findPreviousInputElement(HtmlElement, String) - Method in class org.jvnet.hudson.test.HudsonTestCase
 
fnOrScript - Variable in class org.jvnet.hudson.test.rhino.CallStackFrame
The function being executed.

G

get(Class<T>) - Method in class org.jvnet.hudson.test.HudsonTestCase
Gets the descriptor instance of the current Hudson by its type.
get() - Static method in class org.jvnet.hudson.test.TestEnvironment
 
getAffectedPaths() - Method in class org.jvnet.hudson.test.ExtractChangeLogParser.ExtractChangeLogEntry
 
getAuthor() - Method in class org.jvnet.hudson.test.ExtractChangeLogParser.ExtractChangeLogEntry
 
getButtonByCaption(HtmlForm, String) - Method in class org.jvnet.hudson.test.HudsonTestCase
 
getContextPath() - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
Returns the URL of the webapp top page.
getDescriptor() - Method in class org.jvnet.hudson.test.TestBuilder
 
getDisplayName() - Method in class org.jvnet.hudson.test.CaptureEnvironmentBuilder.DescriptorImpl
 
getDisplayName() - Method in class org.jvnet.hudson.test.ClosureExecuterAction
 
getDisplayName() - Method in class org.jvnet.hudson.test.FailureBuilder.DescriptorImpl
 
getDisplayName() - Method in class org.jvnet.hudson.test.HudsonTestCase
 
getDisplayName() - Method in class org.jvnet.hudson.test.MockBuilder.DescriptorImpl
 
getDisplayName() - Method in class org.jvnet.hudson.test.SleepBuilder.DescriptorImpl
 
getDisplayName() - Method in class org.jvnet.hudson.test.TestCrumbIssuer.DescriptorImpl
 
getDisplayName() - Method in class org.jvnet.hudson.test.UnstableBuilder.DescriptorImpl
 
getEnvVars() - Method in class org.jvnet.hudson.test.CaptureEnvironmentBuilder
 
getFileName() - Method in class org.jvnet.hudson.test.ExtractChangeLogParser.FileInZip
 
getFrame(Context, DebuggableScript) - Method in class org.jvnet.hudson.test.rhino.JavaScriptDebugger
 
getIconFileName() - Method in class org.jvnet.hudson.test.ClosureExecuterAction
 
getIconFileName() - Method in class org.jvnet.hudson.test.HudsonTestCase
 
getInstance() - Static method in class org.jvnet.hudson.test.JavaNetReverseProxy
Gets the default instance.
getLog(Run) - Static method in class org.jvnet.hudson.test.HudsonTestCase
Get entire log file (this method is deprecated in hudson.model.Run, but in tests it is OK to load entire log).
getMsg() - Method in class org.jvnet.hudson.test.ExtractChangeLogParser.ExtractChangeLogEntry
 
getPage(Run) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
Short for getPage(r,""), to access the top page of a build.
getPage(Run, String) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
Accesses a page inside Run.
getPage(Item) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
 
getPage(Item, String) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
 
getPage(Node) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
 
getPage(Node, String) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
 
getPage(View) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
 
getPage(View, String) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
 
getPage(String) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
Deprecated. This method expects a full URL. This method is marked as deprecated to warn you that you probably should be using HudsonTestCase.WebClient.goTo(String) method, which accepts a relative path within the Hudson being tested. (IOW, if you really need to hit a website on the internet, there's nothing wrong with using this method.)
getURL() - Method in class org.jvnet.hudson.test.HudsonTestCase
Returns the URL of the webapp top page.
getUrlName() - Method in class org.jvnet.hudson.test.ClosureExecuterAction
 
getUrlName() - Method in class org.jvnet.hudson.test.HudsonTestCase
 
getVariables() - Method in class org.jvnet.hudson.test.rhino.CallStackFrame
In-scope variables.
getZipFile() - Method in class org.jvnet.hudson.test.ExtractChangeLogParser.ExtractChangeLogEntry
 
goTo(String) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
Requests a page within Hudson.
goTo(String, String) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
 
GroovyHudsonTestCase - Class in org.jvnet.hudson.test
HudsonTestCase with more convenience methods for Groovy.
GroovyHudsonTestCase() - Constructor for class org.jvnet.hudson.test.GroovyHudsonTestCase
 
GroupedTest - Class in org.jvnet.hudson.test.junit
TestSuite that requires some set up and tear down for executing nested tests.
GroupedTest() - Constructor for class org.jvnet.hudson.test.junit.GroupedTest
 

H

handleCompilationDone(Context, DebuggableScript, String) - Method in class org.jvnet.hudson.test.rhino.JavaScriptDebugger
 
homeLoader - Variable in class org.jvnet.hudson.test.HudsonTestCase
 
hudson - Variable in class org.jvnet.hudson.test.HudsonTestCase
 
HudsonHomeLoader - Interface in org.jvnet.hudson.test
Controls how a HudsonTestCase initializes HUDSON_HOME.
HudsonHomeLoader.CopyExisting - Class in org.jvnet.hudson.test
Allocates a new directory by copying from an existing directory, or unzipping from a zip file.
HudsonHomeLoader.CopyExisting(File) - Constructor for class org.jvnet.hudson.test.HudsonHomeLoader.CopyExisting
Either a zip file or a directory that contains the home image.
HudsonHomeLoader.CopyExisting(URL) - Constructor for class org.jvnet.hudson.test.HudsonHomeLoader.CopyExisting
Extracts from a zip file in the resource.
HudsonHomeLoader.Local - Class in org.jvnet.hudson.test
Allocates a new directory by copying from a test resource
HudsonHomeLoader.Local(Method) - Constructor for class org.jvnet.hudson.test.HudsonHomeLoader.Local
 
HudsonPageCreator - Class in org.jvnet.hudson.test
PageCreator that understands JNLP file.
HudsonPageCreator() - Constructor for class org.jvnet.hudson.test.HudsonPageCreator
 
HudsonTestCase - Class in org.jvnet.hudson.test
Base class for all Hudson test cases.
HudsonTestCase(String) - Constructor for class org.jvnet.hudson.test.HudsonTestCase
 
HudsonTestCase() - Constructor for class org.jvnet.hudson.test.HudsonTestCase
 
HudsonTestCase.WebClient - Class in org.jvnet.hudson.test
Extends WebClient and provide convenience methods for accessing Hudson.
HudsonTestCase.WebClient() - Constructor for class org.jvnet.hudson.test.HudsonTestCase.WebClient
 

I

INSTANCE - Static variable in class org.jvnet.hudson.test.HudsonPageCreator
 
interactiveBreak() - Method in class org.jvnet.hudson.test.HudsonTestCase
Blocks until the ENTER key is hit.
interactiveJavaScriptDebugger() - Method in class org.jvnet.hudson.test.HudsonTestCase
Starts an interactive JavaScript debugger, and break at the next JavaScript execution.
isEmptySet() - Method in class org.jvnet.hudson.test.ExtractChangeLogSet
 
issueCrumb(ServletRequest, String) - Method in class org.jvnet.hudson.test.TestCrumbIssuer
 
iterator() - Method in class org.jvnet.hudson.test.ExtractChangeLogSet
 

J

JavaNetReverseProxy - Class in org.jvnet.hudson.test
Acts as a reverse proxy to https://hudson.dev.java.net/ , so that during a test we can avoid hitting java.net.
JavaNetReverseProxy(File) - Constructor for class org.jvnet.hudson.test.JavaNetReverseProxy
 
JavaScriptDebugger - Class in org.jvnet.hudson.test.rhino
Monitors the execution of the JavaScript inside HtmlUnit, and provides debug information such as call stacks, variables, arguments, etc.
JavaScriptDebugger() - Constructor for class org.jvnet.hudson.test.rhino.JavaScriptDebugger
 
JellyTestSuiteBuilder - Class in org.jvnet.hudson.test
Builds up a TestSuite for performing static syntax checks on Jelly scripts.
JellyTestSuiteBuilder() - Constructor for class org.jvnet.hudson.test.JellyTestSuiteBuilder
 
jsDebugger - Variable in class org.jvnet.hudson.test.HudsonTestCase
JavaScript "debugger" that provides you information about the JavaScript call stack and the current values of the local variables in those stack frame.

L

last(List<T>) - Method in class org.jvnet.hudson.test.HudsonTestCase
Returns the last item in the list.
LenientRunnable - Interface in org.jvnet.hudson.test
Like Runnable but can throw any exception.
LocalData - Annotation Type in org.jvnet.hudson.test.recipes
Runs a test case with a data set local to test method or the test class.
LocalData.RunnerImpl - Class in org.jvnet.hudson.test.recipes
 
LocalData.RunnerImpl() - Constructor for class org.jvnet.hudson.test.recipes.LocalData.RunnerImpl
 
localPort - Variable in class org.jvnet.hudson.test.HudsonTestCase
TCP/IP port that the server is listening on.
localPort - Variable in class org.jvnet.hudson.test.JavaNetReverseProxy
 
login(String, String) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
Logs in to Hudson.
login(String) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
Logs in to Hudson, by using the user name as the password.

M

MockBuilder - Class in org.jvnet.hudson.test
Forces the build result to be some pre-configured value.
MockBuilder(Result) - Constructor for class org.jvnet.hudson.test.MockBuilder
 
MockBuilder.DescriptorImpl - Class in org.jvnet.hudson.test
 
MockBuilder.DescriptorImpl() - Constructor for class org.jvnet.hudson.test.MockBuilder.DescriptorImpl
 

N

NEW - Static variable in interface org.jvnet.hudson.test.HudsonHomeLoader
Allocates a new empty directory, meaning this will emulate the fresh Hudson installation.
newHudson() - Method in class org.jvnet.hudson.test.HudsonTestCase
Creates a new instance of Hudson.
newInstance(StaplerRequest, JSONObject) - Method in class org.jvnet.hudson.test.CaptureEnvironmentBuilder.DescriptorImpl
 
newInstance(StaplerRequest, JSONObject) - Method in class org.jvnet.hudson.test.MockBuilder.DescriptorImpl
 
newInstance(StaplerRequest, JSONObject) - Method in class org.jvnet.hudson.test.TestCrumbIssuer.DescriptorImpl
 
NO_PROPERTIES - Static variable in class org.jvnet.hudson.test.HudsonTestCase
 

O

onDebuggerStatement(Context) - Method in class org.jvnet.hudson.test.rhino.CallStackFrame
 
onEnter(Context, Scriptable, Scriptable, Object[]) - Method in class org.jvnet.hudson.test.rhino.CallStackFrame
 
onExceptionThrown(Context, Throwable) - Method in class org.jvnet.hudson.test.rhino.CallStackFrame
 
onExit(Context, boolean, Object) - Method in class org.jvnet.hudson.test.rhino.CallStackFrame
 
onLineChange(Context, int) - Method in class org.jvnet.hudson.test.rhino.CallStackFrame
 
org.jvnet.hudson.test - package org.jvnet.hudson.test
Test harness for Hudson and its plugins.
org.jvnet.hudson.test.junit - package org.jvnet.hudson.test.junit
 
org.jvnet.hudson.test.recipes - package org.jvnet.hudson.test.recipes
Declaratively specify the environment in which a test will be run.
org.jvnet.hudson.test.rhino - package org.jvnet.hudson.test.rhino
Code to interface with Rhino the JavaScript engine.
owner - Variable in class org.jvnet.hudson.test.rhino.CallStackFrame
JavaScriptDebugger that this stack frame lives in.

P

parse(AbstractBuild, File) - Method in class org.jvnet.hudson.test.ExtractChangeLogParser
 
parse(AbstractBuild, InputStream) - Method in class org.jvnet.hudson.test.ExtractChangeLogParser
 
pause() - Method in class org.jvnet.hudson.test.HudsonTestCase
Pauses the execution until ENTER is hit in the console.
perform(AbstractBuild<?, ?>, Launcher, BuildListener) - Method in class org.jvnet.hudson.test.CaptureEnvironmentBuilder
 
perform(AbstractBuild<?, ?>, Launcher, BuildListener) - Method in class org.jvnet.hudson.test.FailureBuilder
 
perform(AbstractBuild<?, ?>, Launcher, BuildListener) - Method in class org.jvnet.hudson.test.MockBuilder
 
perform(AbstractBuild<?, ?>, Launcher, BuildListener) - Method in class org.jvnet.hudson.test.SleepBuilder
 
perform(AbstractBuild<?, ?>, Launcher, BuildListener) - Method in class org.jvnet.hudson.test.TestBuilder
 
perform(AbstractBuild<?, ?>, Launcher, BuildListener) - Method in class org.jvnet.hudson.test.UnstableBuilder
 
pin() - Method in class org.jvnet.hudson.test.TestEnvironment
Associates (or pin down) this TestEnvironment to the current thread, so that from within the test you can access this object without referring to any context.
PluginAutomaticTestBuilder - Class in org.jvnet.hudson.test
Called by the code generated by maven-hpi-plugin to build tests for plugins.
PluginAutomaticTestBuilder() - Constructor for class org.jvnet.hudson.test.PluginAutomaticTestBuilder
 
PresetData - Annotation Type in org.jvnet.hudson.test.recipes
Runs a test case with one of the preset HUDSON_HOME data set.
PresetData.DataSet - Enum in org.jvnet.hudson.test.recipes
 
PresetData.RunnerImpl - Class in org.jvnet.hudson.test.recipes
 
PresetData.RunnerImpl() - Constructor for class org.jvnet.hudson.test.recipes.PresetData.RunnerImpl
 

R

recipe() - Method in class org.jvnet.hudson.test.HudsonTestCase
Called during the HudsonTestCase.setUp() to give a test case an opportunity to control the test environment in which Hudson is run.
Recipe - Annotation Type in org.jvnet.hudson.test.recipes
Meta-annotation for recipe annotations, which controls the test environment set up.
Recipe.Runner<T extends java.lang.annotation.Annotation> - Class in org.jvnet.hudson.test.recipes
The code that implements the recipe semantics.
Recipe.Runner() - Constructor for class org.jvnet.hudson.test.recipes.Recipe.Runner
 
recipeLoadCurrentPlugin() - Method in class org.jvnet.hudson.test.HudsonTestCase
If this test harness is launched for a Hudson plugin, locate the target/test-classes/the.hpl and add a recipe to install that to the new Hudson.
recipes - Variable in class org.jvnet.hudson.test.HudsonTestCase
 
result - Variable in class org.jvnet.hudson.test.MockBuilder
 
run(TestResult) - Method in class org.jvnet.hudson.test.junit.GroupedTest
 
run() - Method in interface org.jvnet.hudson.test.LenientRunnable
 
runGroupedTests(TestResult) - Method in class org.jvnet.hudson.test.junit.GroupedTest
Executes the nested tests.
runTest() - Method in class org.jvnet.hudson.test.HudsonTestCase
 
runTest() - Method in class org.jvnet.hudson.test.junit.FailedTest
 

S

saveToChangeLog(File, ExtractChangeLogParser.ExtractChangeLogEntry) - Method in class org.jvnet.hudson.test.ExtractResourceWithChangesSCM
 
search(String) - Method in class org.jvnet.hudson.test.HudsonTestCase
Performs a search from the search box.
search(String) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
 
server - Variable in class org.jvnet.hudson.test.HudsonTestCase
 
service(HttpServletRequest, HttpServletResponse) - Method in class org.jvnet.hudson.test.JavaNetReverseProxy
 
setFileName(String) - Method in class org.jvnet.hudson.test.ExtractChangeLogParser.FileInZip
 
setParent(ChangeLogSet) - Method in class org.jvnet.hudson.test.ExtractChangeLogParser.ExtractChangeLogEntry
 
setUp() - Method in class org.jvnet.hudson.test.HudsonTestCase
 
setUp() - Method in class org.jvnet.hudson.test.junit.GroupedTest
 
setup(HudsonTestCase, LocalData) - Method in class org.jvnet.hudson.test.recipes.LocalData.RunnerImpl
 
setup(HudsonTestCase, PresetData) - Method in class org.jvnet.hudson.test.recipes.PresetData.RunnerImpl
 
setup(HudsonTestCase, T) - Method in class org.jvnet.hudson.test.recipes.Recipe.Runner
Called during TestCase.setUp() to prepare the test environment.
setup(HudsonTestCase, WithPlugin) - Method in class org.jvnet.hudson.test.recipes.WithPlugin.RunnerImpl
 
setZipFile(String) - Method in class org.jvnet.hudson.test.ExtractChangeLogParser.ExtractChangeLogEntry
 
SingleFileSCM - Class in org.jvnet.hudson.test
SCM useful for testing that puts just one file in the workspace.
SingleFileSCM(String, byte[]) - Constructor for class org.jvnet.hudson.test.SingleFileSCM
 
SingleFileSCM(String, String) - Constructor for class org.jvnet.hudson.test.SingleFileSCM
 
SingleFileSCM(String, URL) - Constructor for class org.jvnet.hudson.test.SingleFileSCM
When a check out is requested, serve the contents of the URL and place it with the given path name.
SLAVE_DEBUG_PORT - Static variable in class org.jvnet.hudson.test.HudsonTestCase
Specify this to a TCP/IP port number to have slaves started with the debugger.
SleepBuilder - Class in org.jvnet.hudson.test
Builder that just sleeps for the specified amount of milli-seconds.
SleepBuilder(long) - Constructor for class org.jvnet.hudson.test.SleepBuilder
 
SleepBuilder.DescriptorImpl - Class in org.jvnet.hudson.test
 
SleepBuilder.DescriptorImpl() - Constructor for class org.jvnet.hudson.test.SleepBuilder.DescriptorImpl
 
stop() - Method in class org.jvnet.hudson.test.JavaNetReverseProxy
 
submit(HtmlForm) - Method in class org.jvnet.hudson.test.HudsonTestCase
Submits the form.
submit(HtmlForm, String) - Method in class org.jvnet.hudson.test.HudsonTestCase
Submits the form by clikcing the submit button of the given name.

T

tearDown() - Method in class org.jvnet.hudson.test.HudsonTestCase
 
tearDown() - Method in class org.jvnet.hudson.test.junit.GroupedTest
 
tearDown(HudsonTestCase, T) - Method in class org.jvnet.hudson.test.recipes.Recipe.Runner
Called during TestCase.tearDown() to shut down the test environment.
tearDowns - Variable in class org.jvnet.hudson.test.HudsonTestCase
Runnables to be invoked at HudsonTestCase.tearDown().
TemporaryDirectoryAllocator - Class in org.jvnet.hudson.test
Allocates temporary directories and cleans it up at the end.
TemporaryDirectoryAllocator(File) - Constructor for class org.jvnet.hudson.test.TemporaryDirectoryAllocator
 
TemporaryDirectoryAllocator() - Constructor for class org.jvnet.hudson.test.TemporaryDirectoryAllocator
 
temporaryDirectoryAllocator - Variable in class org.jvnet.hudson.test.TestEnvironment
 
TestBuilder - Class in org.jvnet.hudson.test
Partial Builder implementation for writing a one-off throw-away builder used during tests.
TestBuilder() - Constructor for class org.jvnet.hudson.test.TestBuilder
 
TestCrumbIssuer - Class in org.jvnet.hudson.test
A crumb issuer that issues a constant crumb value.
TestCrumbIssuer() - Constructor for class org.jvnet.hudson.test.TestCrumbIssuer
 
TestCrumbIssuer.DescriptorImpl - Class in org.jvnet.hudson.test
 
TestCrumbIssuer.DescriptorImpl() - Constructor for class org.jvnet.hudson.test.TestCrumbIssuer.DescriptorImpl
 
TestEnvironment - Class in org.jvnet.hudson.test
TODO: deprecate this, and just consolidate this to HudsonTestCase.
TestEnvironment() - Constructor for class org.jvnet.hudson.test.TestEnvironment
 
time - Variable in class org.jvnet.hudson.test.SleepBuilder
 
toString() - Method in class org.jvnet.hudson.test.rhino.CallStackFrame
Formats this call stack, arguments, and its local variables as a human readable string.
toString() - Method in class org.jvnet.hudson.test.rhino.JavaScriptDebugger
Formats the current call stack into a human readable string.

U

UnstableBuilder - Class in org.jvnet.hudson.test
Mock Builder that always cause a build to fail.
UnstableBuilder() - Constructor for class org.jvnet.hudson.test.UnstableBuilder
 
UnstableBuilder.DescriptorImpl - Class in org.jvnet.hudson.test
 
UnstableBuilder.DescriptorImpl() - Constructor for class org.jvnet.hudson.test.UnstableBuilder.DescriptorImpl
 
Url - Annotation Type in org.jvnet.hudson.test
Marks a test case to a bug reported in the other sources.

V

validateCrumb(ServletRequest, String, String) - Method in class org.jvnet.hudson.test.TestCrumbIssuer
 
valueOf(String) - Static method in enum org.jvnet.hudson.test.recipes.PresetData.DataSet
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.jvnet.hudson.test.recipes.PresetData.DataSet
Returns an array containing the constants of this enum type, in the order they are declared.

W

with(HudsonHomeLoader) - Method in class org.jvnet.hudson.test.HudsonTestCase
 
withExistingHome(File) - Method in class org.jvnet.hudson.test.HudsonTestCase
 
withNewHome() - Method in class org.jvnet.hudson.test.HudsonTestCase
 
WithPlugin - Annotation Type in org.jvnet.hudson.test.recipes
Installs the specified plugin before launching Hudson.
WithPlugin.RunnerImpl - Class in org.jvnet.hudson.test.recipes
 
WithPlugin.RunnerImpl() - Constructor for class org.jvnet.hudson.test.recipes.WithPlugin.RunnerImpl
 
withPresetData(String) - Method in class org.jvnet.hudson.test.HudsonTestCase
Declares that this test case expects to start with one of the preset data sets.

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

Copyright © 2009. All Rights Reserved.