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] Fixes a windows locale bug with the "Everyone" principal (#879)
Date Tue, 17 Nov 2015 05:53:58 GMT
> @@ -127,6 +128,20 @@ public void testCreateContainer() {
>        TestUtils.directoryExists(TARGET_CONTAINER_NAME, true);
>     }
>  
> +   public void testCreateContainerAccess() {
> +      boolean result;
> +
> +      TestUtils.directoryExists(TARGET_CONTAINER_NAME, false);
> +      result = storageStrategy.createContainer(CONTAINER_NAME);
> +      assertTrue(result, "Container not created");
> +      TestUtils.directoryExists(TARGET_CONTAINER_NAME, true);
> +
> +      storageStrategy.setContainerAccess(CONTAINER_NAME, ContainerAccess.PRIVATE);
> +      assertEquals(storageStrategy.getContainerAccess(CONTAINER_NAME), ContainerAccess.PRIVATE);
> +      storageStrategy.setContainerAccess(CONTAINER_NAME, ContainerAccess.PUBLIC_READ);
> +      assertEquals(storageStrategy.getContainerAccess(CONTAINER_NAME), ContainerAccess.PUBLIC_READ);
> +   }

Just curious - is this related to the change above, or just backfilling?

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