> +         imageApi.update(image.getId(),
> +               
> UpdateImageOptions.Builder.name(UpdateImageOptions.Operation.REMOVE, 
> "jclouds-live-test2"));
> +         assertEquals(image.getName(), "jclouds-live-test2");
> +
> +         image = imageApi.get(createdImage.getId());
> +         assertEquals(createdImage.getName(), image.getName());
> +
> +         assertTrue(imageApi.delete(image.getId()));
> +
> +         
> assertTrue(imageApi.list(ListImageOptions.Builder.name("jclouds-live-test")).isEmpty());
> +      }
> +   }
> +
> +   @Test
> +   public void tesCreateUploadDownloadAndDeleteImage() throws IOException {
> +      StringPayload imageData = new StringPayload("This isn't an image!");

StringPayload is deprecated. Use ByteSourcePayload.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/77/files#r9436123

Reply via email to