> @@ -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

Reply via email to