blib/lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Basename.pm untested

filter: Statementstmt 0.0% 0 / 23 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod n/a totaltotal 0.0% 0 / 31 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 # -*- coding: utf-8 -*-
2 # Copyright (C) 2011, 2014 Rocky Bernstein <rocky@cpan.org>
3 use warnings; no warnings 'redefine'; no warnings 'once';
4 use rlib '../../../../..';
5  
6 package Devel::Trepan::CmdProcessor::Command::Show::Basename;
7 use Devel::Trepan::CmdProcessor::Command::Subcmd::Core;
8  
9 @ISA = qw(Devel::Trepan::CmdProcessor::Command::ShowBoolSubcmd);
10 # Values inherited from parent
11 use vars @Devel::Trepan::CmdProcessor::Command::Subcmd::SUBCMD_VARS;
12  
13 =pod
14  
15 =head2 Synopsis:
16  
17 =cut
18 our $HELP = <<"EOH";
19 =pod
20  
21 B<show basename>
22  
23 Show whether file basename are used showing file names.
24  
25 =head2 See also:
26  
27 L<C<set basename>|Devel::Trepan::CmdProcessor::Command::Set::Basename>
28 =cut
29 EOH
30 our $SHORT_HELP = "Show whether file basename are used showing file names";
31 our $MIN_ABBREV = length('ba');
32  
33 unless (caller) {
34 # Demo it.
35 # require_relative '../../mock'
36  
37 # # FIXME: DRY the below code
38 # dbgr, cmd = MockDebugger::setup('show')
39 # subcommand = __PACKAGE__->new(cmd)
40 # testcmdMgr = Trepan::Subcmd.new(subcommand)
41  
42 # subcommand.run_show_bool
43 # name = File.confirm(__FILE__, '.rb')
44 # subcommand.summary_help(name)
45 }
46  
47 1;