Curie/ViewModel/ViewManager.pm untested

filter: Statementstmt 0.0% 0 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod n/a totaltotal 0.0% 0 / 30 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use Renard::Incunabula::Common::Setup;
2 package Renard::Curie::ViewModel::ViewManager;
3 # ABSTRACT: Manages the currently open views
4 $Renard::Curie::ViewModel::ViewManager::VERSION = '0.005';
5 use Moo;
6 use Renard::Incunabula::Common::Types qw(InstanceOf Path FileUri PositiveInt PositiveOrZeroInt);
7 use Renard::Incunabula::Document::Types qw(DocumentModel ZoomLevel);
8 use Renard::Block::Format::PDF::Document;
9  
10 use Glib::Object::Subclass
11 'Glib::Object',
12 signals => {
13 'document-changed' => {
14 param_types => [
15 'Glib::Scalar', # DocumentModel
16 ]
17 },
18 'update-view' => {
19 param_types => [
20 'Glib::Scalar', # View
21 ]
22 },
23 },
24 ;
25  
26  
27 with qw(
28 Renard::Curie::ViewModel::ViewManager::Role::Document
29  
30 Renard::Curie::ViewModel::ViewManager::Role::ViewOptions
31 Renard::Curie::ViewModel::ViewManager::Role::GridView
32 Renard::Curie::ViewModel::ViewManager::Role::Zoom
33  
34 Renard::Curie::ViewModel::ViewManager::Role::TTS
35 );
36  
37 1;
38  
39 __END__