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:16 GMT
> +      assertNotNull(response);
> +      assertEquals(response.getEntity(), "allUsers");
> +      assertEquals(response.getRole(), ObjectRole.OWNER);
> +   }
> +
> +   @Test(groups = "live", dependsOnMethods = "testUpdateDefaultObjectacl")
> +   public void testListDefaultObjectacl() {
> +      ListDefaultObjectAccessControls response = api().listDefaultObjectAccessControls(BUCKET_NAME);
> +
> +      assertNotNull(response);
> +      assertEquals(response.getKind(), Kind.OBJECT_ACCESS_CONTROLS);
> +      assertNotNull(response.getItems());
> +   }
> +
> +   @Test(groups = "live", dependsOnMethods = "testUpdateDefaultObjectacl")
> +   public void testPatchDefaultObjectacl() {

Same comment as for other PRs: race condition with `testGet...` here.

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