Package honeycrm.client.mvp.presenters

Examples of honeycrm.client.mvp.presenters.ApplicationPresenter


  protected void handleInitialized() {
    GWT.runAsync(AppController.class, new RunAsyncCallback() {
      @Override
      public void onSuccess() {
        new ApplicationPresenter(User.getUserId(), readService, createService, updateService, pluginService, eventBus, new ApplicationView(readService, reportService)).go(container);
      }

      @Override
      public void onFailure(Throwable reason) {
      }
View Full Code Here


  }

  public void testCreateUnitialized() {
    try {
      presenter = new ApplicationPresenter(42, readService, createService, updateService, pluginService, eventBus, applicationView);
      fail();
      // should not work because configuration has not been initialised yet.
    } catch (RuntimeException e) {
    }
  }
View Full Code Here

 
  public void testCreateInitialized() {
    replay(applicationView);
   
    DtoModuleRegistry.create(new ConfigServiceImpl().getConfiguration());
    presenter = new ApplicationPresenter(42, readService, createService, updateService, pluginService, eventBus, applicationView);
  }
View Full Code Here

TOP

Related Classes of honeycrm.client.mvp.presenters.ApplicationPresenter

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.