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

A

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, Run) - Method in class org.jvnet.hudson.test.HudsonTestCase
Asserts that the outcome of the build is a specific outcome.
assertLogContains(String, Run) - Method in class org.jvnet.hudson.test.HudsonTestCase
Asserts that the console output of the build contains the given substring.

B

Bug - Annotation Type in org.jvnet.hudson.test
Marks a test case to a bug filed in the issue tracker.

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
 
checkout(AbstractBuild, Launcher, FilePath, BuildListener, File) - Method in class org.jvnet.hudson.test.SingleFileSCM
 
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 deploed?
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(String) - Method in class org.jvnet.hudson.test.HudsonTestCase
 
createPage(WebResponse, WebWindow) - Method in class org.jvnet.hudson.test.HudsonPageCreator
 
createTmpDir() - Method in class org.jvnet.hudson.test.HudsonTestCase
Allocates a new temporary directory for the duration of this test.
createWebServer() - Method in class org.jvnet.hudson.test.HudsonTestCase
Prepares a webapp hosting environment to get ServletContext implementation that we need for testing.

D

DESCRIPTOR - Static variable in class org.jvnet.hudson.test.FailureBuilder
 
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.

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
 

F

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
 
fnOrScript - Variable in class org.jvnet.hudson.test.rhino.CallStackFrame
The function being executed.

G

get() - Static method in class org.jvnet.hudson.test.TestEnvironment
 
getDescriptor() - Method in class org.jvnet.hudson.test.FailureBuilder
 
getDisplayName() - Method in class org.jvnet.hudson.test.FailureBuilder.DescriptorImpl
 
getFrame(Context, DebuggableScript) - Method in class org.jvnet.hudson.test.rhino.JavaScriptDebugger
 
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(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.)
getVariables() - Method in class org.jvnet.hudson.test.rhino.CallStackFrame
In-scope variables.
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
 

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
 

J

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

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.FailureBuilder.DescriptorImpl
 

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

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.FailureBuilder
 
pin() - Method in class org.jvnet.hudson.test.TestEnvironment
 
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
 
run() - Method in interface org.jvnet.hudson.test.LenientRunnable
 
runTest() - Method in class org.jvnet.hudson.test.HudsonTestCase
 

S

server - Variable in class org.jvnet.hudson.test.HudsonTestCase
 
setUp() - Method in class org.jvnet.hudson.test.HudsonTestCase
 
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.
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.

T

tearDown() - Method in class org.jvnet.hudson.test.HudsonTestCase
 
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
 
TestEnvironment - Class in org.jvnet.hudson.test
 
TestEnvironment() - Constructor for class org.jvnet.hudson.test.TestEnvironment
 
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.

V

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
 
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 N O P R S T V W

Copyright © 2008. All Rights Reserved.