protected override void SetUp()
        {
            try
            {
                connection.CreateContainer(Constants.CONTAINER_NAME);
                connection.MarkContainerAsPublic(Constants.CONTAINER_NAME);
                connection.SetDetailsOnPublicContainer(Constants.CONTAINER_NAME, false, 7200, "Mozilla", "testdomain.com");
                connection.PutStorageItem(Constants.CONTAINER_NAME, Constants.StorageItemName);
                account = connection.GetAccountInformation();

            }
            finally
            {
                connection.DeleteStorageItem(Constants.CONTAINER_NAME, Constants.StorageItemName);
                connection.MarkContainerAsPrivate(Constants.CONTAINER_NAME);
                connection.DeleteContainer(Constants.CONTAINER_NAME);
            }
        }
        protected override void SetUp()
        {
            try
            {
                connection.CreateContainer(Constants.CONTAINER_NAME);

                connection.PutStorageItem(Constants.CONTAINER_NAME, Constants.StorageItemName);

                account = connection.GetAccountInformation();
            }
            finally
            {
                connection.DeleteStorageItem(Constants.CONTAINER_NAME, Constants.StorageItemName);

                connection.DeleteContainer(Constants.CONTAINER_NAME);
            }
        }
Esempio n. 3
0
 public void SetUp()
 {
     accountInformation = new AccountInformation("3", "1024");
 }