1Test2::EventFacet::RendUesre(r3)Contributed Perl DocumenTteastti2o:n:EventFacet::Render(3)
2
3
4

NAME

6       Test2::EventFacet::Render - Facet that dictates how to render an event.
7

DESCRIPTION

9       This facet is used to dictate how the event should be rendered by the
10       standard test2 rendering tools. If this facet is present then ONLY what
11       is specified by it will be rendered. It is assumed that anything
12       important or note-worthy will be present here, no other facets will be
13       considered for rendering/display.
14
15       This facet is a list type, you can add as many items as needed.
16

FIELDS

18       $string = $render->[#]->{details}
19       $string = $render->[#]->details()
20           Human readable text for display.
21
22       $string = $render->[#]->{tag}
23       $string = $render->[#]->tag()
24           Tag that should prefix/identify the main text.
25
26       $string = $render->[#]->{facet}
27       $string = $render->[#]->facet()
28           Optional, if the display text was generated from another facet this
29           should state what facet it was.
30
31       $mode = $render->[#]->{mode}
32       $mode = $render->[#]->mode()
33           calculated
34               Calculated means the facet was generated from another facet.
35               Calculated facets may be cleared and regenerated whenever the
36               event state changes.
37
38           replace
39               Replace means the facet is intended to replace the normal
40               rendering of the event.
41

SOURCE

43       The source code repository for Test2 can be found at
44       http://github.com/Test-More/test-more/.
45

MAINTAINERS

47       Chad Granum <exodist@cpan.org>
48

AUTHORS

50       Chad Granum <exodist@cpan.org>
51
53       Copyright 2020 Chad Granum <exodist@cpan.org>.
54
55       This program is free software; you can redistribute it and/or modify it
56       under the same terms as Perl itself.
57
58       See http://dev.perl.org/licenses/
59
60
61
62perl v5.36.0                      2022-07-22      Test2::EventFacet::Render(3)
Impressum