Package org.iplantc.agave.client.model

Examples of org.iplantc.agave.client.model.MultipleApplicationResponse


 
  @Test
  public void list() {
    try {
      AppsApi api = new AppsApi(token);
      MultipleApplicationResponse response = api.list(false, false);
      List<ApplicationSummary> apps = response.getResult();
      Assert.assertFalse(apps.isEmpty(), "No apps returned from public and private query");
    } catch (ApiException e) {
      Assert.fail("Failed to query all apps", e);
    }
  }
View Full Code Here


 
  @Test(dependsOnMethods={"list"})
  public void get() {
    try {
      AppsApi api = new AppsApi(token);
      MultipleApplicationResponse response = api.list(false, false);
      List<ApplicationSummary> apps = response.getResult();
      Assert.assertFalse(apps.isEmpty(), "No apps returned from public and private query");
     
      ApplicationSummary appSummary = apps.get(0);
     
      SingleApplicationResponse appResponse = api.get(appSummary.getId());
View Full Code Here

TOP

Related Classes of org.iplantc.agave.client.model.MultipleApplicationResponse

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.