Package hudson.plugins.parameterizedtrigger

Examples of hudson.plugins.parameterizedtrigger.ProjectSpecificParameterValuesActionTransform


        ParametersAction action = new ParametersAction(
                new StringParameterValue("key1", "true")
                );

        ProjectSpecificParameterValuesActionTransform transform = new ProjectSpecificParameterValuesActionTransform();

        ParametersAction result = transform.transformParametersAction(action, project);

        assertEquals(1, result.getParameters().size(), 1);
        assertTrue(result.getParameter("key1") instanceof BooleanParameterValue);
        assertTrue(((BooleanParameterValue)result.getParameter("key1")).value);
    }
View Full Code Here

TOP

Related Classes of hudson.plugins.parameterizedtrigger.ProjectSpecificParameterValuesActionTransform

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.