Package org.jenkinsci.plugins.workflow.steps

Examples of org.jenkinsci.plugins.workflow.steps.StepConfigTester


public class StageStepTest {

    @Rule public JenkinsRule r = new JenkinsRule();

    @Test public void configRoundTrip() throws Exception {
        StageStep s = new StepConfigTester(r).configRoundTrip(new StageStep("name"));
        assertEquals("name", s.name);
        assertEquals(null, s.concurrency);
        s = new StageStep("name");
        s.concurrency = 1;
        s = new StepConfigTester(r).configRoundTrip(s);
        assertEquals("name", s.name);
        assertEquals(Integer.valueOf(1), s.concurrency);
    }
View Full Code Here

TOP

Related Classes of org.jenkinsci.plugins.workflow.steps.StepConfigTester

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.