jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <notificati...@github.com>
Subject Re: [jclouds-labs] JCLOUDS-569 : Storage for jobs is changed to list of maps (#67)
Date Mon, 02 Jun 2014 12:22:49 GMT
>                    .build());
>  
>        DriveInfo result = api.getDriveInfo(uuid);
>        assertNotNull(result);
> +      Assert.assertEquals(result.getName(), "test_drive_1");
> +      Assert.assertEquals(result.getJobs().get(0).getResourceUri(),
> +            "/api/2.0/jobs/ec01d3bc-1ec0-440d-a1c3-0a6421d0d511/");
> +      Assert.assertEquals(result.getJobs().get(0).getUuid(), "ec01d3bc-1ec0-440d-a1c3-0a6421d0d511");
> +      
> +      Assert.assertEquals(result.getJobs().get(2).getResourceUri(),
> +            "/api/2.0/jobs/8bacb5b3-6392-4f74-8094-ba3376a3f5f7/");
> +      Assert.assertEquals(result.getJobs().get(2).getUuid(), "8bacb5b3-6392-4f74-8094-ba3376a3f5f7");

Ah, I didn't notice. I meant to actually use it and remove the `Assert.` from these "equals"
assertions.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/67/files#r13281289
Mime
View raw message