Package com.consol.citrus.container

Examples of com.consol.citrus.container.Parallel


       
        assertEquals(builder.testCase().getActions().size(), 1);
        assertEquals(builder.testCase().getActions().get(0).getClass(), Parallel.class);
        assertEquals(builder.testCase().getActions().get(0).getName(), "parallel");
       
        Parallel container = (Parallel)builder.testCase().getActions().get(0);
        assertEquals(container.getActions().size(), 3);
        assertEquals(container.getTestAction(0).getClass(), EchoAction.class);
    }
View Full Code Here


    @Test
    public void testFailActionParser() {
        assertActionCount(2);
        assertActionClassAndName(Parallel.class, "parallel");
       
        Parallel action = getNextTestActionFromTest();
        Assert.assertEquals(action.getActionCount(), 2);
        Assert.assertEquals(action.getActions().get(0).getClass(), EchoAction.class);
        Assert.assertEquals(action.getActions().get(1).getClass(), EchoAction.class);
       
        action = getNextTestActionFromTest();
        Assert.assertEquals(action.getActionCount(), 3);
        Assert.assertEquals(action.getActions().get(0).getClass(), Parallel.class);
        Assert.assertEquals(((Parallel)action.getActions().get(0)).getActionCount(), 2);
        Assert.assertEquals(action.getActions().get(1).getClass(), EchoAction.class);
        Assert.assertEquals(action.getActions().get(2).getClass(), EchoAction.class);
    }
View Full Code Here

TOP

Related Classes of com.consol.citrus.container.Parallel

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.