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