File Coverage

blib/lib/Shared/Examples/Net/Amazon/S3/Fixture/response/bucket_objects_list_v1_with_delimiter.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_with_delimiter
2             # ABSTRACT: Shared::Examples providing response fixture
3              
4 2     2   16 use strict;
  2         6  
  2         76  
5 2     2   11 use warnings;
  2         6  
  2         65  
6              
7 2     2   13 use Shared::Examples::Net::Amazon::S3::Fixture;
  2         7  
  2         20  
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></Prefix>
14             <Marker></Marker>
15             <MaxKeys>1000</MaxKeys>
16             <Delimiter>/</Delimiter>
17             <IsTruncated>false</IsTruncated>
18             <Contents>
19             <Key>sample.jpg</Key>
20             <LastModified>2011-02-26T01:56:20.000Z</LastModified>
21             <ETag>&quot;bf1d737a4d46a19f3bced6905cc8b902&quot;</ETag>
22             <Size>142863</Size>
23             <Owner>
24             <ID>canonical-user-id</ID>
25             <DisplayName>display-name</DisplayName>
26             </Owner>
27             <StorageClass>STANDARD</StorageClass>
28             </Contents>
29             <CommonPrefixes>
30             <Prefix>photos/</Prefix>
31             </CommonPrefixes>
32             </ListBucketResult>
33             XML
34              
35             __END__
36              
37             =pod
38              
39             =encoding UTF-8
40              
41             =head1 NAME
42              
43             Shared::Examples::Net::Amazon::S3::Fixture::response::bucket_objects_list_v1_with_delimiter - Shared::Examples providing response fixture
44              
45             =head1 VERSION
46              
47             version 0.99
48              
49             =head1 AUTHOR
50              
51             Branislav Zahradník <barney@cpan.org>
52              
53             =head1 COPYRIGHT AND LICENSE
54              
55             This software is copyright (c) 2021 by Amazon Digital Services, Leon Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav Zahradník.
56              
57             This is free software; you can redistribute it and/or modify it under
58             the same terms as the Perl 5 programming language system itself.
59              
60             =cut