Package org.hdiv.state

Examples of org.hdiv.state.State


    assertEquals(state, state2);
  }

  public void testAddSameActionState() {

    IState state = new State(0);
    state.setAction("/action");
    IParameter param = new Parameter("uno", "value", false, null, false);
    state.addParameter(param);

    String id = this.stateScope.addState(state, "token");

    IState state2 = new State(1);
    state2.setAction("/action");
    IParameter param2 = new Parameter("uno", "value", false, null, false);
    state2.addParameter(param2);

    String id2 = this.stateScope.addState(state2, "token");

    assertEquals(id, id2);
  }
View Full Code Here

TOP

Related Classes of org.hdiv.state.State

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.