File Coverage

blib/lib/Shared/Examples/Net/Amazon/S3/Fixture/response/bucket_objects_list_v1_google_cloud_storage.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
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     1   7 use strict;
  1         3  
  1         31  
9 1     1   6 use warnings;
  1         2  
  1         28  
10              
11 1     1   5 use Shared::Examples::Net::Amazon::S3::Fixture;
  1         3  
  1         8  
12              
13             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              
41             =pod
42              
43             =encoding UTF-8
44              
45             =head1 NAME
46              
47             Shared::Examples::Net::Amazon::S3::Fixture::response::bucket_objects_list_v1_google_clout_storage - Shared::Examples providing response fixture
48              
49             =head1 VERSION
50              
51             version 0.991
52              
53             =head1 AUTHOR
54              
55             Branislav Zahradník <barney@cpan.org>
56              
57             =head1 COPYRIGHT AND LICENSE
58              
59             This software is copyright (c) 2022 by Amazon Digital Services, Leon Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav Zahradník.
60              
61             This is free software; you can redistribute it and/or modify it under
62             the same terms as the Perl 5 programming language system itself.
63              
64             =cut