Package org.jvnet.hudson.test.HudsonHomeLoader

Examples of org.jvnet.hudson.test.HudsonHomeLoader.Local


@Target(METHOD)
@Retention(RUNTIME)
public @interface LocalData {
    class RunnerImpl extends Recipe.Runner<LocalData> {
        public void setup(HudsonTestCase testCase, LocalData recipe) throws Exception {
            testCase.with(new Local(testCase.getClass().getMethod(testCase.getName())));
        }
View Full Code Here


        }
    }
    class RuleRunnerImpl extends JenkinsRecipe.Runner<LocalData> {
        public void setup(JenkinsRule jenkinsRule, LocalData recipe) throws Exception {
            Description desc = jenkinsRule.getTestDescription();
            jenkinsRule.with(new Local(desc.getTestClass().getMethod(desc.getMethodName())));
        }
View Full Code Here

@Target(METHOD)
@Retention(RUNTIME)
public @interface LocalData {
    public class RunnerImpl extends Recipe.Runner<LocalData> {
        public void setup(HudsonTestCase testCase, LocalData recipe) throws Exception {
            testCase.with(new Local(testCase.getClass().getMethod(testCase.getName())));
        }
View Full Code Here

TOP

Related Classes of org.jvnet.hudson.test.HudsonHomeLoader.Local

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.