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