diff options
author | Steve Hay <steve.m.hay@googlemail.com> | 2018-02-08 13:37:16 +0000 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2018-02-08 13:37:16 +0000 |
commit | 619796475c05dd35eaf89bf12f03f0a433f3d65b (patch) | |
tree | f7764c34ff73dbea2d03fb12a9a876ed6d59386f /cpan/Test-Simple/lib/Test2/EventFacet | |
parent | 9e173cc3ce5b8eb021876ce90909337273b463ba (diff) | |
download | perl-619796475c05dd35eaf89bf12f03f0a433f3d65b.tar.gz |
Upgrade Test-Simple from version 1.302120 to 1.302122
Diffstat (limited to 'cpan/Test-Simple/lib/Test2/EventFacet')
-rw-r--r-- | cpan/Test-Simple/lib/Test2/EventFacet/About.pm | 4 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test2/EventFacet/Amnesty.pm | 4 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test2/EventFacet/Assert.pm | 4 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test2/EventFacet/Control.pm | 4 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test2/EventFacet/Error.pm | 4 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test2/EventFacet/Info.pm | 4 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test2/EventFacet/Meta.pm | 4 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test2/EventFacet/Parent.pm | 4 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test2/EventFacet/Plan.pm | 4 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test2/EventFacet/Render.pm | 106 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test2/EventFacet/Trace.pm | 4 |
11 files changed, 126 insertions, 20 deletions
diff --git a/cpan/Test-Simple/lib/Test2/EventFacet/About.pm b/cpan/Test-Simple/lib/Test2/EventFacet/About.pm index 67f150d945..9b8bf2c3a3 100644 --- a/cpan/Test-Simple/lib/Test2/EventFacet/About.pm +++ b/cpan/Test-Simple/lib/Test2/EventFacet/About.pm @@ -2,7 +2,7 @@ package Test2::EventFacet::About; use strict; use warnings; -our $VERSION = '1.302120'; +our $VERSION = '1.302122'; BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) } use Test2::Util::HashBase qw{ -package -no_display }; @@ -70,7 +70,7 @@ F<http://github.com/Test-More/test-more/>. =head1 COPYRIGHT -Copyright 2016 Chad Granum E<lt>exodist@cpan.orgE<gt>. +Copyright 2018 Chad Granum E<lt>exodist@cpan.orgE<gt>. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/cpan/Test-Simple/lib/Test2/EventFacet/Amnesty.pm b/cpan/Test-Simple/lib/Test2/EventFacet/Amnesty.pm index 8870707d75..29de90f7ae 100644 --- a/cpan/Test-Simple/lib/Test2/EventFacet/Amnesty.pm +++ b/cpan/Test-Simple/lib/Test2/EventFacet/Amnesty.pm @@ -2,7 +2,7 @@ package Test2::EventFacet::Amnesty; use strict; use warnings; -our $VERSION = '1.302120'; +our $VERSION = '1.302122'; sub is_list { 1 } @@ -81,7 +81,7 @@ F<http://github.com/Test-More/test-more/>. =head1 COPYRIGHT -Copyright 2016 Chad Granum E<lt>exodist@cpan.orgE<gt>. +Copyright 2018 Chad Granum E<lt>exodist@cpan.orgE<gt>. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/cpan/Test-Simple/lib/Test2/EventFacet/Assert.pm b/cpan/Test-Simple/lib/Test2/EventFacet/Assert.pm index 151ba9c41f..772093d27d 100644 --- a/cpan/Test-Simple/lib/Test2/EventFacet/Assert.pm +++ b/cpan/Test-Simple/lib/Test2/EventFacet/Assert.pm @@ -2,7 +2,7 @@ package Test2::EventFacet::Assert; use strict; use warnings; -our $VERSION = '1.302120'; +our $VERSION = '1.302122'; BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) } use Test2::Util::HashBase qw{ -pass -no_debug -number }; @@ -83,7 +83,7 @@ F<http://github.com/Test-More/test-more/>. =head1 COPYRIGHT -Copyright 2016 Chad Granum E<lt>exodist@cpan.orgE<gt>. +Copyright 2018 Chad Granum E<lt>exodist@cpan.orgE<gt>. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/cpan/Test-Simple/lib/Test2/EventFacet/Control.pm b/cpan/Test-Simple/lib/Test2/EventFacet/Control.pm index eae4138e98..41a5cbff8f 100644 --- a/cpan/Test-Simple/lib/Test2/EventFacet/Control.pm +++ b/cpan/Test-Simple/lib/Test2/EventFacet/Control.pm @@ -2,7 +2,7 @@ package Test2::EventFacet::Control; use strict; use warnings; -our $VERSION = '1.302120'; +our $VERSION = '1.302122'; BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) } use Test2::Util::HashBase qw{ -global -terminate -halt -has_callback -encoding }; @@ -90,7 +90,7 @@ F<http://github.com/Test-More/test-more/>. =head1 COPYRIGHT -Copyright 2016 Chad Granum E<lt>exodist@cpan.orgE<gt>. +Copyright 2018 Chad Granum E<lt>exodist@cpan.orgE<gt>. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/cpan/Test-Simple/lib/Test2/EventFacet/Error.pm b/cpan/Test-Simple/lib/Test2/EventFacet/Error.pm index 6425568b77..71c51e5fd5 100644 --- a/cpan/Test-Simple/lib/Test2/EventFacet/Error.pm +++ b/cpan/Test-Simple/lib/Test2/EventFacet/Error.pm @@ -2,7 +2,7 @@ package Test2::EventFacet::Error; use strict; use warnings; -our $VERSION = '1.302120'; +our $VERSION = '1.302122'; sub facet_key { 'errors' } sub is_list { 1 } @@ -83,7 +83,7 @@ F<http://github.com/Test-More/test-more/>. =head1 COPYRIGHT -Copyright 2016 Chad Granum E<lt>exodist@cpan.orgE<gt>. +Copyright 2018 Chad Granum E<lt>exodist@cpan.orgE<gt>. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/cpan/Test-Simple/lib/Test2/EventFacet/Info.pm b/cpan/Test-Simple/lib/Test2/EventFacet/Info.pm index c5cfb6d616..f032d78381 100644 --- a/cpan/Test-Simple/lib/Test2/EventFacet/Info.pm +++ b/cpan/Test-Simple/lib/Test2/EventFacet/Info.pm @@ -2,7 +2,7 @@ package Test2::EventFacet::Info; use strict; use warnings; -our $VERSION = '1.302120'; +our $VERSION = '1.302122'; sub is_list { 1 } @@ -92,7 +92,7 @@ F<http://github.com/Test-More/test-more/>. =head1 COPYRIGHT -Copyright 2016 Chad Granum E<lt>exodist@cpan.orgE<gt>. +Copyright 2018 Chad Granum E<lt>exodist@cpan.orgE<gt>. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/cpan/Test-Simple/lib/Test2/EventFacet/Meta.pm b/cpan/Test-Simple/lib/Test2/EventFacet/Meta.pm index a7dd9caac4..b1fffdcc5f 100644 --- a/cpan/Test-Simple/lib/Test2/EventFacet/Meta.pm +++ b/cpan/Test-Simple/lib/Test2/EventFacet/Meta.pm @@ -2,7 +2,7 @@ package Test2::EventFacet::Meta; use strict; use warnings; -our $VERSION = '1.302120'; +our $VERSION = '1.302122'; BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) } use vars qw/$AUTOLOAD/; @@ -94,7 +94,7 @@ F<http://github.com/Test-More/test-more/>. =head1 COPYRIGHT -Copyright 2016 Chad Granum E<lt>exodist@cpan.orgE<gt>. +Copyright 2018 Chad Granum E<lt>exodist@cpan.orgE<gt>. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/cpan/Test-Simple/lib/Test2/EventFacet/Parent.pm b/cpan/Test-Simple/lib/Test2/EventFacet/Parent.pm index dcf9361436..142d24a9ad 100644 --- a/cpan/Test-Simple/lib/Test2/EventFacet/Parent.pm +++ b/cpan/Test-Simple/lib/Test2/EventFacet/Parent.pm @@ -2,7 +2,7 @@ package Test2::EventFacet::Parent; use strict; use warnings; -our $VERSION = '1.302120'; +our $VERSION = '1.302122'; use Carp qw/confess/; @@ -88,7 +88,7 @@ F<http://github.com/Test-More/test-more/>. =head1 COPYRIGHT -Copyright 2016 Chad Granum E<lt>exodist@cpan.orgE<gt>. +Copyright 2018 Chad Granum E<lt>exodist@cpan.orgE<gt>. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/cpan/Test-Simple/lib/Test2/EventFacet/Plan.pm b/cpan/Test-Simple/lib/Test2/EventFacet/Plan.pm index e9f56f5a51..3d55d99116 100644 --- a/cpan/Test-Simple/lib/Test2/EventFacet/Plan.pm +++ b/cpan/Test-Simple/lib/Test2/EventFacet/Plan.pm @@ -2,7 +2,7 @@ package Test2::EventFacet::Plan; use strict; use warnings; -our $VERSION = '1.302120'; +our $VERSION = '1.302122'; BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) } use Test2::Util::HashBase qw{ -count -skip -none }; @@ -84,7 +84,7 @@ F<http://github.com/Test-More/test-more/>. =head1 COPYRIGHT -Copyright 2016 Chad Granum E<lt>exodist@cpan.orgE<gt>. +Copyright 2018 Chad Granum E<lt>exodist@cpan.orgE<gt>. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/cpan/Test-Simple/lib/Test2/EventFacet/Render.pm b/cpan/Test-Simple/lib/Test2/EventFacet/Render.pm new file mode 100644 index 0000000000..b5255bc787 --- /dev/null +++ b/cpan/Test-Simple/lib/Test2/EventFacet/Render.pm @@ -0,0 +1,106 @@ +package Test2::EventFacet::Render; +use strict; +use warnings; + +our $VERSION = '1.302122'; + +sub is_list { 1 } + +BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) } +use Test2::Util::HashBase qw{ -tag -facet -mode }; + +1; + +__END__ + +=pod + +=encoding UTF-8 + +=head1 NAME + +Test2::EventFacet::Render - Facet that dictates how to render an event. + +=head1 DESCRIPTION + +This facet is used to dictate how the event should be rendered by the standard +test2 rendering tools. If this facet is present then ONLY what is specified by +it will be rendered. It is assumed that anything important or note-worthy will +be present here, no other facets will be considered for rendering/display. + +This facet is a list type, you can add as many items as needed. + +=head1 FIELDS + +=over 4 + +=item $string = $render->[#]->{details} + +=item $string = $render->[#]->details() + +Human readable text for display. + +=item $string = $render->[#]->{tag} + +=item $string = $render->[#]->tag() + +Tag that should prefix/identify the main text. + +=item $string = $render->[#]->{facet} + +=item $string = $render->[#]->facet() + +Optional, if the display text was generated from another facet this should +state what facet it was. + +=item $mode = $render->[#]->mode{} + +=item $mode = $render->[#]->mode() + +=over 4 + +=item calculated + +Calculated means the facet was generated from another facet. Calculated facets +may be cleared and regenerated whenever the event state changes. + +=item replace + +Replace means the facet is intended to replace the normal rendering of the +event. + +=back + +=back + +=head1 SOURCE + +The source code repository for Test2 can be found at +F<http://github.com/Test-More/test-more/>. + +=head1 MAINTAINERS + +=over 4 + +=item Chad Granum E<lt>exodist@cpan.orgE<gt> + +=back + +=head1 AUTHORS + +=over 4 + +=item Chad Granum E<lt>exodist@cpan.orgE<gt> + +=back + +=head1 COPYRIGHT + +Copyright 2018 Chad Granum E<lt>exodist@cpan.orgE<gt>. + +This program is free software; you can redistribute it and/or +modify it under the same terms as Perl itself. + +See F<http://dev.perl.org/licenses/> + +=cut diff --git a/cpan/Test-Simple/lib/Test2/EventFacet/Trace.pm b/cpan/Test-Simple/lib/Test2/EventFacet/Trace.pm index acf81d7d0b..9791c37084 100644 --- a/cpan/Test-Simple/lib/Test2/EventFacet/Trace.pm +++ b/cpan/Test-Simple/lib/Test2/EventFacet/Trace.pm @@ -2,7 +2,7 @@ package Test2::EventFacet::Trace; use strict; use warnings; -our $VERSION = '1.302120'; +our $VERSION = '1.302122'; BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) } @@ -239,7 +239,7 @@ F<http://github.com/Test-More/test-more/>. =head1 COPYRIGHT -Copyright 2016 Chad Granum E<lt>exodist@cpan.orgE<gt>. +Copyright 2018 Chad Granum E<lt>exodist@cpan.orgE<gt>. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. |