| Test-Run-Plugin-ColorFileVerdicts documentation | Contained in the Test-Run-Plugin-ColorFileVerdicts distribution. |
Test::Run::Plugin::ColorFileVerdicts::CanonFailedObj - a subclass of the ::CanonFailedObj that renders the failed line with colors.
This is a subclass of the ::CanonFailedObj that renders the failed line with colors.
Shlomi Fish, <shlomif at cpan.org>
Please report any bugs or feature requests to
bug-test-run-plugin-colorfileverdicts at rt.cpan.org, or through the web interface at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Run-Plugin-ColorFileVerdicts.
I will be notified, and then you'll automatically be notified of progress on
your bug as I make changes.
You can find documentation for this module with the perldoc command.
perldoc Test::Run::Plugin::ColorFileVerdicts::ColorBase
You can also look for information at:
http://cpanratings.perl.org/d/Test-Run-Plugin-ColorFileVerdicts
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-Run-Plugin-ColorFileVerdicts
http://search.cpan.org/dist/Test-Run-Plugin-ColorFileVerdicts
Copyright 2007 Shlomi Fish, all rights reserved.
This program is released under the following license: MIT X11
| Test-Run-Plugin-ColorFileVerdicts documentation | Contained in the Test-Run-Plugin-ColorFileVerdicts distribution. |
package Test::Run::Plugin::ColorFileVerdicts::CanonFailedObj; use strict; use warnings;
use Moose; extends( 'Test::Run::Plugin::ColorFileVerdicts::ColorBase' ); has 'individual_test_file_verdict_colors' => (is => "rw", isa => "Maybe[HashRef]") ; use MRO::Compat; use Term::ANSIColor; sub _get_failed_string { my ($self, $canon) = @_; my $color = $self->_get_individual_test_file_color("failure"); return color($color) . $self->next::method($canon) . color("reset") ; }
1;