| 1 | 1 | ▶ | use Renard::Incunabula::Common::Setup; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | package Renard::Block::Format::PDF::Devel::TestHelper; | ||
| 3 | # ABSTRACT: A test helper with functions useful for testing PDF documents | ||
| 4 | $Renard::Block::Format::PDF::Devel::TestHelper::VERSION = '0.005'; | ||
| 5 | 1 | ▶ | use Renard::Incunabula::Common::Types qw(InstanceOf); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 1 | ▶ | use Renard::Incunabula::Devel::TestHelper; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 0 | ▶ | use Renard::Block::Format::PDF::Document; |
|
Subroutine
BEGIN: called CC=1 SCAR=2.6
| |||
| 9 | |||
| 10 | classmethod pdf_reference_document_path() { | ||
| 11 | Renard::Incunabula::Devel::TestHelper->test_data_directory->child(qw(PDF Adobe pdf_reference_1-7.pdf)); | ||
| 12 | } | ||
| 13 | |||
| 14 | classmethod pdf_reference_document_object() :ReturnType(InstanceOf['Renard::Block::Format::PDF::Document']) { | ||
| 15 | Renard::Block::Format::PDF::Document->new( | ||
| 16 | filename => $class->pdf_reference_document_path | ||
| 17 | ); | ||
| 18 | } | ||
| 19 | |||
| 20 | 1; | ||
| 21 | |||
| 22 | __END__ | ||