blib/lib/Gapp/Meta/Widget/Native/Role/FileChooser.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Gapp::Meta::Widget::Native::Role::FileChooser;
2 {
3 $Gapp::Meta::Widget::Native::Role::FileChooser::VERSION = '0.60';
4 }
5  
6 use Moose::Role;
7 use MooseX::SemiAffordanceAccessor;
8  
9 has 'action' => (
10 is => 'rw',
11 isa => 'Str',
12 default => 'open',
13 );
14  
15 has 'filters' => (
16 isa => 'ArrayRef',
17 default => sub { [] },
18 traits => [qw( Array )],
19 handles => {
20 add_filter => 'push',
21 filters => 'elements',
22 }
23 );
24  
25  
26 1;
27  
28 __END__