> +      Payload payload = 
> newByteSourcePayload(ByteSource.wrap("swifty".getBytes()));
> +      payload.getContentMetadata().setExpires(expireAt);
> +
> +      for (String regionId : regions) {
> +         String etag = api.getObjectApiForRegionAndContainer(regionId, 
> containerName)
> +               .put(objectName, payload);
> +         assertNotNull(etag);
> +
> +         SwiftObject object = 
> api.getObjectApiForRegionAndContainer(regionId, 
> containerName).get(objectName);
> +         assertEquals(object.getName(), objectName);
> +         checkObject(object);
> +         assertEquals(toStringAndClose(object.getPayload().openStream()), 
> "swifty");
> +
> +         api.getObjectApiForRegionAndContainer(regionId, 
> containerName).delete(objectName);
> +      }
> +   }
>     public void testCopyObject() throws Exception {

[minor] Space before this line?

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

Reply via email to