~ubuntu-branches/ubuntu/trusty/bioperl/trusty

« back to all changes in this revision

Viewing changes to t/lib/Test/Builder/Tester/Color.pm

  • Committer: Package Import Robot
  • Author(s): Charles Plessy
  • Date: 2013-09-22 13:39:48 UTC
  • mfrom: (3.1.11 sid)
  • Revision ID: package-import@ubuntu.com-20130922133948-c6z62zegjyp7ztou
Tags: 1.6.922-1
* New upstream release.
* Replaces and Breaks grinder (<< 0.5.3-3~) because of overlaping contents.
  Closes: #722910
* Stop Replacing and Breaking bioperl ( << 1.6.9 ): not needed anymore. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
package Test::Builder::Tester::Color;
2
 
 
3
 
use strict;
4
 
 
5
 
require Test::Builder::Tester;
6
 
 
7
 
=head1 NAME
8
 
 
9
 
Test::Builder::Tester::Color - turn on colour in Test::Builder::Tester
10
 
 
11
 
=head1 SYNOPSIS
12
 
 
13
 
   When running a test script
14
 
 
15
 
     perl -MTest::Builder::Tester::Color test.t
16
 
 
17
 
=head1 DESCRIPTION
18
 
 
19
 
Importing this module causes the subroutine color in Test::Builder::Tester
20
 
to be called with a true value causing colour highlighting to be turned
21
 
on in debug output.
22
 
 
23
 
The sole purpose of this module is to enable colour highlighting
24
 
from the command line.
25
 
 
26
 
=cut
27
 
 
28
 
sub import
29
 
{
30
 
    Test::Builder::Tester::color(1);
31
 
}
32
 
 
33
 
=head1 AUTHOR
34
 
 
35
 
Copyright Mark Fowler E<lt>mark@twoshortplanks.comE<gt> 2002.
36
 
 
37
 
This program is free software; you can redistribute it
38
 
and/or modify it under the same terms as Perl itself.
39
 
 
40
 
=head1 BUGS
41
 
 
42
 
This module will have no effect unless Term::ANSIColor is installed.
43
 
 
44
 
=head1 SEE ALSO
45
 
 
46
 
L<Test::Builder::Tester>, L<Term::ANSIColor>
47
 
 
48
 
=cut
49
 
 
50
 
1;