| Class and Description |
|---|
| org.jvnet.hudson.test.GroovyHudsonTestCase
Use
GroovyJenkinsRule instead. |
| org.jvnet.hudson.test.HudsonTestCase
New code should use
JenkinsRule. |
| org.jvnet.hudson.test.SecuredMockFolder
Use
MockAuthorizationStrategy plus MockFolder instead. |
| Annotation Type and Description |
|---|
| org.jvnet.hudson.test.recipes.PresetData
Authentication modes are better defined in code using
JenkinsRule.createDummySecurityRealm() and MockAuthorizationStrategy. |
| org.jvnet.hudson.test.RandomlyFails
Using a 2.x parent POM, Surefire will be configured to retry failing tests automatically. If the test fails consistently,
Ignore it. |
| Field and Description |
|---|
| org.jvnet.hudson.test.JenkinsRule.hudson |
| org.jvnet.hudson.test.JenkinsRule.useLocalPluginManager |
| org.jvnet.hudson.test.HudsonTestCase.useLocalPluginManager |
| Method and Description |
|---|
| org.jvnet.hudson.test.MemoryAssert.assertGC(WeakReference<?>) |
| hudson.cli.CLICommandInvoker.authorizedTo(Permission...)
Rather use
CLICommandInvoker.asUser(java.lang.String). |
| org.jvnet.hudson.test.JenkinsRule.createTmpDir()
Use
TemporaryFolder instead. |
| org.jvnet.hudson.test.JenkinsRule.WebClient.getPage(String)
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.) |
| org.jvnet.hudson.test.HudsonTestCase.WebClient.getPage(String)
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.) |
| hudson.cli.CLICommandInvoker.user() |
| Constructor and Description |
|---|
| org.jvnet.hudson.test.TemporaryDirectoryAllocator(File) |
Copyright © 2004–2019. All rights reserved.