Devtools/Resultstore/V2/Configuration/Types.pm untested

filter: Statementstmt 0.0% 0 / 55 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 60 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Devtools::Resultstore::V2::Configuration::Types;
2  
3 use strict;
4 use warnings;
5  
6 use Type::Library -base;
7 use Type::Utils -all;
8 use Types::Standard -types;
9  
10 declare 'Configuration',
11 as InstanceOf['Google::Devtools::Resultstore::V2::Configuration::Configuration'];
12  
13 coerce 'Configuration',
14 from HashRef, via { 'Google::Devtools::Resultstore::V2::Configuration::Configuration'->new($_) };
15  
16 declare 'RepeatedConfiguration',
17 as ArrayRef[Configuration()];
18  
19 coerce 'RepeatedConfiguration',
20 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Resultstore::V2::Configuration::Configuration'->new($_) } @$_ ] };
21  
22 declare 'MapStringConfiguration',
23 as HashRef[Configuration()];
24  
25 declare 'Id',
26 as InstanceOf['Google::Devtools::Resultstore::V2::Configuration::Configuration::Id'];
27  
28 coerce 'Id',
29 from HashRef, via { 'Google::Devtools::Resultstore::V2::Configuration::Configuration::Id'->new($_) };
30  
31 declare 'RepeatedId',
32 as ArrayRef[Id()];
33  
34 coerce 'RepeatedId',
35 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Resultstore::V2::Configuration::Configuration::Id'->new($_) } @$_ ] };
36  
37 declare 'MapStringId',
38 as HashRef[Id()];
39  
40 declare 'ConfigurationAttributes',
41 as InstanceOf['Google::Devtools::Resultstore::V2::Configuration::ConfigurationAttributes'];
42  
43 coerce 'ConfigurationAttributes',
44 from HashRef, via { 'Google::Devtools::Resultstore::V2::Configuration::ConfigurationAttributes'->new($_) };
45  
46 declare 'RepeatedConfigurationAttributes',
47 as ArrayRef[ConfigurationAttributes()];
48  
49 coerce 'RepeatedConfigurationAttributes',
50 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Resultstore::V2::Configuration::ConfigurationAttributes'->new($_) } @$_ ] };
51  
52 declare 'MapStringConfigurationAttributes',
53 as HashRef[ConfigurationAttributes()];
54  
55 1;
56  
57 __END__