Package com.consol.citrus.actions

Examples of com.consol.citrus.actions.StartServerAction


       
        Assert.assertEquals(builder.testCase().getActions().size(), 2);
        Assert.assertEquals(builder.testCase().getActions().get(0).getClass(), StartServerAction.class);
        Assert.assertEquals(builder.testCase().getActions().get(1).getClass(), StartServerAction.class);
       
        StartServerAction action = (StartServerAction)builder.testCase().getActions().get(0);
        Assert.assertEquals(action.getName(), "start-server");
        Assert.assertEquals(action.getServer(), testServer);
       
        action = (StartServerAction)builder.testCase().getActions().get(1);
        Assert.assertEquals(action.getName(), "start-server");
        Assert.assertEquals(action.getServerList().size(), 3);
        Assert.assertEquals(action.getServerList().toString(), "[" + server1.toString() + ", " + server2.toString() + ", " + server3.toString() + "]");
    }
View Full Code Here

TOP

Related Classes of com.consol.citrus.actions.StartServerAction

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.