Uses of Class
org.jvnet.hudson.test.JenkinsRule
-
Packages that use JenkinsRule Package Description hudson.cli hudson.security.pages hudson.slaves org.jvnet.hudson.test Test harness for Jenkins and its plugins.org.jvnet.hudson.test.recipes Declaratively specify the environment in which a test will be run. -
-
Uses of JenkinsRule in hudson.cli
Constructors in hudson.cli with parameters of type JenkinsRule Constructor Description CLICommandInvoker(JenkinsRule rule, hudson.cli.CLICommand command)
CLICommandInvoker(JenkinsRule rule, String command)
-
Uses of JenkinsRule in hudson.security.pages
Methods in hudson.security.pages with parameters of type JenkinsRule Modifier and Type Method Description org.htmlunit.html.HtmlPage
SignupPage. submit(JenkinsRule rule)
-
Uses of JenkinsRule in hudson.slaves
Subclasses of JenkinsRule in hudson.slaves Modifier and Type Class Description class
NodeProvisionerRule
Deprecated.useRealJenkinsRule
Constructors in hudson.slaves with parameters of type JenkinsRule Constructor Description DummyCloudImpl(JenkinsRule rule, int delay)
DummyCloudImpl(JenkinsRule rule, int delay, List<hudson.slaves.NodeProperty<?>> nodeProperties)
-
Uses of JenkinsRule in org.jvnet.hudson.test
Subclasses of JenkinsRule in org.jvnet.hudson.test Modifier and Type Class Description class
GroovyJenkinsRule
JenkinsRule
variant with special options for tests written in Groovy.static class
RealJenkinsRule.CustomJenkinsRule
Fields in org.jvnet.hudson.test declared as JenkinsRule Modifier and Type Field Description JenkinsRule
RestartableJenkinsRule. j
JenkinsRule
JenkinsComputerConnectorTester. jenkinsRule
Methods in org.jvnet.hudson.test that return JenkinsRule Modifier and Type Method Description protected JenkinsRule
RestartableJenkinsRule. createJenkinsRule(org.junit.runner.Description description)
JenkinsRule
JenkinsRule. with(hudson.PluginManager pluginManager)
JenkinsRule
JenkinsRule. with(HudsonHomeLoader homeLoader)
JenkinsRule
JenkinsRule. withExistingHome(File source)
JenkinsRule
JenkinsRule. withNewHome()
JenkinsRule
JenkinsRule. withPresetData(String name)
Declares that this test case expects to start with one of the preset data sets.Methods in org.jvnet.hudson.test with parameters of type JenkinsRule Modifier and Type Method Description hudson.model.Slave
InboundAgentRule. createAgent(JenkinsRule r, String name)
Creates, attaches, and starts a new inbound agent.hudson.model.Slave
InboundAgentRule. createAgent(JenkinsRule r, InboundAgentRule.Options options)
Creates, attaches, and optionally starts a new inbound agent.void
JenkinsRecipe.Runner. decorateHome(JenkinsRule jenkinsRule, File home)
Called right beforeJenkins(java.io.File, javax.servlet.ServletContext)
is invoked to decorate the hudson home directory.void
JenkinsSessionRule.Step. run(JenkinsRule r)
void
RealJenkinsRule.Step. run(JenkinsRule r)
T
RealJenkinsRule.Step2. run(JenkinsRule r)
void
RestartableJenkinsRule.Step. run(JenkinsRule r)
void
JenkinsRecipe.Runner. setup(JenkinsRule jenkinsRule, T recipe)
Called duringTestCase.setUp()
to prepare the test environment.void
InboundAgentRule. start(JenkinsRule r, String name)
(Re-)starts an existing inbound agent.void
InboundAgentRule. start(JenkinsRule r, InboundAgentRule.Options options)
(Re-)starts an existing inbound agent.void
InboundAgentRule. stop(JenkinsRule r, String name)
Stop an existing inbound agent and wait for it to go offline.void
JenkinsRecipe.Runner. tearDown(JenkinsRule jenkinsRule, T recipe)
Called duringTestCase.tearDown()
to shut down the test environment.Constructors in org.jvnet.hudson.test with parameters of type JenkinsRule Constructor Description JenkinsComputerConnectorTester(JenkinsRule testCase)
TailLog(JenkinsRule jr, String job, int number)
Watch a build expected to be loaded in the current JVM. -
Uses of JenkinsRule in org.jvnet.hudson.test.recipes
Methods in org.jvnet.hudson.test.recipes with parameters of type JenkinsRule Modifier and Type Method Description void
WithPlugin.RuleRunnerImpl. decorateHome(JenkinsRule jenkinsRule, File home)
void
WithPluginManager.RuleRunnerImpl. decorateHome(JenkinsRule jenkinsRule, File home)
void
LocalData.RuleRunnerImpl. setup(JenkinsRule jenkinsRule, LocalData recipe)
void
PresetData.RuleRunnerImpl. setup(JenkinsRule jenkinsRule, PresetData recipe)
void
WithPlugin.RuleRunnerImpl. setup(JenkinsRule jenkinsRule, WithPlugin recipe)
void
WithPluginManager.RuleRunnerImpl. setup(JenkinsRule jenkinsRule, WithPluginManager recipe)
-