File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
core/src/main/java/jenkins/util
src/test/java/jenkins/util Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4141 * unclear, {@link #SetContextClassLoader(ClassLoader)} can be used as a fallback with {@link
4242 * PluginManager.UberClassLoader} as the argument, though this is not as safe since lookups could be
4343 * ambiguous in case two unrelated plugins both bundle the same library. In functional tests, {@code
44- * RealJenkinsRule .Endpoint} can be used to reference a class loader that has access to the plugins
44+ * RealJenkinsFixture .Endpoint} can be used to reference a class loader that has access to the plugins
4545 * defined in the test scenario.
4646 *
4747 * <p>See <a
Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ THE SOFTWARE.
192192 <dependency >
193193 <groupId >org.jenkins-ci.main</groupId >
194194 <artifactId >jenkins-test-harness</artifactId >
195- <version >2548.v12d3cc4591c0 </version >
195+ <version >2549.va_d3707a_ff237 </version >
196196 <scope >test</scope >
197197 <exclusions >
198198 <exclusion >
Original file line number Diff line number Diff line change 66import org .junit .jupiter .api .Test ;
77import org .junit .jupiter .api .extension .RegisterExtension ;
88import org .jvnet .hudson .test .JenkinsRule ;
9- import org .jvnet .hudson .test .RealJenkinsRule ;
9+ import org .jvnet .hudson .test .fixtures . RealJenkinsFixture ;
1010import org .jvnet .hudson .test .junit .jupiter .RealJenkinsExtension ;
1111
1212class SetContextClassLoaderTest {
@@ -20,7 +20,7 @@ void positive() throws Throwable {
2020 }
2121
2222 private static void _positive (JenkinsRule r ) throws ClassNotFoundException {
23- try (SetContextClassLoader sccl = new SetContextClassLoader (RealJenkinsRule .Endpoint .class )) {
23+ try (SetContextClassLoader sccl = new SetContextClassLoader (RealJenkinsFixture .Endpoint .class )) {
2424 assertEquals ("hudson.tasks.Mailer$UserProperty" , getUserPropertyClass ().getName ());
2525 }
2626 }
You can’t perform that action at this time.
0 commit comments