Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abort() - Method in class org.jvnet.hudson.test.SequenceLock
-
Tell all the threads that this sequencing was aborted.
- AbortExceptionPublisher - Class in hudson.model.utils
-
Publisher that throws AbortException
- AbortExceptionPublisher() - Constructor for class hudson.model.utils.AbortExceptionPublisher
- AbortExceptionPublisher.DescriptorImpl - Class in hudson.model.utils
- add(I, String) - Method in class org.jvnet.hudson.test.MockFolder
- add(UUID, Runnable) - Method in class org.jvnet.hudson.test.ClosureExecuterAction
- addChange() - Method in class org.jvnet.hudson.test.FakeChangeLogSCM
- addCrumb(WebRequest) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
-
Deprecated.Adds a security crumb to the request.
- addCrumb(WebRequest) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Adds a security crumb to the request.
- addExceptionListener(WebClient) - Static method in class org.htmlunit.WebClientUtil
-
Create and add an
WebClientUtil.ExceptionListener
to theWebClient
instance. - addFile(ExtractChangeLogParser.FileInZip) - Method in class org.jvnet.hudson.test.ExtractChangeLogParser.ExtractChangeLogEntry
- addGroups(String, String...) - Method in class org.jvnet.hudson.test.JenkinsRule.DummySecurityRealm
-
Associate some groups with a username.
- addPlugins(String...) - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Add some plugins to the test classpath.
- addStep(Statement) - Method in class org.jvnet.hudson.test.RestartableJenkinsRule
-
Deprecated.
- addStep(Statement, boolean) - Method in class org.jvnet.hudson.test.RestartableJenkinsRule
- addStepWithDirtyShutdown(Statement) - Method in class org.jvnet.hudson.test.RestartableJenkinsRule
-
Deprecated.
- addSyntheticPlugin(Package) - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Adds a test-only plugin to the controller based on sources defined in this module.
- addView(View) - Method in class org.jvnet.hudson.test.MockFolder
- addWebResponseListener(WebResponseListener) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
- after() - Method in class hudson.slaves.NodeProvisionerRule
-
Deprecated.
- after() - Method in class org.jvnet.hudson.test.BuildWatcher
- after() - Method in class org.jvnet.hudson.test.FlagRule
- after() - Method in class org.jvnet.hudson.test.InboundAgentRule
- after() - Method in class org.jvnet.hudson.test.JenkinsRule
-
Override to tear down your specific external resource.
- after() - Method in class org.jvnet.hudson.test.LoggerRule
- AgentArguments(String, File, String, int, List<String>) - Constructor for record class org.jvnet.hudson.test.InboundAgentRule.AgentArguments
-
Creates an instance of a
AgentArguments
record class. - agentJar() - Method in record class org.jvnet.hudson.test.InboundAgentRule.AgentArguments
-
Returns the value of the
agentJar
record component. - agentJnlpUrl() - Method in record class org.jvnet.hudson.test.InboundAgentRule.AgentArguments
-
Returns the value of the
agentJnlpUrl
record component. - allocate() - Method in interface org.jvnet.hudson.test.HudsonHomeLoader
-
Returns a directory to be used as
JENKINS_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.
- ANONYMOUS_READONLY - Enum constant in enum class org.jvnet.hudson.test.recipes.PresetData.DataSet
-
Deprecated.Secured Hudson where anonymous user is read-only, and any logged in user has a full access.
- apply(Statement, Description) - Method in class org.jvnet.hudson.test.JenkinsRule
- apply(Statement, Description) - Method in class org.jvnet.hudson.test.JenkinsSessionRule
- apply(Statement, Description) - Method in class org.jvnet.hudson.test.RealJenkinsRule
- apply(Statement, FrameworkMethod, Object) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Backward compatibility with JUnit 4.8.
- apply(Statement, FrameworkMethod, Object) - Method in class org.jvnet.hudson.test.RestartableJenkinsRule
- assertAllImageLoadSuccessfully(HtmlPage) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Makes sure that all the images in the page loads successfully.
- assertAllImageLoadSuccessfully(HtmlPage) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Makes sure that all the images in the page loads successfully.
- assertBuildStatus(Result, Future<? extends R>) - Method in class org.jvnet.hudson.test.JenkinsRule
- assertBuildStatus(Result, R) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Asserts that the outcome of the build is a specific outcome.
- assertBuildStatus(Result, R) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Asserts that the outcome of the build is a specific outcome.
- assertBuildStatusSuccess(Future<? extends R>) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- assertBuildStatusSuccess(Future<? extends R>) - Method in class org.jvnet.hudson.test.JenkinsRule
- assertBuildStatusSuccess(R) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- assertBuildStatusSuccess(R) - Method in class org.jvnet.hudson.test.JenkinsRule
- assertEqualBeans(Object, Object, String) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Asserts that two JavaBeans are equal as far as the given list of properties are concerned.
- assertEqualBeans(Object, Object, String) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Asserts that two JavaBeans are equal as far as the given list of properties are concerned.
- assertEqualDataBoundBeans(Object, Object) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Works like
HudsonTestCase.assertEqualBeans(Object, Object, String)
but figure out the properties viaDataBoundConstructor
- assertEqualDataBoundBeans(Object, Object) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Works like
JenkinsRule.assertEqualBeans(Object, Object, String)
but figure out the properties viaDataBoundConstructor
andDataBoundSetter
- assertEqualDataBoundBeans(List<?>, List<?>) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Makes sure that two collections are identical via
HudsonTestCase.assertEqualDataBoundBeans(Object, Object)
- assertEqualDataBoundBeans(List<?>, List<?>) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Makes sure that two collections are identical via
JenkinsRule.assertEqualDataBoundBeans(Object, Object)
- assertErrorContains(String) - Method in class hudson.security.pages.SignupPage
- assertFails(String, int) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
-
Deprecated.Verify that the server rejects an attempt to load the given page.
- assertFails(String, int) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Verify that the server rejects an attempt to load the given page.
- assertGC(WeakReference<?>) - Static method in class org.jvnet.hudson.test.MemoryAssert
-
Deprecated.
- assertGC(WeakReference<?>, boolean) - Static method in class org.jvnet.hudson.test.MemoryAssert
-
Forces GC by causing an OOM and then verifies the given
WeakReference
has been garbage collected. - assertGoodStatus(Page) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Assert that the specified page can be served with a "good" HTTP status, eg, the page is not missing and can be served without a server error
- assertGoodStatus(Page) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Assert that the specified page can be served with a "good" HTTP status, eg, the page is not missing and can be served without a server error
- assertHasException() - Method in class org.htmlunit.WebClientUtil.ExceptionListener
-
Assert that a
ScriptException
occurred within the JavaScript executing on the associatedWebClient
. - assertHasResponses() - Method in class org.htmlunit.WebResponseListener.StatusListener
- assertHeapUsage(Object, int) - Static method in class org.jvnet.hudson.test.MemoryAssert
-
Verifies that an object and its transitive reference graph occupy at most a predetermined amount of memory.
- assertHelpExists(Class<? extends Describable>, String) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Asserts that help files exist for the specified properties of the given instance.
- assertHelpExists(Class<? extends Describable>, String) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Asserts that help files exist for the specified properties of the given instance.
- assertLogContains(String, Run) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Asserts that the console output of the build contains the given substring.
- assertLogContains(String, Run) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Asserts that the console output of the build contains the given substring.
- assertLogNotContains(String, Run) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Asserts that the console output of the build does not contain the given substring.
- assertLogNotContains(String, Run) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Asserts that the console output of the build does not contain the given substring.
- assertMaxLoads(LazyBuildMixIn.LazyLoadingJob<?, ?>, int, Callable<T>) - Static method in class org.jvnet.hudson.test.RunLoadCounter
-
Asserts that at most a certain number of build records are loaded as a result of some task.
- assertStringContains(String, String) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- assertStringContains(String, String) - Method in class org.jvnet.hudson.test.JenkinsRule
- assertStringContains(String, String, String) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- assertStringContains(String, String, String) - Method in class org.jvnet.hudson.test.JenkinsRule
- assertXPath(DomNode, String) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Asserts that the XPath matches the contents of a DomNode page.
- assertXPath(DomNode, String) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Asserts that the XPath matches the contents of a DomNode page.
- assertXPath(HtmlPage, String) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Asserts that the XPath matches.
- assertXPath(HtmlPage, String) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Asserts that the XPath matches.
- assertXPathResultsContainText(DomNode, String, String) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- assertXPathResultsContainText(DomNode, String, String) - Method in class org.jvnet.hudson.test.JenkinsRule
- assertXPathValue(DomNode, String, String) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- assertXPathValue(DomNode, String, String) - Method in class org.jvnet.hudson.test.JenkinsRule
- assertXPathValueContains(DomNode, String, String) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- assertXPathValueContains(DomNode, String, String) - Method in class org.jvnet.hudson.test.JenkinsRule
- asUser(String) - Method in class hudson.cli.CLICommandInvoker
-
Run the command as a given username.
- authenticate(String, Authentication) - Method in class org.jvnet.hudson.test.MockQueueItemAuthenticator
- authenticate2(Queue.Item) - Method in class org.jvnet.hudson.test.MockQueueItemAuthenticator
- authenticate2(String, String) - Method in class org.jvnet.hudson.test.JenkinsRule.DummySecurityRealm
- authorizedTo(Permission...) - Method in class hudson.cli.CLICommandInvoker
-
Deprecated.Rather use
CLICommandInvoker.asUser(java.lang.String)
.
B
- before() - Method in class hudson.slaves.NodeProvisionerRule
-
Deprecated.
- before() - Method in class org.jvnet.hudson.test.BuildWatcher
- before() - Method in class org.jvnet.hudson.test.FlagRule
- before() - Method in class org.jvnet.hudson.test.JenkinsRule
-
Override to set up your specific external resource.
- BenchmarkFinder - Class in jenkins.benchmark.jmh
-
Find classes annotated with
JmhBenchmark
to run their benchmark methods. - BenchmarkFinder(Class<?>) - Constructor for class jenkins.benchmark.jmh.BenchmarkFinder
-
Class whose
ClassLoader
will be used to search for benchmarks. - BLUE - Enum constant in enum class org.jvnet.hudson.test.PrefixedOutputStream.Color
- bold() - Method in enum class org.jvnet.hudson.test.PrefixedOutputStream.Color
- BreakException() - Constructor for exception org.jvnet.hudson.test.HudsonTestCase.BreakException
-
Deprecated.
- BreakException() - Constructor for exception org.jvnet.hudson.test.JenkinsRule.BreakException
- build() - Method in class org.jvnet.hudson.test.InboundAgentRule.Options.Builder
-
Build and return an
InboundAgentRule.Options
. - build() - Method in class org.jvnet.hudson.test.RestartableJenkinsRule.Builder
- build(File, boolean) - 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(OutputStream) - Method in class org.jvnet.hudson.test.PrefixedOutputStream.Builder
- build(Map<String, ?>) - Static method in class org.jvnet.hudson.test.PluginAutomaticTestBuilder
- buildAndAssertStatus(Result, J) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Runs specified job and asserts that in finished with given build result.
- buildAndAssertSuccess(FreeStyleProject) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Avoids need for cumbersome
this.<J,R>buildAndAssertSuccess(...)
type hints under JDK 7 javac (and supposedly also IntelliJ). - buildAndAssertSuccess(FreeStyleProject) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Avoids need for cumbersome
this.<J,R>buildAndAssertSuccess(...)
type hints under JDK 7 javac (and supposedly also IntelliJ). - buildAndAssertSuccess(J) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- buildAndAssertSuccess(J) - Method in class org.jvnet.hudson.test.JenkinsRule
- buildClientSSLContext() - Method in class jenkins.test.https.KeyStoreManager
-
Build a custom SSL context that trusts the default certificates as well as those in the current keystore.
- builder() - Static method in class org.jvnet.hudson.test.PrefixedOutputStream
- builder(Closure<?>) - Method in class org.jvnet.hudson.test.GroovyHudsonTestCase
-
Deprecated.Wraps a closure as a
Builder
. - builder(Closure<?>) - Method in class org.jvnet.hudson.test.GroovyJenkinsRule
-
Wraps a closure as a
Builder
. - Builder() - Constructor for class org.jvnet.hudson.test.RestartableJenkinsRule.Builder
- buildResultInTearDown - Variable in class org.jvnet.hudson.test.HudsonTestCase.TestBuildWrapper
-
Deprecated.
- buildResultInTearDown - Variable in class org.jvnet.hudson.test.JenkinsRule.TestBuildWrapper
- buildServerSSLContext() - Method in class jenkins.test.https.KeyStoreManager
-
Build server context for server usage.
- buildSSLContext() - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Builds a
SSLContext
trusting the current instance. - BuildWatcher - Class in org.jvnet.hudson.test
-
Echoes build output to standard error as it arrives.
- BuildWatcher() - Constructor for class org.jvnet.hudson.test.BuildWatcher
- BuildWatcher.Listener - Class in org.jvnet.hudson.test
- byteSize - Variable in class org.jvnet.hudson.test.MemoryAssert.HistogramElement
C
- CallStackFrame - Class in org.jvnet.hudson.test.rhino
-
Stack frame.
- CallStackFrame(JavaScriptDebugger, DebuggableScript) - Constructor for class org.jvnet.hudson.test.rhino.CallStackFrame
- canAdd(TopLevelItem) - Method in class org.jvnet.hudson.test.MockFolder
- canDelete(View) - Method in class org.jvnet.hudson.test.MockFolder
- canProvision(Label) - Method in class hudson.slaves.DummyCloudImpl
- capture(int) - Method in class org.jvnet.hudson.test.LoggerRule
-
Initializes log record capture, in addition to merely printing it.
- 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
- causedBy(Class<? extends Throwable>) - Static method in class org.jvnet.hudson.test.JenkinsMatchers
- ChangelogAction(List<FakeChangeLogSCM.EntryImpl>, String) - Constructor for class org.jvnet.hudson.test.FakeChangeLogSCM.ChangelogAction
- ChannelShutdownListener - Class in org.jvnet.hudson.test
-
Runs at the end of the test to cleanup any live channels.
- ChannelShutdownListener() - Constructor for class org.jvnet.hudson.test.ChannelShutdownListener
- 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(Run<?, ?>, Launcher, FilePath, TaskListener, File, SCMRevisionState) - Method in class org.jvnet.hudson.test.FakeChangeLogSCM
- checkout(Run<?, ?>, Launcher, FilePath, TaskListener, File, SCMRevisionState) - Method in class org.jvnet.hudson.test.SingleFileSCM
- checkResult(HttpURLConnection) - Static method in class org.jvnet.hudson.test.RealJenkinsRule
- className - Variable in class org.jvnet.hudson.test.MemoryAssert.HistogramElement
- click(HtmlElement) - Static method in class org.htmlunit.html.HtmlElementUtil
-
Click on the supplied element.
- CLICommandInvoker - Class in hudson.cli
-
Helper class to invoke
CLICommand
and check the response. - CLICommandInvoker(JenkinsRule, CLICommand) - Constructor for class hudson.cli.CLICommandInvoker
- CLICommandInvoker(JenkinsRule, String) - Constructor for class hudson.cli.CLICommandInvoker
- CLICommandInvoker.Matcher - Class in hudson.cli
- CLICommandInvoker.Result - Class in hudson.cli
- close() - Method in class org.jvnet.hudson.test.RealJenkinsRule.CustomJenkinsRule
- close() - Method in class org.jvnet.hudson.test.TailLog
- ClosureExecuterAction - Class in org.jvnet.hudson.test
-
Server-side logic that implements
HudsonTestCase.executeOnServer(java.util.concurrent.Callable)
. - ClosureExecuterAction() - Constructor for class org.jvnet.hudson.test.ClosureExecuterAction
- cmd - Variable in class org.jvnet.hudson.test.SimpleCommandLauncher
- color(PrefixedOutputStream.AnsiColor) - Method in class org.jvnet.hudson.test.InboundAgentRule.Options.Builder
-
Set a color for agent logs.
- commandLineArgs() - Method in record class org.jvnet.hudson.test.InboundAgentRule.AgentArguments
-
Returns the value of the
commandLineArgs
record component. - compareTo(MemoryAssert.HistogramElement) - Method in class org.jvnet.hudson.test.MemoryAssert.HistogramElement
- computerConnectorTester - Variable in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- computerConnectorTester - Variable in class org.jvnet.hudson.test.JenkinsRule
- ComputerConnectorTester - Class in org.jvnet.hudson.test
-
Test bed to verify the configuration roundtripness of the
ComputerConnector
. - ComputerConnectorTester(HudsonTestCase) - Constructor for class org.jvnet.hudson.test.ComputerConnectorTester
- ComputerConnectorTester.DescriptorImpl - Class in org.jvnet.hudson.test
- configRoundtrip() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Hits the Hudson system configuration and submits without any modification.
- configRoundtrip() - Method in class org.jvnet.hudson.test.JenkinsRule
-
Hits the Hudson system configuration and submits without any modification.
- configRoundtrip(B) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Performs a configuration round-trip testing for a builder.
- configRoundtrip(B) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Performs a configuration round-trip testing for a builder.
- configRoundtrip(C) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- configRoundtrip(C) - Method in class org.jvnet.hudson.test.JenkinsRule
- configRoundtrip(User) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- configRoundtrip(User) - Method in class org.jvnet.hudson.test.JenkinsRule
- configRoundtrip(N) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- configRoundtrip(N) - Method in class org.jvnet.hudson.test.JenkinsRule
- configRoundtrip(P) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Loads a configuration page and submits it without any modifications, to perform a round-trip configuration test.
- configRoundtrip(P) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Loads a configuration page and submits it without any modifications, to perform a round-trip configuration test.
- configRoundtrip(V) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- configRoundtrip(V) - Method in class org.jvnet.hudson.test.JenkinsRule
- configureUpdateCenter() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Configures the update center setting for the test.
- configureUpdateCenter() - Method in class org.jvnet.hudson.test.JenkinsRule
-
Configures the update center setting for the test.
- configureUserRealm() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Configures a security realm for a test.
- configureUserRealm() - Method in class org.jvnet.hudson.test.JenkinsRule
-
Configures a security realm for a test.
- configureWebClient(WebClient) - Method in class jenkins.test.https.KeyStoreManager
- connector - Variable in class org.jvnet.hudson.test.ComputerConnectorTester
- connector - Variable in class org.jvnet.hudson.test.JenkinsComputerConnectorTester
- contextPath - Variable in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Where in the
Server
is Hudson deployed? - contextPath - Variable in class org.jvnet.hudson.test.JenkinsRule
-
Where in the
Server
is Jenkins deployed? - copy(T, String) - Method in class org.jvnet.hudson.test.MockFolder
- CopyExisting(File) - Constructor for class org.jvnet.hudson.test.HudsonHomeLoader.CopyExisting
-
Either a zip file or a directory that contains the home image.
- CopyExisting(URL) - Constructor for class org.jvnet.hudson.test.HudsonHomeLoader.CopyExisting
-
Extracts from a zip file in the resource.
- countLoads(LazyBuildMixIn.LazyLoadingJob<?, ?>, Runnable) - Static method in class org.jvnet.hudson.test.RunLoadCounter
-
Counts how many build records are loaded as a result of some task.
- countTestCases() - Method in class org.jvnet.hudson.test.junit.GroupedTest
- createAgent(JenkinsRule, String) - Method in class org.jvnet.hudson.test.InboundAgentRule
-
Creates, attaches, and starts a new inbound agent.
- createAgent(JenkinsRule, InboundAgentRule.Options) - Method in class org.jvnet.hudson.test.InboundAgentRule
-
Creates, attaches, and optionally starts a new inbound agent.
- createAgent(RealJenkinsRule, String) - Method in class org.jvnet.hudson.test.InboundAgentRule
- createAgent(RealJenkinsRule, InboundAgentRule.Options) - Method in class org.jvnet.hudson.test.InboundAgentRule
- createApiToken(User) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Use the new API token system introduced in 2.129 to generate a token for the given user.
- createChangeLogParser() - Method in class org.jvnet.hudson.test.ExtractResourceWithChangesSCM
- createChangeLogParser() - Method in class org.jvnet.hudson.test.FakeChangeLogSCM
- createComputerLauncher(EnvVars) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Creates a
ComputerLauncher
for launching a slave locally. - createComputerLauncher(EnvVars) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Creates a launcher for starting a local agent.
- createCrumbedUrl(String) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
-
Deprecated.Creates a URL with crumb parameters relative to {
HudsonTestCase.WebClient.getContextPath()
- createCrumbedUrl(String) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Creates a URL with crumb parameters relative to {
JenkinsRule.WebClient.getContextPath()
- createDummySecurityRealm() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Creates a test
SecurityRealm
that recognizes username==password as valid. - createDummySecurityRealm() - Method in class org.jvnet.hudson.test.JenkinsRule
-
Creates a test
SecurityRealm
that recognizes username==password as valid. - CreateFileBuilder - Class in org.jvnet.hudson.test
-
Creates a test builder, which creates a file in the workspace.
- CreateFileBuilder(String, String) - Constructor for class org.jvnet.hudson.test.CreateFileBuilder
- CreateFileBuilder.DescriptorImpl - Class in org.jvnet.hudson.test
- createFolder(String) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Creates a simple folder that other jobs can be placed in.
- createFor(Run<?, ?>) - Method in class org.jvnet.hudson.test.RunLoadCounter.MarkerAdder
- createFreeStyleProject() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- createFreeStyleProject() - Method in class org.jvnet.hudson.test.JenkinsRule
- createFreeStyleProject(String) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- createFreeStyleProject(String) - Method in class org.jvnet.hudson.test.JenkinsRule
- createJenkinsRule(Description) - Method in class org.jvnet.hudson.test.RestartableJenkinsRule
- createLauncher(TaskListener) - Method in class org.jvnet.hudson.test.PretendSlave
- createLocalLauncher() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Creates
Launcher.LocalLauncher
. - createLocalLauncher() - Method in class org.jvnet.hudson.test.JenkinsRule
-
Creates
Launcher.LocalLauncher
. - createOnlineSlave() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Create a new slave on the local host and wait for it to come online before returning.
- createOnlineSlave() - Method in class org.jvnet.hudson.test.JenkinsRule
-
Create a new slave on the local host and wait for it to come online before returning.
- createOnlineSlave(Label) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Create a new slave on the local host and wait for it to come online before returning.
- createOnlineSlave(Label) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Create a new slave on the local host and wait for it to come online before returning.
- createOnlineSlave(Label, EnvVars) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Create a new slave on the local host and wait for it to come online before returning
- createOnlineSlave(Label, EnvVars) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Create a new slave on the local host and wait for it to come online before returning
- createPage(WebResponse, WebWindow) - Method in class org.jvnet.hudson.test.HudsonPageCreator
- createPretendSlave(FakeLauncher) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- createPretendSlave(FakeLauncher) - Method in class org.jvnet.hudson.test.JenkinsRule
- createProject(TopLevelItemDescriptor, String, boolean) - Method in class org.jvnet.hudson.test.MockFolder
- createProject(Class<T>) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Creates a new job with an unique name.
- createProject(Class<T>, String) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Creates a new job.
- createProject(Class<T>, String) - Method in class org.jvnet.hudson.test.MockFolder
-
Convenience method to create a
FreeStyleProject
or similar. - createProjectFromXML(String, InputStream) - Method in class org.jvnet.hudson.test.MockFolder
- createSlave() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- createSlave() - Method in class org.jvnet.hudson.test.JenkinsRule
-
Creates and attaches a new outbound agent.
- createSlave(boolean) - Method in class org.jvnet.hudson.test.JenkinsRule
- createSlave(EnvVars) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- createSlave(EnvVars) - Method in class org.jvnet.hudson.test.JenkinsRule
- createSlave(Label) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Creates and launches a new slave on the local host.
- createSlave(Label) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Creates and launches a new slave on the local host.
- createSlave(Label, EnvVars) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- createSlave(Label, EnvVars) - Method in class org.jvnet.hudson.test.JenkinsRule
- createSlave(String, EnvVars) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Creates a slave with certain additional environment variables
- createSlave(String, EnvVars) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Creates a slave with certain additional environment variables
- createSlave(String, String, EnvVars) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- createSlave(String, String, EnvVars) - Method in class org.jvnet.hudson.test.JenkinsRule
- createTaskListener() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Creates a
TaskListener
connected to stdout. - createTaskListener() - Method in class org.jvnet.hudson.test.JenkinsRule
-
Creates a
TaskListener
connected to stdout. - createTempDirectory(String) - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Creates a temporary directory.
- createTmpDir() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Allocates a new temporary directory for the duration of this test.
- createTmpDir() - Method in class org.jvnet.hudson.test.JenkinsRule
-
Deprecated.Use
TemporaryFolder
instead. - createUniqueProjectName() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- createUniqueProjectName() - Method in class org.jvnet.hudson.test.JenkinsRule
- createWebClient() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Create a web client instance using the browser version returned by
BrowserVersion.getDefault()
with support for the Fetch API. - createWebClient() - Method in class org.jvnet.hudson.test.JenkinsRule
-
Create a web client instance using the browser version returned by
BrowserVersion.getDefault()
with support for the Fetch API. - createWebClient() - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Create a client configured to trust any self-signed certificate used by this instance.
- createWebServer2() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Prepares a webapp hosting environment to get
ServletContext
implementation that we need for testing. - createWebServer2() - Method in class org.jvnet.hudson.test.JenkinsRule
-
Prepares a webapp hosting environment to get
ServletContext
implementation that we need for testing. - createWebServer2(BiConsumer<WebAppContext, Server>) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Prepares a webapp hosting environment to get
ServletContext
implementation that we need for testing. - CustomJenkinsRule(URL) - Constructor for class org.jvnet.hudson.test.RealJenkinsRule.CustomJenkinsRule
- CYAN - Enum constant in enum class org.jvnet.hudson.test.PrefixedOutputStream.Color
D
- decorateHome(HudsonTestCase, File) - Method in class org.jvnet.hudson.test.recipes.Recipe.Runner
-
Called right before
Jenkins(File, jakarta.servlet.ServletContext)
is invoked to decorate the hudson home directory. - decorateHome(HudsonTestCase, File) - Method in class org.jvnet.hudson.test.recipes.WithPlugin.RunnerImpl
- decorateHome(HudsonTestCase, File) - Method in class org.jvnet.hudson.test.recipes.WithPluginManager.RunnerImpl
- decorateHome(JenkinsRule, File) - Method in class org.jvnet.hudson.test.JenkinsRecipe.Runner
-
Called right before
Jenkins(java.io.File, jakarta.servlet.ServletContext)
is invoked to decorate the hudson home directory. - decorateHome(JenkinsRule, File) - Method in class org.jvnet.hudson.test.recipes.WithPlugin.RuleRunnerImpl
- decorateHome(JenkinsRule, File) - Method in class org.jvnet.hudson.test.recipes.WithPluginManager.RuleRunnerImpl
- DefaultConstructorChecker - Class in org.jvnet.hudson.test
-
Tests that the specified class has the default constructor.
- DefaultConstructorChecker(Class<?>) - Constructor for class org.jvnet.hudson.test.DefaultConstructorChecker
- deleteView(View) - Method in class org.jvnet.hudson.test.MockFolder
- deprovision() - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Deletes
JENKINS_HOME
. - describeMismatchSafely(CLICommandInvoker.Result, Description) - Method in class hudson.cli.CLICommandInvoker.Matcher
- describeTo(Description) - Method in class hudson.cli.CLICommandInvoker.Matcher
- description() - Method in class org.jvnet.hudson.test.TestEnvironment
-
Current test case being run (works for JUnit 3 or 4).
- DescriptorImpl() - Constructor for class hudson.model.utils.AbortExceptionPublisher.DescriptorImpl
- DescriptorImpl() - Constructor for class hudson.model.utils.IOExceptionPublisher.DescriptorImpl
- DescriptorImpl() - Constructor for class hudson.model.utils.ResultWriterPublisher.DescriptorImpl
- DescriptorImpl() - Constructor for class hudson.model.utils.TrueFalsePublisher.DescriptorImpl
- DescriptorImpl() - Constructor for class org.jvnet.hudson.test.CaptureEnvironmentBuilder.DescriptorImpl
- DescriptorImpl() - Constructor for class org.jvnet.hudson.test.ComputerConnectorTester.DescriptorImpl
- DescriptorImpl() - Constructor for class org.jvnet.hudson.test.CreateFileBuilder.DescriptorImpl
- DescriptorImpl() - Constructor for class org.jvnet.hudson.test.FailureBuilder.DescriptorImpl
- DescriptorImpl() - Constructor for class org.jvnet.hudson.test.JenkinsComputerConnectorTester.DescriptorImpl
- DescriptorImpl() - Constructor for class org.jvnet.hudson.test.MockBuilder.DescriptorImpl
- DescriptorImpl() - Constructor for class org.jvnet.hudson.test.MockFolder.DescriptorImpl
- DescriptorImpl() - Constructor for class org.jvnet.hudson.test.MockQueueItemAuthenticator.DescriptorImpl
- DescriptorImpl() - Constructor for class org.jvnet.hudson.test.PretendSlave.DescriptorImpl
- DescriptorImpl() - Constructor for class org.jvnet.hudson.test.SecuredMockFolder.DescriptorImpl
-
Deprecated.
- DescriptorImpl() - Constructor for class org.jvnet.hudson.test.SimpleCommandLauncher.DescriptorImpl
- DescriptorImpl() - Constructor for class org.jvnet.hudson.test.SleepBuilder.DescriptorImpl
- DescriptorImpl() - Constructor for class org.jvnet.hudson.test.TestCrumbIssuer.DescriptorImpl
- DescriptorImpl() - Constructor for class org.jvnet.hudson.test.UnstableBuilder.DescriptorImpl
- DescriptorImpl() - Constructor for class org.jvnet.hudson.test.WorkspaceCopyFileBuilder.DescriptorImpl
- disconnectSlave(DumbSlave) - Method in class org.jvnet.hudson.test.JenkinsRule
- 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.
- doConfigSubmit(StaplerRequest2) - Method in class org.jvnet.hudson.test.ComputerConnectorTester
- doConfigSubmit(StaplerRequest2) - Method in class org.jvnet.hudson.test.JenkinsComputerConnectorTester
- doCreateItem(StaplerRequest2, StaplerResponse2) - Method in class org.jvnet.hudson.test.MockFolder
- doExit(String) - Method in class org.jvnet.hudson.test.RealJenkinsRule.Endpoint
- doIndex(StaplerResponse2, String) - Method in class org.jvnet.hudson.test.ClosureExecuterAction
- DomNodeUtil - Class in org.htmlunit.html
-
DomNode
helper methods. - DomNodeUtil() - Constructor for class org.htmlunit.html.DomNodeUtil
- done() - Method in class org.jvnet.hudson.test.RealJenkinsRule.SyntheticPlugin
- done() - Method in class org.jvnet.hudson.test.SequenceLock
-
Marks the current phase completed that the calling thread was executing.
- doStart() - Method in class org.jvnet.hudson.test.NoListenerConfiguration2
- doStart() - Method in class org.jvnet.hudson.test.ThreadPoolImpl
- doStatus(String) - Method in class org.jvnet.hudson.test.RealJenkinsRule.Endpoint
- doStep(StaplerRequest, StaplerResponse) - Method in class org.jvnet.hudson.test.RealJenkinsRule.Endpoint
- doStop() - Method in class org.jvnet.hudson.test.ThreadPoolImpl
- doTimeout(String) - Method in class org.jvnet.hudson.test.RealJenkinsRule.Endpoint
- DummyCloudImpl - Class in hudson.slaves
-
Cloud
implementation useful for testing. - DummyCloudImpl(JenkinsRule, int) - Constructor for class hudson.slaves.DummyCloudImpl
- DummyCloudImpl(JenkinsRule, int, List<NodeProperty<?>>) - Constructor for class hudson.slaves.DummyCloudImpl
E
- EchoCommand - Class in hudson.util
-
Command line utility to print all arguments as provided.
- EchoCommand() - Constructor for class hudson.util.EchoCommand
- EndOfTestListener - Interface in org.jvnet.hudson.test
-
Gets notified before the test completes to perform additional cleanup.
- Endpoint() - Constructor for class org.jvnet.hudson.test.RealJenkinsRule.Endpoint
- enterEmail(String) - Method in class hudson.security.pages.SignupPage
- enterFullName(String) - Method in class hudson.security.pages.SignupPage
- enterPassword(String) - Method in class hudson.security.pages.SignupPage
-
Enters the password in password1 and password2.
- enterPassword2(String) - Method in class hudson.security.pages.SignupPage
- enterUsername(String) - Method in class hudson.security.pages.SignupPage
- EntryImpl() - Constructor for class org.jvnet.hudson.test.FakeChangeLogSCM.EntryImpl
- env - Variable in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- env - Variable in class org.jvnet.hudson.test.JenkinsRule
- eol(byte[], int) - Method in class org.jvnet.hudson.test.PrefixedOutputStream
- equals(Object) - Method in record class org.jvnet.hudson.test.InboundAgentRule.AgentArguments
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.jvnet.hudson.test.MemoryAssert.HistogramElement
- eval(Runnable) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
-
Deprecated.Makes an HTTP request, process it with the given request handler, and returns the response.
- eval(Runnable) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Makes an HTTP request, process it with the given request handler, and returns the response.
- everywhere() - Method in class org.jvnet.hudson.test.MockAuthorizationStrategy.Grant
-
Everywhere in Jenkins.
- execute(Runnable) - Method in class org.jvnet.hudson.test.ThreadPoolImpl
- executeOnServer(Closure<?>) - Method in class org.jvnet.hudson.test.GroovyHudsonTestCase
-
Deprecated.Executes the given closure on the server, in the context of an HTTP request.
- executeOnServer(Closure<?>) - Method in class org.jvnet.hudson.test.GroovyJenkinsRule
-
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
-
Deprecated.Executes the given closure on the server, by the servlet request handling thread, in the context of an HTTP request.
- executeOnServer(Callable<V>) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
-
Deprecated.Executes the given closure on the server, by the servlet request handling thread, in the context of an HTTP request.
- executeOnServer(Callable<V>) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Executes the given closure on the server, by the servlet request handling thread, in the context of an HTTP request.
- executeOnServer(Callable<V>) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Executes the given closure on the server, by the servlet request handling thread, in the context of an HTTP request.
- exitCode - Variable in class org.jvnet.hudson.test.FakeLauncher.FinishedProc
- explodedWarDir - Variable in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.The directory where a war file gets exploded.
- 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.FileInZip - Class in org.jvnet.hudson.test
- 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
- ExtractResourceSCM(URL, String) - Constructor for class org.jvnet.hudson.test.ExtractResourceSCM
-
with this constructor your zip can contains a folder more useful to create a project test zip foo.zip foo
- 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
- ExtractResourceWithChangesSCM(URL, URL, String) - Constructor for class org.jvnet.hudson.test.ExtractResourceWithChangesSCM
- extraEnv(String, String) - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Set an extra environment variable.
F
- FailedTest - Class in org.jvnet.hudson.test.junit
-
TestCase
implementation that has already failed. - FailedTest(Class<?>, Throwable) - Constructor for class org.jvnet.hudson.test.junit.FailedTest
- FailedTest(String, Throwable) - Constructor for class org.jvnet.hudson.test.junit.FailedTest
- failedWith(long) - Static method in class hudson.cli.CLICommandInvoker.Matcher
- 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
- FakeChangeLogParser() - Constructor for class org.jvnet.hudson.test.FakeChangeLogSCM.FakeChangeLogParser
- FakeChangeLogSCM - Class in org.jvnet.hudson.test
-
Fake SCM implementation that can report arbitrary commits from arbitrary users.
- FakeChangeLogSCM() - Constructor for class org.jvnet.hudson.test.FakeChangeLogSCM
- FakeChangeLogSCM.ChangelogAction - Class in org.jvnet.hudson.test
- FakeChangeLogSCM.EntryImpl - Class in org.jvnet.hudson.test
- FakeChangeLogSCM.FakeChangeLogParser - Class in org.jvnet.hudson.test
- FakeChangeLogSCM.FakeChangeLogSet - Class in org.jvnet.hudson.test
- FakeChangeLogSet(Run<?, ?>, List<FakeChangeLogSCM.EntryImpl>) - Constructor for class org.jvnet.hudson.test.FakeChangeLogSCM.FakeChangeLogSet
- FakeLauncher - Interface in org.jvnet.hudson.test
-
Fake a process launch.
- FakeLauncher.FinishedProc - Class in org.jvnet.hudson.test
-
Fake
Proc
implementation that represents a completed process. - filter(Filter) - Method in class org.jvnet.hudson.test.junit.GroupedTest
- findBenchmarks(ChainedOptionsBuilder) - Method in class jenkins.benchmark.jmh.BenchmarkFinder
-
Includes classes annotated with
JmhBenchmark
as candidates for JMH benchmarks. - findDataBoundConstructor(Class<?>) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- findDataBoundConstructor(Class<?>) - Method in class org.jvnet.hudson.test.JenkinsRule
- findPreviousInputElement(HtmlElement, String) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- findPreviousInputElement(HtmlElement, String) - Method in class org.jvnet.hudson.test.JenkinsRule
- FinishedProc(int) - Constructor for class org.jvnet.hudson.test.FakeLauncher.FinishedProc
- FlagRule<T> - Class in org.jvnet.hudson.test
-
Saves and restores sort of a flag, such as a
static
field or system property. - FlagRule(Supplier<T>, Consumer<T>) - Constructor for class org.jvnet.hudson.test.FlagRule
- FlagRule(Supplier<T>, Consumer<T>, T) - Constructor for class org.jvnet.hudson.test.FlagRule
- 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
- get(Class<T>) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Gets the descriptor instance of the current Hudson by its type.
- get(Class<T>) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Gets the descriptor instance of the current Hudson by its type.
- getACL() - Method in class org.jvnet.hudson.test.SecuredMockFolder
-
Deprecated.
- getACL(AbstractItem) - Method in class org.jvnet.hudson.test.MockAuthorizationStrategy
- getACL(Job<?, ?>) - Method in class org.jvnet.hudson.test.MockAuthorizationStrategy
- getAffectedFiles() - Method in class org.jvnet.hudson.test.FakeChangeLogSCM.EntryImpl
- getAffectedPaths() - Method in class org.jvnet.hudson.test.ExtractChangeLogParser.ExtractChangeLogEntry
- getAffectedPaths() - Method in class org.jvnet.hudson.test.FakeChangeLogSCM.EntryImpl
- getAllJobs() - Method in class org.jvnet.hudson.test.MockFolder
- getAuthor() - Method in class org.jvnet.hudson.test.ExtractChangeLogParser.ExtractChangeLogEntry
- getAuthor() - Method in class org.jvnet.hudson.test.FakeChangeLogSCM.EntryImpl
- getBuildNumber() - Method in class org.jvnet.hudson.test.WorkspaceCopyFileBuilder
- getButtonByCaption(HtmlForm, String) - Static method in class org.htmlunit.html.HtmlFormUtil
-
Get the form button having the specified text/caption.
- getButtonByCaption(HtmlForm, String) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- getButtonByCaption(HtmlForm, String) - Method in class org.jvnet.hudson.test.JenkinsRule
- getCode() - Method in interface org.jvnet.hudson.test.PrefixedOutputStream.AnsiColor
- getCode() - Method in enum class org.jvnet.hudson.test.PrefixedOutputStream.Color
- getColor() - Method in class org.jvnet.hudson.test.PrefixedOutputStream.Builder
- getConnectorDescriptors() - Method in class org.jvnet.hudson.test.ComputerConnectorTester
- getConnectorDescriptors() - Method in class org.jvnet.hudson.test.JenkinsComputerConnectorTester
- getContextPath() - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
-
Deprecated.Returns the URL of the webapp top page.
- getContextPath() - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Returns the URL of the webapp top page.
- getDescriptor() - Method in class hudson.slaves.DummyCloudImpl
- getDescriptor() - Method in class org.jvnet.hudson.test.CreateFileBuilder
- getDescriptor() - Method in class org.jvnet.hudson.test.ExtractResourceWithChangesSCM
- getDescriptor() - Method in class org.jvnet.hudson.test.FakeChangeLogSCM
- getDescriptor() - Method in class org.jvnet.hudson.test.MockBuilder
- getDescriptor() - Method in class org.jvnet.hudson.test.MockFolder
- getDescriptor() - Method in class org.jvnet.hudson.test.TestBuilder
- getDescriptor() - Method in class org.jvnet.hudson.test.TestNotifier
- getDescriptor() - Method in class org.jvnet.hudson.test.WorkspaceCopyFileBuilder
- getDisplayName() - Method in class jenkins.benchmark.jmh.JmhBenchmarkState
- 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.CreateFileBuilder.DescriptorImpl
- getDisplayName() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- getDisplayName() - Method in class org.jvnet.hudson.test.JenkinsRule
- getDisplayName() - Method in class org.jvnet.hudson.test.JenkinsRule.TestBuildWrapper.TestBuildWrapperDescriptor
- getDisplayName() - Method in class org.jvnet.hudson.test.RealJenkinsRule.Endpoint
- getDisplayName() - Method in class org.jvnet.hudson.test.SecuredMockFolder.DescriptorImpl
-
Deprecated.
- getDisplayName() - Method in class org.jvnet.hudson.test.WorkspaceCopyFileBuilder.DescriptorImpl
- getEnvVars() - Method in class org.jvnet.hudson.test.CaptureEnvironmentBuilder
- getExpectedScriptException() - Method in class org.htmlunit.WebClientUtil.ExceptionListener
-
Get the last
ScriptException
. - getExplodedDir() - Static method in class org.jvnet.hudson.test.WarExploder
- getFileContent() - Method in class org.jvnet.hudson.test.CreateFileBuilder
- getFileName() - Method in class org.jvnet.hudson.test.CreateFileBuilder
- getFileName() - Method in class org.jvnet.hudson.test.ExtractChangeLogParser.FileInZip
- getFileName() - Method in class org.jvnet.hudson.test.WorkspaceCopyFileBuilder
- getFrame(Context, DebuggableScript) - Method in class org.jvnet.hudson.test.rhino.JavaScriptDebugger
- getGroups() - Method in class org.jvnet.hudson.test.MockAuthorizationStrategy
- getHome() - Method in class org.jvnet.hudson.test.JenkinsSessionRule
-
Get the Jenkins home directory, which is consistent across restarts.
- getHome() - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Obtains the Jenkins home directory.
- getIconFileName() - Method in class jenkins.benchmark.jmh.JmhBenchmarkState
- getIconFileName() - Method in class org.jvnet.hudson.test.ClosureExecuterAction
- getIconFileName() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- getIconFileName() - Method in class org.jvnet.hudson.test.JenkinsRule
- getIconFileName() - Method in class org.jvnet.hudson.test.RealJenkinsRule.Endpoint
- getIdleThreads() - Method in class org.jvnet.hudson.test.ThreadPoolImpl
- getInstance() - Static method in class org.jvnet.hudson.test.JavaNetReverseProxy2
-
Gets the default instance.
- getInstance() - Method in class org.jvnet.hudson.test.JenkinsRule
- getItem(String) - Method in class org.jvnet.hudson.test.MockFolder
- getItem(String) - Method in class org.jvnet.hudson.test.SecuredMockFolder
-
Deprecated.
- getItemGroup() - Method in class org.jvnet.hudson.test.MockFolder
- getItems() - Method in class org.jvnet.hudson.test.MockFolder
- getJacocoAgentOptions() - Static method in class org.jvnet.hudson.test.RealJenkinsRule
- getJenkins() - Method in class jenkins.benchmark.jmh.JmhBenchmarkState
-
Get reference to the
Jenkins
started for the benchmark. - getJob(String) - Method in class org.jvnet.hudson.test.MockFolder
-
Same as
MockFolder.getItem(java.lang.String)
but named this way as aWebMethod
. - getJobName() - Method in class org.jvnet.hudson.test.WorkspaceCopyFileBuilder
- getJSON(String) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Get JSON from a Jenkins relative endpoint.
- getJSON(String) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Get JSON from a Jenkins relative endpoint.
- getJSONObject() - Method in class org.jvnet.hudson.test.JenkinsRule.JSONWebResponse
- getLabel() - Method in class org.jvnet.hudson.test.InboundAgentRule.Options
- getLog(Run) - Static method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Get entire log file (this method is deprecated in hudson.model.Run, but in tests it is OK to load entire log).
- getLog(Run) - Static method in class org.jvnet.hudson.test.JenkinsRule
-
Get entire log file as plain text.
- getMessages() - Method in class org.jvnet.hudson.test.LoggerRule
-
Returns a read-only view of current messages.
- getModuleRoot(FilePath) - Method in class org.jvnet.hudson.test.ExtractResourceWithChangesSCM
- getMsg() - Method in class org.jvnet.hudson.test.ExtractChangeLogParser.ExtractChangeLogEntry
- getMsg() - Method in class org.jvnet.hudson.test.FakeChangeLogSCM.EntryImpl
- getName() - Method in class org.jvnet.hudson.test.InboundAgentRule.Options
- getName() - Method in class org.jvnet.hudson.test.PrefixedOutputStream.Builder
- getName() - Method in class org.jvnet.hudson.test.RealJenkinsRule
- getNodeProperties() - Method in class hudson.slaves.DummyCloudImpl
- getOrdinal(TestExtension) - Method in class org.jvnet.hudson.test.TestExtensionLoader
- getPage(Item) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
-
Deprecated.
- getPage(Item) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
- getPage(Item, String) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
-
Deprecated.
- getPage(Item, String) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
- getPage(Node) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
-
Deprecated.
- getPage(Node) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
- getPage(Node, String) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
-
Deprecated.
- getPage(Node, String) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
- getPage(Run) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
-
Deprecated.Short for
getPage(r,"")
, to access the top page of a build. - getPage(Run) - Method in class org.jvnet.hudson.test.JenkinsRule.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
-
Deprecated.Accesses a page inside
Run
. - getPage(Run, String) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Accesses a page inside
Run
. - getPage(View) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
-
Deprecated.
- getPage(View) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
- getPage(View, String) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
-
Deprecated.
- getPage(View, String) - Method in class org.jvnet.hudson.test.JenkinsRule.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.) - getPage(String) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Deprecated.This method expects a full URL. This method is marked as deprecated to warn you that you probably should be using
JenkinsRule.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.) - getPassword() - Method in class jenkins.test.https.KeyStoreManager
- getPath() - Method in class jenkins.test.https.KeyStoreManager
- getPluginManager() - Method in class org.jvnet.hudson.test.JenkinsRule
- getPrimaryView() - Method in class org.jvnet.hudson.test.MockFolder
- getRecords() - Method in class org.jvnet.hudson.test.LoggerRule
-
Obtains all log records collected so far during this test case.
- getRequiredMonitorService() - Method in class hudson.model.utils.AbortExceptionPublisher
- getRequiredMonitorService() - Method in class hudson.model.utils.IOExceptionPublisher
- getRequiredMonitorService() - Method in class hudson.model.utils.ResultWriterPublisher
- getRequiredMonitorService() - Method in class hudson.model.utils.TrueFalsePublisher
- getRequiredMonitorService() - Method in class org.jvnet.hudson.test.TestNotifier
- getResponses() - Method in class org.htmlunit.WebResponseListener.StatusListener
- getRootACL() - Method in class org.jvnet.hudson.test.MockAuthorizationStrategy
- getRootCA() - Method in class org.jvnet.hudson.test.RealJenkinsRule
- getRootDirFor(TopLevelItem) - Method in class org.jvnet.hudson.test.MockFolder
- getScriptException() - Method in class org.htmlunit.WebClientUtil.ExceptionListener
-
Get the last
ScriptException
. - getStaplerFallback() - Method in class org.jvnet.hudson.test.MockFolder
- getStderr() - Method in class org.jvnet.hudson.test.FakeLauncher.FinishedProc
- getStdin() - Method in class org.jvnet.hudson.test.FakeLauncher.FinishedProc
- getStdout() - Method in class org.jvnet.hudson.test.FakeLauncher.FinishedProc
- getSubmitButton(HtmlForm) - Static method in class org.htmlunit.html.HtmlFormUtil
-
Gets the first
<button class="jenkins-submit-button">
element in this form. - getSubmitButtons(HtmlForm) - Static method in class org.htmlunit.html.HtmlFormUtil
-
Returns all the
<input type="submit">
elements in this form. - getTestDescription() - Method in class org.jvnet.hudson.test.JenkinsRule
- getThreads() - Method in class org.jvnet.hudson.test.ThreadPoolImpl
- getTruststoreJavaOptions() - Method in class jenkins.test.https.KeyStoreManager
- getTruststoreJavaOptions() - Method in class org.jvnet.hudson.test.RealJenkinsRule
- getTunnel() - Method in class org.jvnet.hudson.test.InboundAgentRule.Options
- getType() - Method in class jenkins.test.https.KeyStoreManager
- getUrl() - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Similar to
JenkinsRule.getURL()
. - getURL() - Method in class jenkins.test.https.KeyStoreManager
- getURL() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Returns the URL of the webapp top page.
- getURL() - Method in class org.jvnet.hudson.test.JenkinsRule
-
Returns the URL of the webapp top page.
- getURL() - Method in class org.jvnet.hudson.test.RealJenkinsRule.CustomJenkinsRule
- getUrlChildPrefix() - Method in class org.jvnet.hudson.test.MockFolder
- getUrlName() - Method in class jenkins.benchmark.jmh.JmhBenchmarkState
- getUrlName() - Method in class org.jvnet.hudson.test.ClosureExecuterAction
- getUrlName() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- getUrlName() - Method in class org.jvnet.hudson.test.JenkinsRule
- getUrlName() - Method in class org.jvnet.hudson.test.RealJenkinsRule.Endpoint
- getVariables() - Method in class org.jvnet.hudson.test.rhino.CallStackFrame
-
In-scope variables.
- getView(String) - Method in class org.jvnet.hudson.test.MockFolder
- getViewActions() - Method in class org.jvnet.hudson.test.MockFolder
- getViews() - Method in class org.jvnet.hudson.test.MockFolder
- getViewsTabBar() - Method in class org.jvnet.hudson.test.MockFolder
- getWebAppRoot() - Method in class org.jvnet.hudson.test.JenkinsRule
- getZipFile() - Method in class org.jvnet.hudson.test.ExtractChangeLogParser.ExtractChangeLogEntry
- goTo(String) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
-
Deprecated.Requests a page within Jenkins.
- goTo(String) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Requests an HTML page within Jenkins.
- goTo(String, String) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
-
Deprecated.
- goTo(String, String) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Requests a page within Jenkins.
- goToXml(String) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
-
Deprecated.Loads a page as XML.
- goToXml(String) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Loads a page as XML.
- grant(Permission...) - Method in class org.jvnet.hudson.test.MockAuthorizationStrategy
-
Begin granting a set of permissions.
- grantWithoutImplication(Permission...) - Method in class org.jvnet.hudson.test.MockAuthorizationStrategy
-
Like
MockAuthorizationStrategy.grant(hudson.security.Permission...)
but does not honorPermission.impliedBy
. - GREEN - Enum constant in enum class org.jvnet.hudson.test.PrefixedOutputStream.Color
- GroovyHudsonTestCase - Class in org.jvnet.hudson.test
-
Deprecated.Use
GroovyJenkinsRule
instead. - GroovyHudsonTestCase() - Constructor for class org.jvnet.hudson.test.GroovyHudsonTestCase
-
Deprecated.
- GroovyJenkinsRule - Class in org.jvnet.hudson.test
-
JenkinsRule
variant with special options for tests written in Groovy. - GroovyJenkinsRule() - Constructor for class org.jvnet.hudson.test.GroovyJenkinsRule
- 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
- hasCause(Class<? extends Throwable>) - Static method in class org.jvnet.hudson.test.JenkinsMatchers
-
A matcher that verifies that the a root cause of an exception is of the specified type.
- hasClassName(HtmlElement, String) - Static method in class org.htmlunit.html.HtmlElementUtil
-
Does the supplied element define the specified HTML "class" name.
- hasConsistentEquals(Object) - Static method in class org.jvnet.hudson.test.JenkinsMatchers
- hasDefaultConstructor() - Static method in class org.jvnet.hudson.test.JenkinsMatchers
-
A matcher which checks that the class has the default constructor.
- hasHashCodeContract(Object) - Static method in class org.jvnet.hudson.test.JenkinsMatchers
- hashCode() - Method in record class org.jvnet.hudson.test.InboundAgentRule.AgentArguments
-
Returns a hash code value for this object.
- hashCode() - Method in class org.jvnet.hudson.test.MemoryAssert.HistogramElement
- hasImplementedEquals() - Static method in class org.jvnet.hudson.test.JenkinsMatchers
- hasImplementedHashCode() - Static method in class org.jvnet.hudson.test.JenkinsMatchers
- hasKind(FormValidation.Kind) - Static method in class org.jvnet.hudson.test.JenkinsMatchers
- hasNoErrorOutput() - Static method in class hudson.cli.CLICommandInvoker.Matcher
- hasNonEqualityWithNulls() - Static method in class org.jvnet.hudson.test.JenkinsMatchers
- hasNoStandardOutput() - Static method in class hudson.cli.CLICommandInvoker.Matcher
- hasPermission(Permission) - Method in class org.jvnet.hudson.test.SecuredMockFolder
-
Deprecated.
- hasPlainText(String) - Static method in class org.jvnet.hudson.test.JenkinsMatchers
-
Returns a Matcher for the plain text value of a Secret.
- hasPlainText(Matcher<? super String>) - Static method in class org.jvnet.hudson.test.JenkinsMatchers
-
Returns a Matcher for the plain text value of a Secret.
- hasReflexiveEquals() - Static method in class org.jvnet.hudson.test.JenkinsMatchers
- hasSymmetricEquals(Object) - Static method in class org.jvnet.hudson.test.JenkinsMatchers
- hasTransitiveEquals(Object, Object) - Static method in class org.jvnet.hudson.test.JenkinsMatchers
- header(String, String) - Method in class org.jvnet.hudson.test.RealJenkinsRule.SyntheticPlugin
-
Add an extra plugin manifest header.
- home - Variable in class org.jvnet.hudson.test.RestartableJenkinsRule
-
JENKINS_HOME
- homeLoader - Variable in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- homeLoader - Variable in class org.jvnet.hudson.test.JenkinsRule
- HtmlElementUtil - Class in org.htmlunit.html
-
HtmlElement
helper methods. - HtmlElementUtil() - Constructor for class org.htmlunit.html.HtmlElementUtil
- HtmlFormUtil - Class in org.htmlunit.html
-
HtmlForm
helper functions. - https() - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Sets up HTTPS for the current instance, and disables plain HTTP.
- https(String, KeyStoreManager, X509Certificate) - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Sets up HTTPS for the current instance, and disables plain HTTP.
- hudson - Variable in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Points to the same object as
HudsonTestCase.jenkins
does. - hudson - Variable in class org.jvnet.hudson.test.JenkinsRule
-
Deprecated.
- hudson.cli - package hudson.cli
- hudson.model.utils - package hudson.model.utils
- hudson.security.pages - package hudson.security.pages
- hudson.slaves - package hudson.slaves
- hudson.util - package hudson.util
- HudsonHomeLoader - Interface in org.jvnet.hudson.test
-
Controls how a
HudsonTestCase
initializesJENKINS_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.Local - Class in org.jvnet.hudson.test
-
Allocates a new directory by copying from a test resource
- 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
-
Deprecated.New code should use
JenkinsRule
. - HudsonTestCase() - Constructor for class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- HudsonTestCase(String) - Constructor for class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- HudsonTestCase.BreakException - Exception in org.jvnet.hudson.test
-
Deprecated.
- HudsonTestCase.TestBuildWrapper - Class in org.jvnet.hudson.test
-
Deprecated.
- HudsonTestCase.TestBuildWrapper.TestBuildWrapperDescriptor - Class in org.jvnet.hudson.test
-
Deprecated.
- HudsonTestCase.WebClient - Class in org.jvnet.hudson.test
-
Deprecated.Extends
WebClient
and provide convenience methods for accessing Hudson.
I
- InboundAgentRule - Class in org.jvnet.hudson.test
-
Manages inbound agents.
- InboundAgentRule() - Constructor for class org.jvnet.hudson.test.InboundAgentRule
- InboundAgentRule.AgentArguments - Record Class in org.jvnet.hudson.test
- InboundAgentRule.Options - Class in org.jvnet.hudson.test
-
The options used to (re)start an inbound agent.
- InboundAgentRule.Options.Builder - Class in org.jvnet.hudson.test
-
A builder of
InboundAgentRule.Options
. - includeTestClasspathPlugins(boolean) - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
The intended use case for this is to use the plugins bundled into the war
RealJenkinsRule.withWar(File)
instead of the plugins in the pom. - increasedMemory(Callable<Void>, Filter...) - Static method in class org.jvnet.hudson.test.MemoryAssert
-
Counts how much more memory is held in Jenkins by doing some operation.
- installDetachedPlugin(String) - Method in class org.jvnet.hudson.test.UnitTestSupportingPluginManager
-
Dynamically load a detached plugin that would not otherwise get loaded.
- INSTANCE - Static variable in class org.jvnet.hudson.test.HudsonPageCreator
- INSTANCE - Static variable in class org.jvnet.hudson.test.TestPluginManager
- instanceCount - Variable in class org.jvnet.hudson.test.MemoryAssert.HistogramElement
- interactiveBreak() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Blocks until the ENTER key is hit.
- interactiveBreak() - Method in class org.jvnet.hudson.test.JenkinsRule
-
Blocks until the ENTER key is hit.
- invoke() - Method in class hudson.cli.CLICommandInvoker
- invokeWithArgs(String...) - Method in class hudson.cli.CLICommandInvoker
- IOExceptionPublisher - Class in hudson.model.utils
-
Publisher that throw IOException
- IOExceptionPublisher() - Constructor for class hudson.model.utils.IOExceptionPublisher
- IOExceptionPublisher.DescriptorImpl - Class in hudson.model.utils
- isActive(AnnotatedElement) - Method in class org.jvnet.hudson.test.TestExtensionLoader
- isAlive() - Method in class org.jvnet.hudson.test.FakeLauncher.FinishedProc
- isAlive() - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Returns true if the Jenkins process is alive.
- isAlive(String) - Method in class org.jvnet.hudson.test.InboundAgentRule
-
Checks whether an existing inbound agent process is currently running.
- isApplicable(AbstractProject<?, ?>) - Method in class org.jvnet.hudson.test.HudsonTestCase.TestBuildWrapper.TestBuildWrapperDescriptor
-
Deprecated.
- isApplicable(AbstractProject<?, ?>) - Method in class org.jvnet.hudson.test.JenkinsRule.TestBuildWrapper.TestBuildWrapperDescriptor
- isApplicable(Class<? extends AbstractProject>) - Method in class hudson.model.utils.AbortExceptionPublisher.DescriptorImpl
- isApplicable(Class<? extends AbstractProject>) - Method in class hudson.model.utils.IOExceptionPublisher.DescriptorImpl
- isApplicable(Class<? extends AbstractProject>) - Method in class hudson.model.utils.ResultWriterPublisher.DescriptorImpl
- isApplicable(Class<? extends AbstractProject>) - Method in class hudson.model.utils.TrueFalsePublisher.DescriptorImpl
- isClassWithOnlyPrivateConstructors() - Static method in class org.jvnet.hudson.test.JenkinsMatchers
-
A matcher which checks that the class has only private constructors.
- isEmptySet() - Method in class org.jvnet.hudson.test.ExtractChangeLogSet
- isEmptySet() - Method in class org.jvnet.hudson.test.FakeChangeLogSCM.FakeChangeLogSet
- isFinalClass() - Static method in class org.jvnet.hudson.test.JenkinsMatchers
-
A matcher which checks that the class is final.
- isGoodHttpStatus(int) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Determines whether the specified HTTP status code is generally "good"
- isGoodHttpStatus(int) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Determines whether the specified HTTP status code is generally "good"
- isJavaIdentifier(String) - Static method in class org.jvnet.hudson.test.HudsonHomeLoader.Local
- isJavaScriptEnabled() - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Returns
true
if JavaScript is enabled and the script engine was loaded successfully. - isLowOnThreads() - Method in class org.jvnet.hudson.test.ThreadPoolImpl
- isNameEditable() - Method in class org.jvnet.hudson.test.MockFolder
- isOptional(TestExtension) - Method in class org.jvnet.hudson.test.TestExtensionLoader
- isRedirectEnabled() - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Returns whether or not redirections will be followed automatically on receipt of a redirect status code from the server.
- isSecret() - Method in class org.jvnet.hudson.test.InboundAgentRule.Options
-
Deprecated.secret is used by default when using newer versions of Remoting
- isSomethingHappening() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Returns true if Hudson is building something or going to build something.
- isSomethingHappening() - Method in class org.jvnet.hudson.test.JenkinsRule
-
Returns true if Hudson is building something or going to build something.
- isStart() - Method in class org.jvnet.hudson.test.InboundAgentRule.Options
- issueCrumb(ServletRequest, String) - Method in class org.jvnet.hudson.test.TestCrumbIssuer
- isThrowExceptionOnFailingStatusCode() - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Returns true if an exception will be thrown in the event of a failing response code.
- isUtilityClass() - Static method in class org.jvnet.hudson.test.JenkinsMatchers
-
A matcher which checks that the class is a Utility class (i.e.
- isWebSocket() - Method in class org.jvnet.hudson.test.InboundAgentRule.Options
- iterator() - Method in class org.jvnet.hudson.test.ExtractChangeLogSet
- iterator() - Method in class org.jvnet.hudson.test.FakeChangeLogSCM.FakeChangeLogSet
J
- j - Variable in class org.jvnet.hudson.test.RestartableJenkinsRule
- JavaNetReverseProxy2 - Class in org.jvnet.hudson.test
-
Acts as a reverse proxy, so that during a test we can avoid hitting updates.jenkins.io.
- JavaNetReverseProxy2(File) - Constructor for class org.jvnet.hudson.test.JavaNetReverseProxy2
- javaOptions(String...) - Method in class org.jvnet.hudson.test.InboundAgentRule.Options.Builder
- javaOptions(String...) - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Add some JVM startup options.
- 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
- jenkins - Variable in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- jenkins - Variable in class org.jvnet.hudson.test.JenkinsRule
- JENKINS_WAR_PATH_PROPERTY_NAME - Static variable in class org.jvnet.hudson.test.WarExploder
- jenkins.benchmark.jmh - package jenkins.benchmark.jmh
- jenkins.model - package jenkins.model
- jenkins.test.https - package jenkins.test.https
- JenkinsAdaptor - Class in jenkins.model
-
Access the package protected quiet period
- JenkinsAdaptor() - Constructor for class jenkins.model.JenkinsAdaptor
- JenkinsComputerConnectorTester - Class in org.jvnet.hudson.test
-
Test bed to verify the configuration roundtripness of the
ComputerConnector
. - JenkinsComputerConnectorTester(JenkinsRule) - Constructor for class org.jvnet.hudson.test.JenkinsComputerConnectorTester
- JenkinsComputerConnectorTester.DescriptorImpl - Class in org.jvnet.hudson.test
- JenkinsMatchers - Class in org.jvnet.hudson.test
-
Some handy matchers.
- JenkinsMatchers() - Constructor for class org.jvnet.hudson.test.JenkinsMatchers
- jenkinsOptions(String...) - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Add some Jenkins (including Winstone) startup options.
- JenkinsRecipe - Annotation Interface in org.jvnet.hudson.test
-
Meta-annotation for recipe annotations, which controls the test environment set up.
- JenkinsRecipe.Runner<T extends Annotation> - Class in org.jvnet.hudson.test
-
The code that implements the recipe semantics.
- jenkinsRule - Variable in class org.jvnet.hudson.test.JenkinsComputerConnectorTester
- JenkinsRule - Class in org.jvnet.hudson.test
-
JUnit rule to allow test cases to fire up a Jenkins instance.
- JenkinsRule() - Constructor for class org.jvnet.hudson.test.JenkinsRule
- JenkinsRule.BreakException - Exception in org.jvnet.hudson.test
- JenkinsRule.DummySecurityRealm - Class in org.jvnet.hudson.test
- JenkinsRule.JSONWebResponse - Class in org.jvnet.hudson.test
-
Convenience wrapper for JSON responses.
- JenkinsRule.TestBuildWrapper - Class in org.jvnet.hudson.test
- JenkinsRule.TestBuildWrapper.TestBuildWrapperDescriptor - Class in org.jvnet.hudson.test
- JenkinsRule.WebClient - Class in org.jvnet.hudson.test
-
Extends
WebClient
and provide convenience methods for accessing Hudson. - JenkinsSessionRule - Class in org.jvnet.hudson.test
-
Simpler alternative to
RestartableJenkinsRule
. - JenkinsSessionRule() - Constructor for class org.jvnet.hudson.test.JenkinsSessionRule
- JenkinsSessionRule.Step - Interface in org.jvnet.hudson.test
-
One step to run, intended to be a SAM for lambdas with
JenkinsSessionRule.then(org.jvnet.hudson.test.JenkinsSessionRule.Step)
. - JenkinsStartupException(String) - Constructor for exception org.jvnet.hudson.test.RealJenkinsRule.JenkinsStartupException
- JmhBenchmark - Annotation Interface in jenkins.benchmark.jmh
-
Annotate your benchmark classes with this annotation to allow them to be discovered by
BenchmarkFinder
- JmhBenchmarkState - Class in jenkins.benchmark.jmh
-
Standard benchmark
State
for JMH when a Jenkins instance is required. - JmhBenchmarkState() - Constructor for class jenkins.benchmark.jmh.JmhBenchmarkState
- join() - Method in class org.jvnet.hudson.test.FakeLauncher.FinishedProc
- join() - Method in class org.jvnet.hudson.test.ThreadPoolImpl
- jsDebugger - Variable in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.JavaScript "debugger" that provides you information about the JavaScript call stack and the current values of the local variables in those stack frame.
- jsDebugger - Variable in class org.jvnet.hudson.test.JenkinsRule
-
JavaScript "debugger" that provides you information about the JavaScript call stack and the current values of the local variables in those stack frame.
- JSONWebResponse(WebResponse) - Constructor for class org.jvnet.hudson.test.JenkinsRule.JSONWebResponse
K
- KeyStoreManager - Class in jenkins.test.https
-
Manages a Java keystore file.
- KeyStoreManager(Path) - Constructor for class jenkins.test.https.KeyStoreManager
-
Creates a new instance using the default keystore type.
- KeyStoreManager(Path, String) - Constructor for class jenkins.test.https.KeyStoreManager
-
Creates a new instance using the default keystore type.
- KeyStoreManager(Path, String, String) - Constructor for class jenkins.test.https.KeyStoreManager
-
Creates a new instance using the specified keystore type.
- kill() - Method in class org.jvnet.hudson.test.FakeLauncher.FinishedProc
L
- label - Variable in class hudson.slaves.DummyCloudImpl
-
Only reacts to provisioning for this label.
- label(String) - Method in class org.jvnet.hudson.test.InboundAgentRule.Options.Builder
-
Set a label for the agent.
- last(List<T>) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Returns the last item in the list.
- last(List<T>) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Returns the last item in the list.
- launch(SlaveComputer, TaskListener) - Method in class org.jvnet.hudson.test.SimpleCommandLauncher
- LenientRunnable - Interface in org.jvnet.hudson.test
-
Like
Runnable
but can throw any exception. - Listener() - Constructor for class org.jvnet.hudson.test.BuildWatcher.Listener
- loadBundledPlugins() - Method in class org.jvnet.hudson.test.UnitTestSupportingPluginManager
- loadGroupByGroupname(String) - Method in class org.jvnet.hudson.test.JenkinsRule.DummySecurityRealm
- loadScriptError(HtmlPage, URL, Exception) - Method in class org.htmlunit.WebClientUtil.ExceptionListener
- loadUserByUsername2(String) - Method in class org.jvnet.hudson.test.JenkinsRule.DummySecurityRealm
- loadWebResponse(WebRequest) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
- Local(Method, String) - Constructor for class org.jvnet.hudson.test.HudsonHomeLoader.Local
- LocalData - Annotation Interface in org.jvnet.hudson.test.recipes
-
Runs a test case with a data set local to test method or the test class.
- LocalData.RuleRunnerImpl - Class in org.jvnet.hudson.test.recipes
- LocalData.RunnerImpl - Class in org.jvnet.hudson.test.recipes
- localPort - Variable in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.TCP/IP port that the server is listening on.
- localPort - Variable in class org.jvnet.hudson.test.JavaNetReverseProxy2
- localPort - Variable in class org.jvnet.hudson.test.JenkinsRule
-
TCP/IP port that the server is listening on.
- LoggerRule - Class in org.jvnet.hudson.test
-
A test rule which allows you to easily enable one or more loggers for the duration of a test.
- LoggerRule() - Constructor for class org.jvnet.hudson.test.LoggerRule
-
Initializes the rule, by default not recording anything.
- login(String) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
-
Deprecated.Logs in to Hudson, by using the user name as the password.
- login(String) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Logs in to Hudson, by using the user name as the password.
- login(String, String) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
-
Deprecated.Logs in to Jenkins.
- login(String, String) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Logs in to Jenkins.
- login(String, String, boolean) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Logs in to Jenkins.
M
- MAGENTA - Enum constant in enum class org.jvnet.hudson.test.PrefixedOutputStream.Color
- main(String[]) - Static method in class hudson.util.EchoCommand
- malformedScriptURL(HtmlPage, String, MalformedURLException) - Method in class org.htmlunit.WebClientUtil.ExceptionListener
- Marker() - Constructor for class org.jvnet.hudson.test.RunLoadCounter.Marker
- MarkerAdder() - Constructor for class org.jvnet.hudson.test.RunLoadCounter.MarkerAdder
- matchesPattern(String) - Static method in class org.jvnet.hudson.test.JenkinsMatchers
-
Returns a Matcher that matches against the given pattern using
Matcher.find()
. - MemoryAssert - Class in org.jvnet.hudson.test
-
Static utility methods for verifying heap memory usage.
- MemoryAssert.HistogramElement - Class in org.jvnet.hudson.test
- MockAuthorizationStrategy - Class in org.jvnet.hudson.test
-
An authorization strategy configured in a fluent style from test code.
- MockAuthorizationStrategy() - Constructor for class org.jvnet.hudson.test.MockAuthorizationStrategy
-
Creates a new strategy granting no permissions.
- MockAuthorizationStrategy.Grant - Class in org.jvnet.hudson.test
-
A grant of a set of permissions.
- MockAuthorizationStrategy.Grant.GrantOn - Class in org.jvnet.hudson.test
-
A grant of some permissions in certain places.
- 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
- MockFolder - Class in org.jvnet.hudson.test
-
Minimal implementation of a modifiable item group akin to the CloudBees Folders plugin.
- MockFolder(ItemGroup, String) - Constructor for class org.jvnet.hudson.test.MockFolder
- MockFolder.DescriptorImpl - Class in org.jvnet.hudson.test
- MockQueueItemAuthenticator - Class in org.jvnet.hudson.test
-
Allows testing of anything related to
QueueItemAuthenticator
. - MockQueueItemAuthenticator() - Constructor for class org.jvnet.hudson.test.MockQueueItemAuthenticator
-
Creates a new authenticator.
- MockQueueItemAuthenticator(Map<String, Authentication>) - Constructor for class org.jvnet.hudson.test.MockQueueItemAuthenticator
- MockQueueItemAuthenticator.DescriptorImpl - Class in org.jvnet.hudson.test
N
- name(String) - Method in class org.jvnet.hudson.test.InboundAgentRule.Options.Builder
-
Set the name of the agent.
- NEW - Static variable in interface org.jvnet.hudson.test.HudsonHomeLoader
-
Allocates a new empty directory, meaning this will emulate the fresh Hudson installation.
- newBuilder() - Static method in class org.jvnet.hudson.test.InboundAgentRule.Options
- newHudson() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Creates a new instance of
Jenkins
. - newHudson() - Method in class org.jvnet.hudson.test.JenkinsRule
-
Creates a new instance of
Jenkins
. - newInstance(ItemGroup, String) - Method in class org.jvnet.hudson.test.MockFolder.DescriptorImpl
- newInstance(ItemGroup, String) - Method in class org.jvnet.hudson.test.SecuredMockFolder.DescriptorImpl
-
Deprecated.
- newInstance(StaplerRequest2, JSONObject) - Method in class org.jvnet.hudson.test.CaptureEnvironmentBuilder.DescriptorImpl
- newInstance(StaplerRequest2, JSONObject) - Method in class org.jvnet.hudson.test.CreateFileBuilder.DescriptorImpl
- newInstance(StaplerRequest2, JSONObject) - Method in class org.jvnet.hudson.test.FailureBuilder.DescriptorImpl
- newInstance(StaplerRequest2, JSONObject) - Method in class org.jvnet.hudson.test.HudsonTestCase.TestBuildWrapper.TestBuildWrapperDescriptor
-
Deprecated.
- newInstance(StaplerRequest2, JSONObject) - Method in class org.jvnet.hudson.test.JenkinsRule.TestBuildWrapper.TestBuildWrapperDescriptor
- newInstance(StaplerRequest2, JSONObject) - Method in class org.jvnet.hudson.test.MockBuilder.DescriptorImpl
- newInstance(StaplerRequest2, JSONObject) - Method in class org.jvnet.hudson.test.TestCrumbIssuer.DescriptorImpl
- newInstance(StaplerRequest2, JSONObject) - Method in class org.jvnet.hudson.test.UnstableBuilder.DescriptorImpl
- newInstance(StaplerRequest2, JSONObject) - Method in class org.jvnet.hudson.test.WorkspaceCopyFileBuilder.DescriptorImpl
- NO_ANONYMOUS_READACCESS - Enum constant in enum class org.jvnet.hudson.test.recipes.PresetData.DataSet
-
Deprecated.Secured Hudson that has no anonymous read access.
- NO_PROPERTIES - Static variable in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- NO_PROPERTIES - Static variable in class org.jvnet.hudson.test.JenkinsRule
- NodeProvisionerRule - Class in hudson.slaves
-
Deprecated.use
RealJenkinsRule
- NodeProvisionerRule(int, int, int) - Constructor for class hudson.slaves.NodeProvisionerRule
-
Deprecated.
- NoListenerConfiguration2 - Class in org.jvnet.hudson.test
-
Kills off the
WebAppMain
ServletContextListener
. - NoListenerConfiguration2(WebAppContext) - Constructor for class org.jvnet.hudson.test.NoListenerConfiguration2
- numberOfNodes() - Method in record class org.jvnet.hudson.test.InboundAgentRule.AgentArguments
-
Returns the value of the
numberOfNodes
record component. - numLaunch - Variable in class org.jvnet.hudson.test.PretendSlave
-
Number of processed that are launched.
- numProvisioned - Variable in class hudson.slaves.DummyCloudImpl
O
- omitPlugins(String...) - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Omit some plugins in the test classpath.
- onAttached(Run) - Method in class org.jvnet.hudson.test.RunLoadCounter.Marker
- onCopiedFrom(Item) - Method in class org.jvnet.hudson.test.MockFolder
- onDebuggerStatement(Context) - Method in class org.jvnet.hudson.test.rhino.CallStackFrame
- onDeleted(TopLevelItem) - Method in class org.jvnet.hudson.test.MockFolder
- 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
- onFinalized(Run<?, ?>) - Method in class org.jvnet.hudson.test.BuildWatcher.Listener
- onFolders(ItemGroup<?>...) - Method in class org.jvnet.hudson.test.MockAuthorizationStrategy.Grant
-
On some item groups, typically folders.
- onItems(Item...) - Method in class org.jvnet.hudson.test.MockAuthorizationStrategy.Grant
-
On some items such as jobs.
- onLaunch(Launcher.ProcStarter) - Method in interface org.jvnet.hudson.test.FakeLauncher
-
Called whenever a
PretendSlave
is asked to fork a new process. - onLineChange(Context, int) - Method in class org.jvnet.hudson.test.rhino.CallStackFrame
- onLoad(ItemGroup<? extends Item>, String) - Method in class org.jvnet.hudson.test.MockFolder
- onLoad(Run<?, ?>) - Method in class org.jvnet.hudson.test.RunLoadCounter.Marker
- onLoadWebResponse(WebRequest, WebResponse) - Method in interface org.htmlunit.WebResponseListener
- onLoadWebResponse(WebRequest, WebResponse) - Method in class org.htmlunit.WebResponseListener.StatusListener
- onOnline(Computer, TaskListener) - Method in class org.jvnet.hudson.test.ChannelShutdownListener
- onPaths(String...) - Method in class org.jvnet.hudson.test.MockAuthorizationStrategy.Grant
-
On some item path expressions.
- onRenamed(TopLevelItem, String, String) - Method in class org.jvnet.hudson.test.MockFolder
- onRoot() - Method in class org.jvnet.hudson.test.MockAuthorizationStrategy.Grant
-
On
Jenkins
itself, but not any child objects. - onStarted(Run<?, ?>, TaskListener) - Method in class org.jvnet.hudson.test.BuildWatcher.Listener
- onTearDown() - Method in class org.jvnet.hudson.test.ChannelShutdownListener
- onTearDown() - Method in interface org.jvnet.hudson.test.EndOfTestListener
-
Called for clean up.
- onTearDown() - Method in class org.jvnet.hudson.test.RemainingActivityListener
- onViewRenamed(View, String, String) - Method in class org.jvnet.hudson.test.MockFolder
- Options() - Constructor for class org.jvnet.hudson.test.InboundAgentRule.Options
- org.htmlunit - package org.htmlunit
- org.htmlunit.html - package org.htmlunit.html
- org.jvnet.hudson.test - package org.jvnet.hudson.test
-
Test harness for Jenkins and its plugins.
- org.jvnet.hudson.test.junit - package org.jvnet.hudson.test.junit
- org.jvnet.hudson.test.junit.jupiter - package org.jvnet.hudson.test.junit.jupiter
- 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.
- OtherTests(String, Map<String, ?>) - Constructor for class org.jvnet.hudson.test.PluginAutomaticTestBuilder.OtherTests
- 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
- parse(Run, RepositoryBrowser<?>, File) - Method in class org.jvnet.hudson.test.FakeChangeLogSCM.FakeChangeLogParser
- pause() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Pauses the execution until ENTER is hit in the console.
- pause() - Method in class org.jvnet.hudson.test.JenkinsRule
-
Pauses the execution until ENTER is hit in the console.
- perform(AbstractBuild<?, ?>, Launcher, BuildListener) - Method in class hudson.model.utils.AbortExceptionPublisher
- perform(AbstractBuild<?, ?>, Launcher, BuildListener) - Method in class hudson.model.utils.IOExceptionPublisher
- perform(AbstractBuild<?, ?>, Launcher, BuildListener) - Method in class hudson.model.utils.ResultWriterPublisher
- perform(AbstractBuild<?, ?>, Launcher, BuildListener) - Method in class hudson.model.utils.TrueFalsePublisher
- perform(AbstractBuild<?, ?>, Launcher, BuildListener) - Method in class jenkins.model.WorkspaceWriter
- perform(AbstractBuild<?, ?>, Launcher, BuildListener) - Method in class org.jvnet.hudson.test.CaptureEnvironmentBuilder
- perform(AbstractBuild<?, ?>, Launcher, BuildListener) - Method in class org.jvnet.hudson.test.CreateFileBuilder
- 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.TouchBuilder
- perform(AbstractBuild<?, ?>, Launcher, BuildListener) - Method in class org.jvnet.hudson.test.WorkspaceCopyFileBuilder
- phase(int) - Method in class org.jvnet.hudson.test.SequenceLock
-
Blocks until all the previous phases are completed, and returns when the specified phase i is started.
- pin() - Method in class org.jvnet.hudson.test.TestEnvironment
- 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
-
InjectedTest
mistakenly callsPluginAutomaticTestBuilder.build(java.util.Map<java.lang.String, ?>)
as an instance method, and uses this constructor. - PluginAutomaticTestBuilder.OtherTests - Class in org.jvnet.hudson.test
- postJSON(String, Object) - Method in class org.jvnet.hudson.test.JenkinsRule
-
POST a JSON payload to a URL on the underlying Jenkins instance using the crumb.
- postJSON(String, JSON) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
POST JSON content to a Jenkins relative endpoint.
- PrefixedOutputStream - Class in org.jvnet.hudson.test
-
Decorating
OutputStream
which prefixes lines of text with an identifier and optional color. - PrefixedOutputStream.AnsiColor - Interface in org.jvnet.hudson.test
- PrefixedOutputStream.Builder - Class in org.jvnet.hudson.test
- PrefixedOutputStream.Color - Enum Class in org.jvnet.hudson.test
- prepare(LazyBuildMixIn.LazyLoadingJob<?, ?>) - Static method in class org.jvnet.hudson.test.RunLoadCounter
-
Deprecated.No longer needed.
- prepareHomeLazily(boolean) - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Allows
JENKINS_HOME
initialization to be delayed untilRealJenkinsRule.startJenkins()
is called for the first time. - PresetData - Annotation Interface in org.jvnet.hudson.test.recipes
-
Deprecated.Authentication modes are better defined in code using
JenkinsRule.createDummySecurityRealm()
andMockAuthorizationStrategy
. - PresetData.DataSet - Enum Class in org.jvnet.hudson.test.recipes
-
Deprecated.
- PresetData.RuleRunnerImpl - Class in org.jvnet.hudson.test.recipes
-
Deprecated.
- PresetData.RunnerImpl - Class in org.jvnet.hudson.test.recipes
-
Deprecated.
- PretendSlave - Class in org.jvnet.hudson.test
-
Slave that pretends to fork processes.
- PretendSlave(String, String, int, Node.Mode, String, ComputerLauncher, FakeLauncher) - Constructor for class org.jvnet.hudson.test.PretendSlave
- PretendSlave(String, String, String, ComputerLauncher, FakeLauncher) - Constructor for class org.jvnet.hudson.test.PretendSlave
- PretendSlave.DescriptorImpl - Class in org.jvnet.hudson.test
- privateConstructorThrows(Class<? extends Throwable>) - Static method in class org.jvnet.hudson.test.JenkinsMatchers
- PropertiesTestSuite - Class in org.jvnet.hudson.test
-
Checks things about
*.properties
. - PropertiesTestSuite(File) - Constructor for class org.jvnet.hudson.test.PropertiesTestSuite
- provision(Label, int) - Method in class hudson.slaves.DummyCloudImpl
- putJSON(String, JSON) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Send JSON content to a Jenkins relative endpoint.
Q
- QueryUtils - Class in org.jvnet.hudson.test
- quiet() - Method in class org.jvnet.hudson.test.LoggerRule
-
Don't emit logs to the console, only record.
R
- RandomlyFails - Annotation Interface in org.jvnet.hudson.test
-
Deprecated.Using a 2.x parent POM, Surefire will be configured to retry failing tests automatically. If the test fails consistently,
Ignore
it. - RealJenkinsRule - Class in org.jvnet.hudson.test
-
Like
JenkinsSessionRule
but running Jenkins in a more realistic environment. - RealJenkinsRule() - Constructor for class org.jvnet.hudson.test.RealJenkinsRule
- RealJenkinsRule(RealJenkinsRule) - Constructor for class org.jvnet.hudson.test.RealJenkinsRule
-
Links this rule to another, with
RealJenkinsRule.getHome()
to be initialized by whichever copy starts first. - RealJenkinsRule.CustomJenkinsRule - Class in org.jvnet.hudson.test
- RealJenkinsRule.Endpoint - Class in org.jvnet.hudson.test
- RealJenkinsRule.Init2 - Class in org.jvnet.hudson.test
- RealJenkinsRule.JenkinsStartupException - Exception in org.jvnet.hudson.test
- RealJenkinsRule.ProxyException - Exception in org.jvnet.hudson.test
- RealJenkinsRule.Step - Interface in org.jvnet.hudson.test
-
One step to run.
- RealJenkinsRule.Step2<T extends Serializable> - Interface in org.jvnet.hudson.test
- RealJenkinsRule.StepException - Exception in org.jvnet.hudson.test
- RealJenkinsRule.StepWithFourArgs<A1 extends Serializable,
A2 extends Serializable, A3 extends Serializable, A4 extends Serializable> - Interface in org.jvnet.hudson.test - RealJenkinsRule.StepWithOneArg<A1 extends Serializable> - Interface in org.jvnet.hudson.test
- RealJenkinsRule.StepWithReturnAndFourArgs<R extends Serializable,
A1 extends Serializable, A2 extends Serializable, A3 extends Serializable, A4 extends Serializable> - Interface in org.jvnet.hudson.test - RealJenkinsRule.StepWithReturnAndOneArg<R extends Serializable,
A1 extends Serializable> - Interface in org.jvnet.hudson.test - RealJenkinsRule.StepWithReturnAndThreeArgs<R extends Serializable,
A1 extends Serializable, A2 extends Serializable, A3 extends Serializable> - Interface in org.jvnet.hudson.test - RealJenkinsRule.StepWithReturnAndTwoArgs<R extends Serializable,
A1 extends Serializable, A2 extends Serializable> - Interface in org.jvnet.hudson.test - RealJenkinsRule.StepWithThreeArgs<A1 extends Serializable,
A2 extends Serializable, A3 extends Serializable> - Interface in org.jvnet.hudson.test - RealJenkinsRule.StepWithTwoArgs<A1 extends Serializable,
A2 extends Serializable> - Interface in org.jvnet.hudson.test - RealJenkinsRule.SyntheticPlugin - Class in org.jvnet.hudson.test
-
Alternative to
RealJenkinsRule.addPlugins(java.lang.String...)
orTestExtension
that lets you build a test-only plugin on the fly. - RealJenkinsRuleInit - Class in org.jvnet.hudson.test
-
Plugin for use internally only by
RealJenkinsRule
, do not use this from plugin test code! - RealJenkinsRuleInit() - Constructor for class org.jvnet.hudson.test.RealJenkinsRuleInit
- recipe() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Called during the
HudsonTestCase.setUp()
to give a test case an opportunity to control the test environment in which Hudson is run. - recipe() - Method in class org.jvnet.hudson.test.JenkinsRule
-
Called during the
JenkinsRule.before()
to give a test case an opportunity to control the test environment in which Hudson is run. - Recipe - Annotation Interface in org.jvnet.hudson.test.recipes
-
Meta-annotation for recipe annotations, which controls the test environment set up.
- Recipe.Runner<T extends Annotation> - Class in org.jvnet.hudson.test.recipes
-
The code that implements the recipe semantics.
- recipeLoadCurrentPlugin() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.If this test harness is launched for a Jenkins plugin, locate the
target/test-classes/the.jpl
and add a recipe to install that to the new Jenkins. - recipeLoadCurrentPlugin() - Method in class org.jvnet.hudson.test.JenkinsRule
-
If this test harness is launched for a Jenkins plugin, locate the
target/test-classes/the.jpl
and add a recipe to install that to the new Jenkins. - recipes - Variable in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- recipes - Variable in class org.jvnet.hudson.test.JenkinsRule
- record(Class<?>, Level) - Method in class org.jvnet.hudson.test.LoggerRule
-
Same as
LoggerRule.record(String, Level)
but callsClass.getName()
for you first. - record(String, Level) - Method in class org.jvnet.hudson.test.LoggerRule
-
Same as
LoggerRule.record(Logger, Level)
but callsLogger.getLogger(String)
for you first. - record(Logger, Level) - Method in class org.jvnet.hudson.test.LoggerRule
-
Start listening to a logger.
- recorded(Level, Matcher<String>) - Static method in class org.jvnet.hudson.test.LoggerRule
-
Creates a
Matcher
that matches if theLoggerRule
has aLogRecord
at the specifiedLevel
and with a message matching the specified matcher. - recorded(Level, Matcher<String>, Matcher<Throwable>) - Static method in class org.jvnet.hudson.test.LoggerRule
-
Creates a
Matcher
that matches if theLoggerRule
has aLogRecord
at the specifiedLevel
, with a message matching the specified matcher, and with aThrowable
matching the specified matcher. - recorded(Matcher<String>) - Static method in class org.jvnet.hudson.test.LoggerRule
-
Creates a
Matcher
that matches if theLoggerRule
has aLogRecord
with a message matching the specified matcher. - recorded(Matcher<String>, Matcher<Throwable>) - Static method in class org.jvnet.hudson.test.LoggerRule
-
Creates a
Matcher
that matches if theLoggerRule
has aLogRecord
with a message matching the specified matcher and with aThrowable
matching the specified matcher. - recordPackage(Class<?>, Level) - Method in class org.jvnet.hudson.test.LoggerRule
-
Same as
LoggerRule.record(String, Level)
but callsClass.getPackage()
and getName() for you first. - RED - Enum constant in enum class org.jvnet.hudson.test.PrefixedOutputStream.Color
- register() - Static method in class org.jvnet.hudson.test.RealJenkinsRule.Endpoint
- RemainingActivityListener - Class in org.jvnet.hudson.test
-
Checks for any ongoing activity (queue, builds) that might interfere with
TemporaryDirectoryAllocator.dispose()
. - RemainingActivityListener() - Constructor for class org.jvnet.hudson.test.RemainingActivityListener
- remove(TopLevelItem) - Method in class org.jvnet.hudson.test.MockFolder
- renameTo(String) - Method in class org.jvnet.hudson.test.MockFolder
- RestartableJenkinsRule - Class in org.jvnet.hudson.test
-
Provides a pattern for executing a sequence of steps.
- RestartableJenkinsRule() - Constructor for class org.jvnet.hudson.test.RestartableJenkinsRule
- RestartableJenkinsRule.Builder - Class in org.jvnet.hudson.test
- RestartableJenkinsRule.Step - Interface in org.jvnet.hudson.test
-
One step to run, intended to be a SAM for lambdas with
RestartableJenkinsRule.then(org.jvnet.hudson.test.RestartableJenkinsRule.Step)
. - result - Variable in class org.jvnet.hudson.test.MockBuilder
- ResultWriterPublisher - Class in hudson.model.utils
-
Wrote build status to file
- ResultWriterPublisher(String) - Constructor for class hudson.model.utils.ResultWriterPublisher
- ResultWriterPublisher.DescriptorImpl - Class in hudson.model.utils
- returnCode() - Method in class hudson.cli.CLICommandInvoker.Result
- RuleRunnerImpl() - Constructor for class org.jvnet.hudson.test.recipes.LocalData.RuleRunnerImpl
- RuleRunnerImpl() - Constructor for class org.jvnet.hudson.test.recipes.PresetData.RuleRunnerImpl
-
Deprecated.
- RuleRunnerImpl() - Constructor for class org.jvnet.hudson.test.recipes.WithPlugin.RuleRunnerImpl
- RuleRunnerImpl() - Constructor for class org.jvnet.hudson.test.recipes.WithPluginManager.RuleRunnerImpl
- run() - Method in interface org.jvnet.hudson.test.LenientRunnable
- run(Object) - Static method in class org.jvnet.hudson.test.RealJenkinsRule.Init2
- run(TestResult) - Method in class org.jvnet.hudson.test.junit.GroupedTest
- run(JenkinsRule) - Method in interface org.jvnet.hudson.test.JenkinsSessionRule.Step
- run(JenkinsRule) - Method in interface org.jvnet.hudson.test.RealJenkinsRule.Step
- run(JenkinsRule) - Method in interface org.jvnet.hudson.test.RealJenkinsRule.Step2
- run(JenkinsRule) - Method in interface org.jvnet.hudson.test.RestartableJenkinsRule.Step
- run(JenkinsRule, A1) - Method in interface org.jvnet.hudson.test.RealJenkinsRule.StepWithOneArg
- run(JenkinsRule, A1) - Method in interface org.jvnet.hudson.test.RealJenkinsRule.StepWithReturnAndOneArg
- run(JenkinsRule, A1, A2) - Method in interface org.jvnet.hudson.test.RealJenkinsRule.StepWithReturnAndTwoArgs
- run(JenkinsRule, A1, A2) - Method in interface org.jvnet.hudson.test.RealJenkinsRule.StepWithTwoArgs
- run(JenkinsRule, A1, A2, A3) - Method in interface org.jvnet.hudson.test.RealJenkinsRule.StepWithReturnAndThreeArgs
- run(JenkinsRule, A1, A2, A3) - Method in interface org.jvnet.hudson.test.RealJenkinsRule.StepWithThreeArgs
- run(JenkinsRule, A1, A2, A3, A4) - Method in interface org.jvnet.hudson.test.RealJenkinsRule.StepWithFourArgs
- run(JenkinsRule, A1, A2, A3, A4) - Method in interface org.jvnet.hudson.test.RealJenkinsRule.StepWithReturnAndFourArgs
- runBare() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- runGroupedTests(TestResult) - Method in class org.jvnet.hudson.test.junit.GroupedTest
-
Executes the nested tests.
- RunLoadCounter - Class in org.jvnet.hudson.test
-
Utility to determine when a build record is loaded.
- RunLoadCounter.Marker - Class in org.jvnet.hudson.test
-
Used internally.
- RunLoadCounter.MarkerAdder - Class in org.jvnet.hudson.test
-
Used internally.
- Runner() - Constructor for class org.jvnet.hudson.test.JenkinsRecipe.Runner
- Runner() - Constructor for class org.jvnet.hudson.test.recipes.Recipe.Runner
- RunnerImpl() - Constructor for class org.jvnet.hudson.test.recipes.LocalData.RunnerImpl
- RunnerImpl() - Constructor for class org.jvnet.hudson.test.recipes.PresetData.RunnerImpl
-
Deprecated.
- RunnerImpl() - Constructor for class org.jvnet.hudson.test.recipes.WithPlugin.RunnerImpl
- RunnerImpl() - Constructor for class org.jvnet.hudson.test.recipes.WithPluginManager.RunnerImpl
- RunnerImpl() - Constructor for class org.jvnet.hudson.test.recipes.WithTimeout.RunnerImpl
-
Deprecated.
- RunnerImpl() - Constructor for class org.jvnet.hudson.test.WithoutJenkins.RunnerImpl
- runRemotely(RealJenkinsRule.Step...) - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Runs one or more steps on the remote system.
- runRemotely(RealJenkinsRule.Step2<T>) - Method in class org.jvnet.hudson.test.RealJenkinsRule
- runRemotely(RealJenkinsRule.StepWithFourArgs<A1, A2, A3, A4>, A1, A2, A3, A4) - Method in class org.jvnet.hudson.test.RealJenkinsRule
- runRemotely(RealJenkinsRule.StepWithOneArg<A1>, A1) - Method in class org.jvnet.hudson.test.RealJenkinsRule
- runRemotely(RealJenkinsRule.StepWithReturnAndFourArgs<R, A1, A2, A3, A4>, A1, A2, A3, A4) - Method in class org.jvnet.hudson.test.RealJenkinsRule
- runRemotely(RealJenkinsRule.StepWithReturnAndOneArg<R, A1>, A1) - Method in class org.jvnet.hudson.test.RealJenkinsRule
- runRemotely(RealJenkinsRule.StepWithReturnAndThreeArgs<R, A1, A2, A3>, A1, A2, A3) - Method in class org.jvnet.hudson.test.RealJenkinsRule
- runRemotely(RealJenkinsRule.StepWithReturnAndTwoArgs<R, A1, A2>, A1, A2) - Method in class org.jvnet.hudson.test.RealJenkinsRule
- runRemotely(RealJenkinsRule.StepWithThreeArgs<A1, A2, A3>, A1, A2, A3) - Method in class org.jvnet.hudson.test.RealJenkinsRule
- runRemotely(RealJenkinsRule.StepWithTwoArgs<A1, A2>, A1, A2) - Method in class org.jvnet.hudson.test.RealJenkinsRule
- runTest() - Method in class org.jvnet.hudson.test.DefaultConstructorChecker
- runTest() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- runTest() - Method in class org.jvnet.hudson.test.junit.FailedTest
S
- save() - Method in class jenkins.test.https.KeyStoreManager
-
Persists the current keystore to disk.
- saveToChangeLog(File, Charset, ExtractChangeLogParser.ExtractChangeLogEntry) - Method in class org.jvnet.hudson.test.ExtractResourceWithChangesSCM
- saveToChangeLog(File, ExtractChangeLogParser.ExtractChangeLogEntry) - Method in class org.jvnet.hudson.test.ExtractResourceWithChangesSCM
- scriptException(HtmlPage, ScriptException) - Method in class org.htmlunit.WebClientUtil.ExceptionListener
- search(String) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Performs a search from the search box.
- search(String) - Method in class org.jvnet.hudson.test.HudsonTestCase.WebClient
-
Deprecated.
- search(String) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Performs a search from the search box.
- search(String) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
- secret() - Method in record class org.jvnet.hudson.test.InboundAgentRule.AgentArguments
-
Returns the value of the
secret
record component. - secret() - Method in class org.jvnet.hudson.test.InboundAgentRule.Options.Builder
-
Deprecated.secret is used by default when using newer versions of Remoting
- SecretHelper - Class in hudson.util
- SecretHelper() - Constructor for class hudson.util.SecretHelper
- SECURED_ACEGI - Enum constant in enum class org.jvnet.hudson.test.recipes.PresetData.DataSet
-
Deprecated.
- SecuredMockFolder - Class in org.jvnet.hudson.test
-
Deprecated.Use
MockAuthorizationStrategy
plusMockFolder
instead. - SecuredMockFolder.DescriptorImpl - Class in org.jvnet.hudson.test
-
Deprecated.
- selectNodes(DomNode, String) - Static method in class org.htmlunit.html.DomNodeUtil
-
Evaluates an XPath expression from the specified node, returning the resultant nodes.
- selectSingleNode(DomNode, String) - Static method in class org.htmlunit.html.DomNodeUtil
-
Evaluates the specified XPath expression from this node, returning the first matching element, or
null
if no node matches the specified XPath expression. - SequenceLock - Class in org.jvnet.hudson.test
-
Lock mechanism to let multiple threads execute phases sequentially.
- SequenceLock() - Constructor for class org.jvnet.hudson.test.SequenceLock
- server - Variable in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- server - Variable in class org.jvnet.hudson.test.JenkinsRule
- service(HttpServletRequest, HttpServletResponse) - Method in class org.jvnet.hudson.test.JavaNetReverseProxy2
- set(String) - Static method in class hudson.util.SecretHelper
- setCertificateEntry(String, X509Certificate) - Method in class jenkins.test.https.KeyStoreManager
- setHome(File) - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Switch the Jenkins home directory.
- setJavaScriptEnabled(boolean) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Enables/disables JavaScript support.
- setKeyEntry(String, PrivateKey, Certificate[]) - Method in class jenkins.test.https.KeyStoreManager
- setParent(ChangeLogSet) - Method in class org.jvnet.hudson.test.ExtractChangeLogParser.ExtractChangeLogEntry
- setPermissions(String, Permission...) - Method in class org.jvnet.hudson.test.SecuredMockFolder
-
Deprecated.
- setPluginManager(PluginManager) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Sets the
PluginManager
to be used when creating a newJenkins
instance. - setPluginManager(PluginManager) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Sets the
PluginManager
to be used when creating a newJenkins
instance. - setQuietPeriod(int) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- setQuietPeriod(int) - Method in class org.jvnet.hudson.test.JenkinsRule
- setQuietPeriod(Jenkins, int) - Static method in class jenkins.model.JenkinsAdaptor
- setRedirectEnabled(boolean) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Sets whether or not redirections will be followed automatically on receipt of a redirect status code from the server.
- setThrowExceptionOnFailingStatusCode(boolean) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Changes the behavior of this webclient when a script error occurs.
- setup() - Method in class jenkins.benchmark.jmh.JmhBenchmarkState
-
Override to setup resources required for the benchmark.
- 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
-
Deprecated.
- setup(HudsonTestCase, WithPlugin) - Method in class org.jvnet.hudson.test.recipes.WithPlugin.RunnerImpl
- setup(HudsonTestCase, WithPluginManager) - Method in class org.jvnet.hudson.test.recipes.WithPluginManager.RunnerImpl
- setup(HudsonTestCase, WithTimeout) - Method in class org.jvnet.hudson.test.recipes.WithTimeout.RunnerImpl
-
Deprecated.
- setup(HudsonTestCase, T) - Method in class org.jvnet.hudson.test.recipes.Recipe.Runner
-
Called during
TestCase.setUp()
to prepare the test environment. - setup(JenkinsRule, LocalData) - Method in class org.jvnet.hudson.test.recipes.LocalData.RuleRunnerImpl
- setup(JenkinsRule, PresetData) - Method in class org.jvnet.hudson.test.recipes.PresetData.RuleRunnerImpl
-
Deprecated.
- setup(JenkinsRule, WithPlugin) - Method in class org.jvnet.hudson.test.recipes.WithPlugin.RuleRunnerImpl
- setup(JenkinsRule, WithPluginManager) - Method in class org.jvnet.hudson.test.recipes.WithPluginManager.RuleRunnerImpl
- setup(JenkinsRule, T) - Method in class org.jvnet.hudson.test.JenkinsRecipe.Runner
-
Called during
TestCase.setUp()
to prepare the test environment. - setUp() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- setUp() - Method in class org.jvnet.hudson.test.junit.GroupedTest
- setUp(AbstractBuild, Launcher, BuildListener) - Method in class org.jvnet.hudson.test.HudsonTestCase.TestBuildWrapper
-
Deprecated.
- setUp(AbstractBuild, Launcher, BuildListener) - Method in class org.jvnet.hudson.test.JenkinsRule.TestBuildWrapper
- setupJenkins() - Method in class jenkins.benchmark.jmh.JmhBenchmarkState
-
Sets up the temporary Jenkins instance for benchmarks.
- setUpTimeout() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- shortName(String) - Method in class org.jvnet.hudson.test.RealJenkinsRule.SyntheticPlugin
-
Plugin identifier (
Short-Name
manifest header). - showAgentLogs(Slave, Map<String, Level>) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Forward agent logs to standard error of the test process.
- showAgentLogs(Slave, LoggerRule) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Same as
JenkinsRule.showAgentLogs(Slave, Map)
but taking a preconfigured list of loggers as a convenience. - signupForm - Variable in class hudson.security.pages.SignupPage
- signupPage - Variable in class hudson.security.pages.SignupPage
- SignupPage - Class in hudson.security.pages
-
The signup page for
HudsonPrivateSecurityRealm
- SignupPage(HtmlPage) - Constructor for class hudson.security.pages.SignupPage
- SimpleCommandLauncher - Class in org.jvnet.hudson.test
-
Stripped-down clone of
CommandLauncher
. - SimpleCommandLauncher(String) - Constructor for class org.jvnet.hudson.test.SimpleCommandLauncher
- SimpleCommandLauncher.DescriptorImpl - Class in org.jvnet.hudson.test
- 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.
- skipStart() - Method in class org.jvnet.hudson.test.InboundAgentRule.Options.Builder
-
Skip starting the agent.
- SLAVE_DEBUG_PORT - Static variable in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Specify this to a TCP/IP port number to have slaves started with the debugger.
- SLAVE_DEBUG_PORT - Static variable in class org.jvnet.hudson.test.JenkinsRule
-
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
- start() - Method in class org.jvnet.hudson.test.RealJenkinsRuleInit
- start(InboundAgentRule.AgentArguments, InboundAgentRule.Options) - Method in class org.jvnet.hudson.test.InboundAgentRule
- start(JenkinsRule, String) - Method in class org.jvnet.hudson.test.InboundAgentRule
-
(Re-)starts an existing inbound agent.
- start(JenkinsRule, InboundAgentRule.Options) - Method in class org.jvnet.hudson.test.InboundAgentRule
-
(Re-)starts an existing inbound agent.
- start(RealJenkinsRule, InboundAgentRule.Options) - Method in class org.jvnet.hudson.test.InboundAgentRule
-
(Re-)starts an existing inbound agent.
- startJenkins() - Method in class org.jvnet.hudson.test.RealJenkinsRule
- StatusListener(int) - Constructor for class org.htmlunit.WebResponseListener.StatusListener
- stderr() - Method in class hudson.cli.CLICommandInvoker.Result
- stderrBinary() - Method in class hudson.cli.CLICommandInvoker.Result
- stdout() - Method in class hudson.cli.CLICommandInvoker.Result
- stdoutBinary() - Method in class hudson.cli.CLICommandInvoker.Result
- step(Closure<?>) - Method in class org.jvnet.hudson.test.RestartableJenkinsRule
-
Deprecated.
- stop() - Method in class org.jvnet.hudson.test.JavaNetReverseProxy2
- stop() - Method in class org.jvnet.hudson.test.TestPluginManager
- stop(String) - Method in class org.jvnet.hudson.test.InboundAgentRule
-
Stops an existing inbound agent.
- stop(JenkinsRule, String) - Method in class org.jvnet.hudson.test.InboundAgentRule
-
Stop an existing inbound agent and wait for it to go offline.
- stop(RealJenkinsRule, String) - Method in class org.jvnet.hudson.test.InboundAgentRule
-
Stop an existing inbound agent and wait for it to go offline.
- stopJenkins() - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Stops Jenkins and releases any system resources associated with it.
- submit(HtmlForm) - Static method in class org.htmlunit.html.HtmlFormUtil
-
Submit the supplied
HtmlForm
. - submit(HtmlForm) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Submits the form.
- submit(HtmlForm) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Submits the form.
- submit(HtmlForm, String) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Submits the form by clicking the submit button of the given name.
- submit(HtmlForm, String) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Submits the form by clicking the submit button of the given name.
- submit(HtmlForm, HtmlElement) - Static method in class org.htmlunit.html.HtmlFormUtil
-
Submit the supplied
HtmlForm
via the supplied submit element. - submit(JenkinsRule) - Method in class hudson.security.pages.SignupPage
- succeeded() - Static method in class hudson.cli.CLICommandInvoker.Matcher
- succeededSilently() - Static method in class hudson.cli.CLICommandInvoker.Matcher
- systemProperty(String) - Static method in class org.jvnet.hudson.test.FlagRule
- systemProperty(String, String) - Static method in class org.jvnet.hudson.test.FlagRule
T
- TailLog - Class in org.jvnet.hudson.test
-
Utility to display the log of a build in real time.
- TailLog(Run<?, ?>) - Constructor for class org.jvnet.hudson.test.TailLog
-
Watch a build already loaded in the current JVM.
- TailLog(File, String, int) - Constructor for class org.jvnet.hudson.test.TailLog
-
Watch a build expected to run at a specific file location.
- TailLog(JenkinsRule, String, int) - Constructor for class org.jvnet.hudson.test.TailLog
-
Watch a build expected to be loaded in the current JVM.
- TailLog(RealJenkinsRule, String, int) - Constructor for class org.jvnet.hudson.test.TailLog
-
Watch a build expected to be loaded in a controller JVM.
- tearDown() - Method in class jenkins.benchmark.jmh.JmhBenchmarkState
-
Override to perform cleanup of resource initialized during setup.
- tearDown() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- 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. - tearDown(JenkinsRule, T) - Method in class org.jvnet.hudson.test.JenkinsRecipe.Runner
-
Called during
TestCase.tearDown()
to shut down the test environment. - tearDowns - Variable in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
Runnable
s to be invoked atHudsonTestCase.tearDown()
. - tearDowns - Variable in class org.jvnet.hudson.test.JenkinsRule
-
Runnable
s to be invoked atJenkinsRule.after()
. - temporaryDirectoryAllocator - Variable in class org.jvnet.hudson.test.TestEnvironment
- TemporaryDirectoryAllocator - Class in org.jvnet.hudson.test
-
Allocates temporary directories and cleans it up at the end.
- TemporaryDirectoryAllocator() - Constructor for class org.jvnet.hudson.test.TemporaryDirectoryAllocator
- TemporaryDirectoryAllocator(File) - Constructor for class org.jvnet.hudson.test.TemporaryDirectoryAllocator
-
Deprecated.
- terminateJenkins() - Method in class jenkins.benchmark.jmh.JmhBenchmarkState
-
Terminates the jenkins instance after the benchmark has completed its execution.
- 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
- TestBuildWrapper() - Constructor for class org.jvnet.hudson.test.HudsonTestCase.TestBuildWrapper
-
Deprecated.
- TestBuildWrapper() - Constructor for class org.jvnet.hudson.test.JenkinsRule.TestBuildWrapper
- TestBuildWrapperDescriptor() - Constructor for class org.jvnet.hudson.test.HudsonTestCase.TestBuildWrapper.TestBuildWrapperDescriptor
-
Deprecated.
- TestBuildWrapperDescriptor() - Constructor for class org.jvnet.hudson.test.JenkinsRule.TestBuildWrapper.TestBuildWrapperDescriptor
- testCase - Variable in class org.jvnet.hudson.test.ComputerConnectorTester
- testCase - Variable in class org.jvnet.hudson.test.TestEnvironment
-
Current test case being run (null for a JUnit 4 test).
- testCliSanity() - Method in class org.jvnet.hudson.test.PluginAutomaticTestBuilder.OtherTests
- 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
- testDescription - Variable in class org.jvnet.hudson.test.JenkinsRule
- TestEnvironment - Class in org.jvnet.hudson.test
- TestEnvironment(Description) - Constructor for class org.jvnet.hudson.test.TestEnvironment
- TestEnvironment(HudsonTestCase) - Constructor for class org.jvnet.hudson.test.TestEnvironment
- TestExtension - Annotation Interface in org.jvnet.hudson.test
-
Works like
Extension
except used for inserting extensions during unit tests. - TestExtensionLoader - Class in org.jvnet.hudson.test
-
Loads
TestExtension
s. - TestExtensionLoader() - Constructor for class org.jvnet.hudson.test.TestExtensionLoader
- TestNotifier - Class in org.jvnet.hudson.test
-
Partial
Notifier
implementation to facilitate notifier implementation for testing. - TestNotifier() - Constructor for class org.jvnet.hudson.test.TestNotifier
- testPluginActive() - Method in class org.jvnet.hudson.test.PluginAutomaticTestBuilder.OtherTests
- TestPluginManager - Class in org.jvnet.hudson.test
-
PluginManager
to speed up unit tests. - TestPluginManager() - Constructor for class org.jvnet.hudson.test.TestPluginManager
- then(JenkinsSessionRule.Step) - Method in class org.jvnet.hudson.test.JenkinsSessionRule
-
Run one Jenkins session and shut down.
- then(RealJenkinsRule.Step...) - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Run one Jenkins session, send one or more test thunks, and shut down.
- then(RealJenkinsRule.Step2<T>) - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Run one Jenkins session, send a test thunk, and shut down.
- then(RestartableJenkinsRule.Step) - Method in class org.jvnet.hudson.test.RestartableJenkinsRule
-
Run one Jenkins session and shut down.
- thenDoesNotStart() - Method in class org.jvnet.hudson.test.RestartableJenkinsRule
- thenWithHardShutdown(RestartableJenkinsRule.Step) - Method in class org.jvnet.hudson.test.RestartableJenkinsRule
-
Run one Jenkins session and then simulate the Jenkins process ending without a clean shutdown.
- ThreadPoolImpl - Class in org.jvnet.hudson.test
- ThreadPoolImpl(ExecutorService) - Constructor for class org.jvnet.hudson.test.ThreadPoolImpl
- time - Variable in class org.jvnet.hudson.test.SleepBuilder
- timeout - Variable in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Number of seconds until the test times out.
- timeout - Variable in class org.jvnet.hudson.test.JenkinsRule
-
Number of seconds until the test times out.
- timeoutError(HtmlPage, long, long) - Method in class org.htmlunit.WebClientUtil.ExceptionListener
- to(User...) - Method in class org.jvnet.hudson.test.MockAuthorizationStrategy.Grant.GrantOn
-
To some users.
- to(String...) - Method in class org.jvnet.hudson.test.MockAuthorizationStrategy.Grant.GrantOn
-
To some users or groups.
- toAuthenticated() - Method in class org.jvnet.hudson.test.MockAuthorizationStrategy.Grant.GrantOn
-
To all authenticated users.
- toEveryone() - Method in class org.jvnet.hudson.test.MockAuthorizationStrategy.Grant.GrantOn
-
To everyone, including anonymous users.
- toString() - Method in class hudson.cli.CLICommandInvoker.Result
- toString() - Method in record class org.jvnet.hudson.test.InboundAgentRule.AgentArguments
-
Returns a string representation of this record class.
- toString() - Method in class org.jvnet.hudson.test.LoggerRule
- toString() - Method in exception org.jvnet.hudson.test.RealJenkinsRule.ProxyException
- 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.
- toString() - Method in class org.jvnet.hudson.test.TestEnvironment
- TouchBuilder - Class in org.jvnet.hudson.test
- TouchBuilder() - Constructor for class org.jvnet.hudson.test.TouchBuilder
- TrueFalsePublisher - Class in hudson.model.utils
- TrueFalsePublisher(boolean) - Constructor for class hudson.model.utils.TrueFalsePublisher
- TrueFalsePublisher.DescriptorImpl - Class in hudson.model.utils
- trustStore(String, String) - Method in class org.jvnet.hudson.test.InboundAgentRule.Options.Builder
-
Provide a custom truststore for the agent JVM.
- tunnel(String) - Method in class org.jvnet.hudson.test.InboundAgentRule.Options.Builder
-
Set a tunnel for the agent
- type() - Method in class org.jvnet.hudson.test.RunLoadCounter.MarkerAdder
U
- UnitTestSupportingPluginManager - Class in org.jvnet.hudson.test
-
PluginManager
that can work with unit tests where dependencies are just jars. - UnitTestSupportingPluginManager(File) - Constructor for class org.jvnet.hudson.test.UnitTestSupportingPluginManager
- 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
- useLocalPluginManager - Variable in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Use
HudsonTestCase.pluginManager
- useLocalPluginManager - Variable in class org.jvnet.hudson.test.JenkinsRule
-
Deprecated.Use
JenkinsRule.pluginManager
- user() - Method in class hudson.cli.CLICommandInvoker
-
Deprecated.
V
- validateCrumb(ServletRequest, String, String) - Method in class org.jvnet.hudson.test.TestCrumbIssuer
- value() - Element in annotation interface jenkins.benchmark.jmh.JmhBenchmark
-
Methods which annotated by
Benchmark
in classes annotated byJmhBenchmark
are to be run as benchmarks if they match this regex pattern. - value() - Element in annotation interface org.jvnet.hudson.test.JenkinsRecipe
-
Specifies the class that sets up the test environment.
- value() - Element in annotation interface org.jvnet.hudson.test.RandomlyFails
-
Deprecated.Observed failure message or other explanation.
- value() - Element in annotation interface org.jvnet.hudson.test.recipes.LocalData
- value() - Element in annotation interface org.jvnet.hudson.test.recipes.PresetData
-
Deprecated.One of the preset data to choose from.
- value() - Element in annotation interface org.jvnet.hudson.test.recipes.Recipe
-
Specifies the class that sets up the test environment.
- value() - Element in annotation interface org.jvnet.hudson.test.recipes.WithPlugin
-
Filenames of the plugins to install.
- value() - Element in annotation interface org.jvnet.hudson.test.recipes.WithPluginManager
- value() - Element in annotation interface org.jvnet.hudson.test.recipes.WithTimeout
-
Number of seconds.
- value() - Element in annotation interface org.jvnet.hudson.test.TestExtension
-
To make this extension only active for one test case, specify the test method name.
- valueOf(String) - Static method in enum class org.jvnet.hudson.test.PrefixedOutputStream.Color
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.jvnet.hudson.test.recipes.PresetData.DataSet
-
Deprecated.Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.jvnet.hudson.test.PrefixedOutputStream.Color
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.jvnet.hudson.test.recipes.PresetData.DataSet
-
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
- version(String) - Method in class org.jvnet.hudson.test.RealJenkinsRule.SyntheticPlugin
-
Plugin version string (
Plugin-Version
manifest header).
W
- waitForCompletion() - Method in class org.jvnet.hudson.test.TailLog
- waitForCompletion(R) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Waits for a build to complete.
- waitForJSExec(WebClient) - Static method in class org.htmlunit.WebClientUtil
-
Wait for all async JavaScript tasks associated with the supplied
WebClient
instance to complete. - waitForJSExec(WebClient, long) - Static method in class org.htmlunit.WebClientUtil
-
Wait for all async JavaScript tasks associated with the supplied
WebClient
instance to complete. - waitForMessage(String, R) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Waits for a build log to contain a specified string.
- waitOnline(Slave) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Waits for a newly created slave to come online.
- waitUntilElementIsPresent(HtmlPage, String) - Static method in class org.jvnet.hudson.test.QueryUtils
-
Waits until the given query selector is visible on the page, otherwise returns null
- waitUntilNoActivity() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Waits until Hudson finishes building everything, including those in the queue.
- waitUntilNoActivity() - Method in class org.jvnet.hudson.test.JenkinsRule
-
Waits until Hudson finishes building everything, including those in the queue.
- waitUntilNoActivityUpTo(int) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Waits until Jenkins finishes building everything, including those builds in the queue, or fail the test if the specified timeout milliseconds is exceeded.
- waitUntilNoActivityUpTo(int) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Waits until Hudson finishes building everything, including those in the queue, or fail the test if the specified timeout milliseconds is
- waitUntilStringIsNotPresent(HtmlPage, String) - Static method in class org.jvnet.hudson.test.QueryUtils
-
Waits until the given string is not visible on the page, otherwise throws an exception
- waitUntilStringIsPresent(HtmlPage, String) - Static method in class org.jvnet.hudson.test.QueryUtils
-
Waits until the given string is visible on the page, otherwise throws an exception
- WarExploder - Class in org.jvnet.hudson.test
-
Ensures that
jenkins.war
is exploded. - warn(String, String, int, String, int) - Method in class org.htmlunit.WebClientUtil.ExceptionListener
- WebClient() - Constructor for class org.jvnet.hudson.test.HudsonTestCase.WebClient
-
Deprecated.
- WebClient() - Constructor for class org.jvnet.hudson.test.JenkinsRule.WebClient
- WebClientUtil - Class in org.htmlunit
-
WebClient
helper methods. - WebClientUtil() - Constructor for class org.htmlunit.WebClientUtil
- WebClientUtil.ExceptionListener - Class in org.htmlunit
-
JavaScript Exception listener.
- WebResponseListener - Interface in org.htmlunit
- WebResponseListener.StatusListener - Class in org.htmlunit
- webSocket() - Method in class org.jvnet.hudson.test.InboundAgentRule.Options.Builder
-
Use WebSocket when connecting.
- webSocket(boolean) - Method in class org.jvnet.hudson.test.InboundAgentRule.Options.Builder
-
Configure usage of WebSocket when connecting.
- with(PluginManager) - Method in class org.jvnet.hudson.test.JenkinsRule
- with(HudsonHomeLoader) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- with(HudsonHomeLoader) - Method in class org.jvnet.hudson.test.JenkinsRule
- withArgs(String...) - Method in class hudson.cli.CLICommandInvoker
- withAuthor(String) - Method in class org.jvnet.hudson.test.FakeChangeLogSCM.EntryImpl
- withBasicApiToken(User) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Retrieve the
ApiTokenProperty
from the user, derive credentials from it and place it in Basic authorization header. - withBasicApiToken(String) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Retrieve the
ApiTokenProperty
from the associated user, derive credentials from it and place it in Basic authorization header - withBasicCredentials(String) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Use
loginAndPassword
as login AND password, especially useful forJenkinsRule.DummySecurityRealm
Add the "Authorization" header with Basic credentials derived from login using Base64 - withBasicCredentials(String, String) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Add the "Authorization" header with Basic credentials derived from login and password using Base64
- withBootClasspath(File...) - Method in class org.jvnet.hudson.test.RealJenkinsRule
- withColor(PrefixedOutputStream.AnsiColor) - Method in class org.jvnet.hudson.test.PrefixedOutputStream.Builder
- withColor(PrefixedOutputStream.AnsiColor) - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Applies ANSI coloration to log lines produced by this instance, complementing
RealJenkinsRule.withName(java.lang.String)
. - withColor(PrefixedOutputStream.AnsiColor) - Method in class org.jvnet.hudson.test.TailLog
-
Applies ANSI coloration to log lines produced by this instance.
- withDebugPort(int) - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Allows usage of a static debug port instead of a random one.
- withDebugServer(boolean) - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Allows to use debug in server mode or client mode.
- withDebugSuspend(boolean) - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Whether to suspend the controller VM on startup until debugger is connected.
- withExistingHome(File) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- withExistingHome(File) - Method in class org.jvnet.hudson.test.JenkinsRule
- withFIPSEnabled() - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Use
RealJenkinsRule.withFIPSEnabled(FIPSTestBundleProvider)
with default value ofFIPSTestBundleProvider.get()
- withFIPSEnabled(FIPSTestBundleProvider) - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
+
- withHost(String) - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Sets a custom host name for the Jenkins root URL.
- withHttpListenAddress(String) - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Provides a custom interface to listen to.
- withJavaHome(String) - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Allows to specify a java home, defaults to JAVA_HOME if not used
- withJavaScriptEnabled(boolean) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Enables/disables JavaScript support.
- WithJenkins - Annotation Interface in org.jvnet.hudson.test.junit.jupiter
-
JUnit 5 meta annotation providing
JenkinsRule
integration. - withLogger(Class<?>, Level) - Method in class org.jvnet.hudson.test.InboundAgentRule.Options.Builder
- withLogger(Class<?>, Level) - Method in class org.jvnet.hudson.test.RealJenkinsRule
- withLogger(String, Level) - Method in class org.jvnet.hudson.test.InboundAgentRule.Options.Builder
- withLogger(String, Level) - Method in class org.jvnet.hudson.test.RealJenkinsRule
- withMsg(String) - Method in class org.jvnet.hudson.test.FakeChangeLogSCM.EntryImpl
- withName(String) - Method in class org.jvnet.hudson.test.PrefixedOutputStream.Builder
- withName(String) - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Sets a name for this instance, which will be prefixed to log messages to simplify debugging.
- withNewHome() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.
- withNewHome() - Method in class org.jvnet.hudson.test.JenkinsRule
- WithoutJenkins - Annotation Interface in org.jvnet.hudson.test
-
An annotation for test methods that do not require the
JenkinsRule
/HudsonTestCase
to create and tear down the jenkins instance. - WithoutJenkins.RunnerImpl - Class in org.jvnet.hudson.test
- withPackageLogger(Class<?>, Level) - Method in class org.jvnet.hudson.test.InboundAgentRule.Options.Builder
- withPackageLogger(Class<?>, Level) - Method in class org.jvnet.hudson.test.RealJenkinsRule
- withPath(String) - Method in class org.jvnet.hudson.test.FakeChangeLogSCM.EntryImpl
- WithPlugin - Annotation Interface in org.jvnet.hudson.test.recipes
-
Installs the specified plugins before launching Jenkins.
- WithPlugin.RuleRunnerImpl - Class in org.jvnet.hudson.test.recipes
- WithPlugin.RunnerImpl - Class in org.jvnet.hudson.test.recipes
- WithPluginManager - Annotation Interface in org.jvnet.hudson.test.recipes
-
Runs the test case with a custom plugin manager.
- WithPluginManager.RuleRunnerImpl - Class in org.jvnet.hudson.test.recipes
- WithPluginManager.RunnerImpl - Class in org.jvnet.hudson.test.recipes
- withPort(int) - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Provides a custom fixed port instead of a random one.
- withPresetData(String) - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Declares that this test case expects to start with one of the preset data sets.
- withPresetData(String) - Method in class org.jvnet.hudson.test.JenkinsRule
-
Declares that this test case expects to start with one of the preset data sets.
- withRedirectEnabled(boolean) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Sets whether or not redirections will be followed automatically on receipt of a redirect status code from the server.
- withReusedPort() - Method in class org.jvnet.hudson.test.RestartableJenkinsRule.Builder
- withStdin(InputStream) - Method in class hudson.cli.CLICommandInvoker
- withThrowExceptionOnFailingStatusCode(boolean) - Method in class org.jvnet.hudson.test.JenkinsRule.WebClient
-
Changes the behavior of this webclient when a script error occurs.
- withTimeout(int) - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Adjusts the test timeout.
- WithTimeout - Annotation Interface in org.jvnet.hudson.test.recipes
-
Times out the test after the specified number of seconds.
- WithTimeout.RunnerImpl - Class in org.jvnet.hudson.test.recipes
-
Deprecated.New code should use
JenkinsRule
. - withWar(File) - Method in class org.jvnet.hudson.test.RealJenkinsRule
-
Sets a custom WAR file to be used by the rule instead of the one in the path or
war/target/jenkins.war
in case of core. - WorkspaceCopyFileBuilder - Class in org.jvnet.hudson.test
-
Test Builder, which copies a file from a workspace of another job.
- WorkspaceCopyFileBuilder(String, String, int) - Constructor for class org.jvnet.hudson.test.WorkspaceCopyFileBuilder
- WorkspaceCopyFileBuilder.DescriptorImpl - Class in org.jvnet.hudson.test
- WorkspaceWriter - Class in jenkins.model
-
Write text into file in workspace.
- WorkspaceWriter(String, String) - Constructor for class jenkins.model.WorkspaceWriter
- writeReplace() - Method in class org.jvnet.hudson.test.ExtractResourceWithChangesSCM
-
Don't write 'this', so that subtypes can be implemented as anonymous class.
- writeReplace() - Method in class org.jvnet.hudson.test.HudsonTestCase
-
Deprecated.Sometimes a part of a test case may ends up creeping into the serialization tree of
Saveable.save()
, so detect that and flag that as an error. - writeReplace() - Method in class org.jvnet.hudson.test.JenkinsRule
-
Sometimes a part of a test case may ends up creeping into the serialization tree of
Saveable.save()
, so detect that and flag that as an error. - writeReplace() - Method in class org.jvnet.hudson.test.SingleFileSCM
-
Don't write 'this', so that subtypes can be implemented as anonymous class.
- writeReplace() - Method in class org.jvnet.hudson.test.TestBuilder
- writeReplace() - Method in class org.jvnet.hudson.test.TestNotifier
Y
- YELLOW - Enum constant in enum class org.jvnet.hudson.test.PrefixedOutputStream.Color
_
- _configureJenkinsForTest(Jenkins) - Static method in class org.jvnet.hudson.test.JenkinsRule
-
Configures a Jenkins instance for test.
- _configureUpdateCenter(Jenkins) - Static method in class org.jvnet.hudson.test.JenkinsRule
-
Internal method used to configure update center to avoid network traffic.
- _configureUserRealm() - Static method in class org.jvnet.hudson.test.JenkinsRule
-
Creates a
HashLoginService
with three users: alice, bob and charlie The password is same as the username - _createWebAppContext2(String, Consumer<Integer>, ClassLoader, int, Supplier<LoginService>) - Static method in class org.jvnet.hudson.test.JenkinsRule
-
Creates a web server on which Jenkins can run
- _createWebAppContext2(String, Consumer<Integer>, ClassLoader, int, Supplier<LoginService>, BiConsumer<WebAppContext, Server>) - Static method in class org.jvnet.hudson.test.JenkinsRule
-
Creates a web server on which Jenkins can run
- _stopJenkins(Server, List<LenientRunnable>, Jenkins) - Static method in class org.jvnet.hudson.test.JenkinsRule
-
Internal method to stop Jenkins instance.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
RestartableJenkinsRule.then(org.jvnet.hudson.test.RestartableJenkinsRule.Step)
instead.