jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <notificati...@github.com>
Subject Re: [jclouds-labs-google] JCLOUDS-458:Added ObjectAccessControls with expect tests (#36)
Date Wed, 17 Sep 2014 18:58:27 GMT
> +      assertEquals(response.getEntity(), "allUsers");
> +      assertEquals(response.getRole(), ObjectRole.READER);
> +   }
> +
> +   @Test(groups = "live", dependsOnMethods = "testPatchDefaultObjectacl")
> +   public void testDeleteBucketacl() {
> +      api().deleteDefaultObjectAccessControls(BUCKET_NAME, "allUsers");
> +      deleteBucket(BUCKET_NAME);
> +   }
> +   
> +   @Test(groups = "live", dependsOnMethods = { "testDeleteBucketacl" }, expectedExceptions
= { ResourceNotFoundException.class })
> +   public void testDeleteNotExistingBucketAccessControls() {
> +      api().deleteDefaultObjectAccessControls(BUCKET_NAME, "allUsers");
> +   }
> +
> +   private void deleteBucket(String bucketName) {

Inline?

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