Ejemplo n.º 1
0
        public void FileRoot()
        {
            string uri = S3V4URLHelpers.CreateURIString("us-west-2", "dxw", "MyFile.txt");

            Assert.AreEqual("https://dxw.s3-us-west-2.amazonaws.com/MyFile.txt", uri);
        }
Ejemplo n.º 2
0
        public void EmptyRegion()
        {
            string uri = S3V4URLHelpers.CreateURIString();

            Assert.AreEqual("https://s3.amazonaws.com/", uri);
        }
Ejemplo n.º 3
0
        public void BucketRoot()
        {
            string uri = S3V4URLHelpers.CreateURIString("us-west-2", "dxw");

            Assert.AreEqual("https://dxw.s3-us-west-2.amazonaws.com/", uri);
        }
Ejemplo n.º 4
0
        public void FolderFile()
        {
            string uri = S3V4URLHelpers.CreateURIString("us-west-2", "dxw", "MyFolder/MyFile1.txt");

            Aver.AreEqual("https://dxw.s3-us-west-2.amazonaws.com/MyFolder/MyFile1.txt", uri);
        }