Author: tomaz
Date: Thu Oct  6 11:14:54 2011
New Revision: 1179574

URL: http://svn.apache.org/viewvc?rev=1179574&view=rev
Log:
Add fixtures for Google Storage storage tests.

Added:
    libcloud/trunk/test/storage/fixtures/google_storage/
    
libcloud/trunk/test/storage/fixtures/google_storage/list_container_objects.xml
    
libcloud/trunk/test/storage/fixtures/google_storage/list_container_objects_empty.xml
    
libcloud/trunk/test/storage/fixtures/google_storage/list_container_objects_not_exhausted1.xml
    
libcloud/trunk/test/storage/fixtures/google_storage/list_container_objects_not_exhausted2.xml
    libcloud/trunk/test/storage/fixtures/google_storage/list_containers.xml
    
libcloud/trunk/test/storage/fixtures/google_storage/list_containers_empty.xml

Added: 
libcloud/trunk/test/storage/fixtures/google_storage/list_container_objects.xml
URL: 
http://svn.apache.org/viewvc/libcloud/trunk/test/storage/fixtures/google_storage/list_container_objects.xml?rev=1179574&view=auto
==============================================================================
--- 
libcloud/trunk/test/storage/fixtures/google_storage/list_container_objects.xml 
(added)
+++ 
libcloud/trunk/test/storage/fixtures/google_storage/list_container_objects.xml 
Thu Oct  6 11:14:54 2011
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+    <ListBucketResult xmlns="http://doc.s3.amazonaws.com/2006-03-01";>
+    <Name>test_container</Name>
+    <Prefix></Prefix>
+    <Marker></Marker>
+    <MaxKeys>1000</MaxKeys>
+    <IsTruncated>false</IsTruncated>
+    <Contents>
+        <Key>1.zip</Key>
+        <LastModified>2011-04-09T19:05:18.000Z</LastModified>
+        <ETag>"4397da7a7649e8085de9916c240e8166"</ETag>
+        <Size>1234567</Size>
+        <Owner>
+            <ID>65a011niqo39cdf8ec533ec3d1ccaafsa932</ID>
+        </Owner>
+        <StorageClass>STANDARD</StorageClass>
+    </Contents>
+</ListBucketResult>

Added: 
libcloud/trunk/test/storage/fixtures/google_storage/list_container_objects_empty.xml
URL: 
http://svn.apache.org/viewvc/libcloud/trunk/test/storage/fixtures/google_storage/list_container_objects_empty.xml?rev=1179574&view=auto
==============================================================================
--- 
libcloud/trunk/test/storage/fixtures/google_storage/list_container_objects_empty.xml
 (added)
+++ 
libcloud/trunk/test/storage/fixtures/google_storage/list_container_objects_empty.xml
 Thu Oct  6 11:14:54 2011
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ListBucketResult xmlns="http://doc.s3.amazonaws.com/2006-03-01";>
+    <Name>test_container</Name>
+    <Prefix></Prefix>
+    <Marker></Marker>
+    <MaxKeys>1000</MaxKeys>
+    <IsTruncated>false</IsTruncated>
+</ListBucketResult>

Added: 
libcloud/trunk/test/storage/fixtures/google_storage/list_container_objects_not_exhausted1.xml
URL: 
http://svn.apache.org/viewvc/libcloud/trunk/test/storage/fixtures/google_storage/list_container_objects_not_exhausted1.xml?rev=1179574&view=auto
==============================================================================
--- 
libcloud/trunk/test/storage/fixtures/google_storage/list_container_objects_not_exhausted1.xml
 (added)
+++ 
libcloud/trunk/test/storage/fixtures/google_storage/list_container_objects_not_exhausted1.xml
 Thu Oct  6 11:14:54 2011
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+    <ListBucketResult xmlns="http://doc.s3.amazonaws.com/2006-03-01";>
+    <Name>test_container</Name>
+    <Prefix></Prefix>
+    <Marker></Marker>
+    <MaxKeys>1000</MaxKeys>
+    <IsTruncated>true</IsTruncated>
+    <Contents>
+        <Key>1.zip</Key>
+        <LastModified>2011-04-09T19:05:18.000Z</LastModified>
+        <ETag>"4397da7a7649e8085de9916c240e8166"</ETag>
+        <Size>1234567</Size>
+        <Owner>
+            <ID>65a011niqo39cdf8ec533ec3d1ccaafsa932</ID>
+        </Owner>
+        <StorageClass>STANDARD</StorageClass>
+    </Contents>
+    <Contents>
+        <Key>2.zip</Key>
+        <LastModified>2011-04-09T19:05:18.000Z</LastModified>
+        <ETag>"4397da7a7649e8085de9916c240e8166"</ETag>
+        <Size>1234567</Size>
+        <Owner>
+            <ID>65a011niqo39cdf8ec533ec3d1ccaafsa932</ID>
+        </Owner>
+        <StorageClass>STANDARD</StorageClass>
+    </Contents>
+    <Contents>
+        <Key>3.zip</Key>
+        <LastModified>2011-04-09T19:05:18.000Z</LastModified>
+        <ETag>"4397da7a7649e8085de9916c240e8166"</ETag>
+        <Size>1234567</Size>
+        <Owner>
+            <ID>65a011niqo39cdf8ec533ec3d1ccaafsa932</ID>
+        </Owner>
+        <StorageClass>STANDARD</StorageClass>
+    </Contents>
+</ListBucketResult>

Added: 
libcloud/trunk/test/storage/fixtures/google_storage/list_container_objects_not_exhausted2.xml
URL: 
http://svn.apache.org/viewvc/libcloud/trunk/test/storage/fixtures/google_storage/list_container_objects_not_exhausted2.xml?rev=1179574&view=auto
==============================================================================
--- 
libcloud/trunk/test/storage/fixtures/google_storage/list_container_objects_not_exhausted2.xml
 (added)
+++ 
libcloud/trunk/test/storage/fixtures/google_storage/list_container_objects_not_exhausted2.xml
 Thu Oct  6 11:14:54 2011
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+    <ListBucketResult xmlns="http://doc.s3.amazonaws.com/2006-03-01";>
+    <Name>test_container</Name>
+    <Prefix></Prefix>
+    <Marker></Marker>
+    <MaxKeys>3</MaxKeys>
+    <IsTruncated>false</IsTruncated>
+    <Contents>
+        <Key>4.zip</Key>
+        <LastModified>2011-04-09T19:05:18.000Z</LastModified>
+        <ETag>"4397da7a7649e8085de9916c240e8166"</ETag>
+        <Size>1234567</Size>
+        <Owner>
+            <ID>65a011niqo39cdf8ec533ec3d1ccaafsa932</ID>
+        </Owner>
+        <StorageClass>STANDARD</StorageClass>
+    </Contents>
+    <Contents>
+        <Key>5.zip</Key>
+        <LastModified>2011-04-09T19:05:18.000Z</LastModified>
+        <ETag>"4397da7a7649e8085de9916c240e8166"</ETag>
+        <Size>1234567</Size>
+        <Owner>
+            <ID>65a011niqo39cdf8ec533ec3d1ccaafsa932</ID>
+        </Owner>
+        <StorageClass>STANDARD</StorageClass>
+    </Contents>
+</ListBucketResult>

Added: libcloud/trunk/test/storage/fixtures/google_storage/list_containers.xml
URL: 
http://svn.apache.org/viewvc/libcloud/trunk/test/storage/fixtures/google_storage/list_containers.xml?rev=1179574&view=auto
==============================================================================
--- libcloud/trunk/test/storage/fixtures/google_storage/list_containers.xml 
(added)
+++ libcloud/trunk/test/storage/fixtures/google_storage/list_containers.xml Thu 
Oct  6 11:14:54 2011
@@ -0,0 +1,16 @@
+<ListAllMyBucketsResult xmlns="http://doc.s3.amazonaws.com/2006-03-01";>
+    <Owner>
+        
<ID>af4rf45db0927637c66fb848dfc972b8b5126e1237bde6fe02862b11481fdfd9</ID>
+        <DisplayName>foobar</DisplayName>
+    </Owner>
+    <Buckets>
+        <Bucket>
+            <Name>test1</Name>
+            <CreationDate>2011-04-09T12:34:49.000Z</CreationDate>
+        </Bucket>
+        <Bucket>
+            <Name>test2</Name>
+            <CreationDate>2011-02-09T12:34:49.000Z</CreationDate>
+        </Bucket>
+    </Buckets>
+</ListAllMyBucketsResult>

Added: 
libcloud/trunk/test/storage/fixtures/google_storage/list_containers_empty.xml
URL: 
http://svn.apache.org/viewvc/libcloud/trunk/test/storage/fixtures/google_storage/list_containers_empty.xml?rev=1179574&view=auto
==============================================================================
--- 
libcloud/trunk/test/storage/fixtures/google_storage/list_containers_empty.xml 
(added)
+++ 
libcloud/trunk/test/storage/fixtures/google_storage/list_containers_empty.xml 
Thu Oct  6 11:14:54 2011
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ListAllMyBucketsResult xmlns="http://doc.s3.amazonaws.com/2006-03-01";>
+    <Owner>
+        
<ID>af4rf45db0927637c66fb848dfc972b8b5126e1237bde6fe02862b11481fdfd9</ID>
+        <DisplayName>foobar</DisplayName>
+    </Owner>
+    <Buckets>
+    </Buckets>
+</ListAllMyBucketsResult>


Reply via email to