File Coverage

blib/lib/Shared/Examples/Net/Amazon/S3/Fixture/response/bucket_objects_list_v1.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
2             # ABSTRACT: Shared::Examples providing response fixture
3              
4 2     2   12 use strict;
  2         6  
  2         59  
5 2     2   10 use warnings;
  2         4  
  2         48  
6              
7 2     2   806 use Shared::Examples::Net::Amazon::S3::Fixture;
  2         6  
  2         25  
8              
9             Shared::Examples::Net::Amazon::S3::Fixture::fixture content => <<'XML';
10             <?xml version="1.0" encoding="UTF-8"?>
11             <ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
12             <Name>some-bucket</Name>
13             <Prefix/>
14             <Marker/>
15             <MaxKeys>1000</MaxKeys>
16             <IsTruncated>false</IsTruncated>
17             <Contents>
18             <Key>my-image.jpg</Key>
19             <LastModified>2009-10-12T17:50:30.000Z</LastModified>
20             <ETag>&quot;fba9dede5f27731c9771645a39863328&quot;</ETag>
21             <Size>434234</Size>
22             <StorageClass>STANDARD</StorageClass>
23             <Owner>
24             <ID>75aa57f09aa0c8caeab4f8c24e99d10f8e7faeebf76c078efc7c6caea54ba06a</ID>
25             <DisplayName>mtd@amazon.com</DisplayName>
26             </Owner>
27             </Contents>
28             <Contents>
29             <Key>my-third-image.jpg</Key>
30             <LastModified>2009-10-12T17:50:30.000Z</LastModified>
31             <ETag>&quot;1b2cf535f27731c974343645a3985328&quot;</ETag>
32             <Size>64994</Size>
33             <StorageClass>STANDARD_IA</StorageClass>
34             <Owner>
35             <ID>75aa57f09aa0c8caeab4f8c24e99d10f8e7faeebf76c078efc7c6caea54ba06a</ID>
36             <DisplayName>mtd@amazon.com</DisplayName>
37             </Owner>
38             </Contents>
39             </ListBucketResult>
40             XML
41              
42              
43             =pod
44              
45             =encoding UTF-8
46              
47             =head1 NAME
48              
49             Shared::Examples::Net::Amazon::S3::Fixture::response::bucket_objects_list_v1 - Shared::Examples providing response fixture
50              
51             =head1 VERSION
52              
53             version 0.991
54              
55             =head1 AUTHOR
56              
57             Branislav Zahradník <barney@cpan.org>
58              
59             =head1 COPYRIGHT AND LICENSE
60              
61             This software is copyright (c) 2022 by Amazon Digital Services, Leon Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav Zahradník.
62              
63             This is free software; you can redistribute it and/or modify it under
64             the same terms as the Perl 5 programming language system itself.
65              
66             =cut