Package org.springframework.webflow.action

Examples of org.springframework.webflow.action.TestMultiAction


    assertEquals("myState1", flow.getPossibleOutcomes()[0]);
    assertEquals("myState2", flow.getPossibleOutcomes()[1]);
  }

  public void testAddActions() {
    flow.getStartActionList().add(new TestMultiAction());
    flow.getStartActionList().add(new TestMultiAction());
    flow.getEndActionList().add(new TestMultiAction());
    assertEquals(2, flow.getStartActionList().size());
    assertEquals(1, flow.getEndActionList().size());
  }
View Full Code Here


    assertEquals("myState1", flow.getPossibleOutcomes()[0]);
    assertEquals("myState2", flow.getPossibleOutcomes()[1]);
  }

  public void testAddActions() {
    flow.getStartActionList().add(new TestMultiAction());
    flow.getStartActionList().add(new TestMultiAction());
    flow.getEndActionList().add(new TestMultiAction());
    assertEquals(2, flow.getStartActionList().size());
    assertEquals(1, flow.getEndActionList().size());
  }
View Full Code Here

TOP

Related Classes of org.springframework.webflow.action.TestMultiAction

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.