Package org.strecks.controller

Examples of org.strecks.controller.ActionCreatorImpl


{

  @Test
  public void testCreationAction() throws Exception
  {
    ActionCreator actionCreator = new ActionCreatorImpl();
    Action action = actionCreator.createAction(SimpleDispatchAction.class);
    BasicDispatchController controller = (BasicDispatchController) action;
    assert controller.getBeanSource() != null;
  }
View Full Code Here


{

  @Test
  public void testCreationAction() throws Exception
  {
    ActionCreator actionCreator = new ActionCreatorImpl();
    Action action = actionCreator.createAction(SimpleLookupDispatchAction.class);
    BasicLookupDispatchController controller = (BasicLookupDispatchController) action;
    assert controller.internalGetKeyMethodMap() != null;
    assert controller.getBeanSource() != null;
  }
View Full Code Here

{

  @Test
  public void testCreationAction() throws Exception
  {
    ActionCreator actionCreator = new ActionCreatorImpl();
    Action action = actionCreator.createAction(SimpleFormAction.class);
    BasicFormController controller = (BasicFormController) action;
    assert controller.getBeanSource() != null;
  }
View Full Code Here

{

  @Test
  public void testCreationAction() throws Exception
  {
    ActionCreator actionCreator = new ActionCreatorImpl();
    Action action = actionCreator.createAction(ActionWithNoNavigate.class);
    BasicController controller = (BasicController) action;
    assert controller.getBeanSource() != null;
  }
View Full Code Here

{

  @Test
  public void testCreationAction() throws Exception
  {
    ActionCreator actionCreator = new ActionCreatorImpl();
    Action action = actionCreator.createAction(SimpleDispatchAction.class);
    BasicMappingDispatchController controller = (BasicMappingDispatchController) action;
    assert controller.getBeanSource() != null;
  }
View Full Code Here

{

  @Test
  public void testCreationAction() throws Exception
  {
    ActionCreator actionCreator = new ActionCreatorImpl();
    Action action = actionCreator.createAction(SimpleSubmitAction.class);
    BasicSubmitController controller = (BasicSubmitController) action;
    assert controller.getBeanSource() != null;
  }
View Full Code Here

{

  @Test
  public void testCreationAction() throws Exception
  {
    ActionCreator actionCreator = new ActionCreatorImpl();
    Action action = actionCreator.createAction(SimpleDispatchAction.class);
    NavigableMappingDispatchController controller = (NavigableMappingDispatchController) action;
    assert controller.getNavigationHolder() != null;
    assert controller.getBeanSource() != null;
  }
View Full Code Here

  }

  @Test
  public void testCreationAction() throws Exception
  {
    ActionCreator actionCreator = new ActionCreatorImpl();
    Action action = actionCreator.createAction(SimpleDispatchAction.class);
    NavigableDispatchController controller = (NavigableDispatchController) action;
    assert controller.getBeanSource() != null;
    assert controller.getNavigationHolder() != null;
  }
View Full Code Here

  }

  @Test
  public void testCreationAction() throws Exception
  {
    ActionCreator actionCreator = new ActionCreatorImpl();
    Action action = actionCreator.createAction(NavigableFormRenderBean.class);
    NavigableFormController controller = (NavigableFormController) action;
    assert controller.getNavigationHolder() != null;
    assert controller.getBeanSource() != null;
  }
View Full Code Here

  }

  @Test
  public void testCreationAction() throws Exception
  {
    ActionCreator actionCreator = new ActionCreatorImpl();
    Action action = actionCreator.createAction(NavigableLookupDispatchAction.class);
    NavigableLookupDispatchController controller = (NavigableLookupDispatchController) action;
    assert controller.getBeanSource() != null;
    assert controller.getNavigationHolder() != null;
    assert controller.internalGetKeyMethodMap() != null;
  }
View Full Code Here

TOP

Related Classes of org.strecks.controller.ActionCreatorImpl

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.