Core/Transmitter/PerlTransmitter.pm untested

filter: Statementstmt 0.0% 0 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 9 Podpod 0.0% 0 / 4 totaltotal 0.0% 0 / 37 CC 1 SCAR 6.9
CC
1
Cov
0%
t_send_command
2.0
t_activate
2.0
t_set_config_source
2.0
CRAP 2.0
1 package Javonet::Core::Transmitter::PerlTransmitter;
2 use strict;
3 use warnings;
4 use Cwd;
5 use aliased 'Javonet::Core::Transmitter::PerlTransmitterWrapper' => 'PerlTransmitterWrapper';
6 use Exporter qw(import);
7 our @EXPORT = qw(t_send_command t_activate t_set_config_source t_set_javonet_working_directory);
8
9 sub t_send_command {
10 my ($self, $message_byte_array_ref) = @_;
11 return PerlTransmitterWrapper->tw_send_command($message_byte_array_ref);
12 }
13
14 sub t_activate {
15 my ($self, $licenseKey) = @_;
16 return PerlTransmitterWrapper->tw_activate($licenseKey);
17 }
18
19 sub t_set_config_source {
20 my ($self, $config_path) = @_;
21 PerlTransmitterWrapper->tw_set_config_source($config_path);
22 }
23
24 sub t_set_javonet_working_directory {
25 my ($self, $working_directory) = @_;
26 PerlTransmitterWrapper->tw_set_javonet_working_directory($working_directory);
27 }
28
29 1;