Shared/Examples/Net/Amazon/S3/Fixture/response/bucket_objects_list_v1_google_cloud_storage.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Shared/Examples/Net/Amazon/S3/Fixture/response/bucket_objects_list_v1.pm ↑ Summary Shared/Examples/Net/Amazon/S3/Fixture/response/bucket_objects_list_v1_with_delimiter.pm »
1 # PODNAME: Shared::Examples::Net::Amazon::S3::Fixture::response::bucket_objects_list_v1_google_clout_storage
2 # ABSTRACT: Shared::Examples providing response fixture
3  
4 # Google uses different XML namespace uri
5 # XML namespace is treated by an XML parser as a string,
6 # its value is not used to fetch any data, so we need extra test
7  
8 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 ▶use Shared::Examples::Net::Amazon::S3::Fixture;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 1 Shared::Examples::Net::Amazon::S3::Fixture::fixture content => <<'XML';
14 <?xml version="1.0" encoding="UTF-8"?>
15 <ListBucketResult xmlns='http://doc.s3.amazonaws.com/2006-03-01'>
16 <Name>gcs-bucket</Name>
17 <Prefix></Prefix>
18 <Marker></Marker>
19 <NextMarker>next/marker/is/foo</NextMarker>
20 <IsTruncated>true</IsTruncated>
21 <Contents>
22 <Key>path/to/value</Key>
23 <Generation>1473499153424000</Generation>
24 <MetaGeneration>1</MetaGeneration>
25 <LastModified>2017-04-21T22:06:03.413Z</LastModified>
26 <ETag>"1f52bad2879ca96dacd7a40f33001230"</ETag>
27 <Size>742213</Size>
28 </Contents>
29 <Contents>
30 <Key>path/to/value2</Key>
31 <Generation>1473499153424001</Generation>
32 <MetaGeneration>1</MetaGeneration>
33 <LastModified>2018-04-21T22:06:03.413Z</LastModified>
34 <ETag>"1f52bad2889ca96dacd7a40f33001230"</ETag>
35 <Size>742214</Size>
36 </Contents>
37 </ListBucketResult>
38 XML
39  
40 __END__
« Shared/Examples/Net/Amazon/S3/Fixture/response/bucket_objects_list_v1.pm ↑ Summary Shared/Examples/Net/Amazon/S3/Fixture/response/bucket_objects_list_v1_with_delimiter.pm »