| 1 | 1 | ▶ | use 5.008; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 2 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 1 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | |||||||||||
| 5 | package Data::Conveyor::App::Test::SIF::Unit; | ||||||||||
| 6 | 1 | ▶ | BEGIN { | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | 1 | $Data::Conveyor::App::Test::SIF::Unit::VERSION = '1.103130'; | |||||||||
| 8 | } | ||||||||||
| 9 | # ABSTRACT: Stage-based conveyor-belt-like ticket handling system | ||||||||||
| 10 | 1 | ▶ | use Test::More; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 11 | 1 | ▶ | use parent 'Class::Scaffold::App::Test::YAMLDriven'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 12 | |||||||||||
| 13 | 0 | ▶ | sub run_subtest { | ||||||||
|
Subroutine
run_subtest: not called CC=3 SCAR=24.8
Pod
documented
| |||||||||||
| 14 | 0 | my $self = shift; | |||||||||
| 15 | 0 | my $test_def = $self->current_test_def->{execute}; | |||||||||
| 16 | 0 | my $meth = $test_def->{method}; | |||||||||
| 17 | 0 | $self->expect($self->current_test_def->{expect}); | |||||||||
| 18 | 0 | my $sif = $self->delegate->make_obj('service_interface_soap'); | |||||||||
| 19 | 0 | ▶ | $sif->args(%{ $test_def->{param} }) if $test_def->{param}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 20 | 0 | my $result = $sif->$meth; | |||||||||
| 21 | 0 | foreach my $check (keys %{ $self->{expect} }) { | |||||||||
| 22 | 0 | my $call = "check_$check"; | |||||||||
| 23 | 0 | $self->$call($result); | |||||||||
| 24 | } | ||||||||||
| 25 | } | ||||||||||
| 26 | 1 | 1; | |||||||||
| 27 | |||||||||||
| 28 | |||||||||||
| 29 | __END__ | ||||||||||