Package org.geomajas.command.dto

Examples of org.geomajas.command.dto.GetConfigurationResponse


  @Test
  public void testConvertApplication() throws Exception {
    GetConfigurationRequest request = new GetConfigurationRequest();
    request.setApplicationId(APP_ID);
    GetConfigurationResponse response = (GetConfigurationResponse) dispatcher.execute(
        GetConfigurationRequest.COMMAND, request, null, "en");
    if (response.isError()) {
      response.getErrors().get(0).printStackTrace();
    }
    Assert.assertFalse(response.isError());
    ClientApplicationInfo appInfo = response.getApplication();
    Assert.assertNotNull(appInfo);
    Assert.assertEquals(APP_ID, appInfo.getId());
    Assert.assertEquals(96, appInfo.getScreenDpi());

    // widget data
View Full Code Here


  @Autowired
  private GetMapConfigurationCommand mapConfigurationCommand;

  public GetConfigurationResponse getEmptyCommandResponse() {
    return new GetConfigurationResponse();
  }
View Full Code Here

TOP

Related Classes of org.geomajas.command.dto.GetConfigurationResponse

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.