Package juzu.impl.request

Examples of juzu.impl.request.PhaseParameter


  @Test
  public void testStringArg() throws Exception {
    ControllerHandler cm = controllerDescriptor.getHandler(aClass, "oneArg", String.class);
    assertEquals("oneArg", cm.getName());
    assertEquals(Phase.RESOURCE, cm.getPhase());
    assertEquals(Arrays.asList(new PhaseParameter("foo", null, null, Cardinality.SINGLE, null)), cm.getParameters());
  }
View Full Code Here


  @Test
  public void testStringArg() throws Exception {
    ControllerHandler cm = controllerDescriptor.getHandler(aClass, "oneArg", String.class);
    assertEquals("oneArg", cm.getName());
    assertEquals(Phase.VIEW, cm.getPhase());
    assertEquals(Arrays.asList(new PhaseParameter("foo", null, null, Cardinality.SINGLE, null)), cm.getParameters());
  }
View Full Code Here

  @Test
  public void testStringArg() throws Exception {
    ControllerHandler cm = controllerDescriptor.getHandler(aClass, "oneArg", String.class);
    assertEquals("oneArg", cm.getName());
    assertEquals(Phase.ACTION, cm.getPhase());
    assertEquals(Arrays.asList(new PhaseParameter("foo", null, null, Cardinality.SINGLE, null)), cm.getParameters());
  }
View Full Code Here

TOP

Related Classes of juzu.impl.request.PhaseParameter

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.