1Test2::EventFacet::ContUrsoelr(3C)ontributed Perl DocumeTnetsatt2i:o:nEventFacet::Control(3)
2
3
4

NAME

6       Test2::EventFacet::Control - Facet for hub actions and behaviors.
7

DESCRIPTION

9       This facet is used when the event needs to give instructions to the
10       Test2 internals.
11

FIELDS

13       $string = $control->{details}
14       $string = $control->details()
15           Human readable explanation for the special behavior.
16
17       $bool = $control->{global}
18       $bool = $control->global()
19           True if the event is global in nature and should be seen by all
20           hubs.
21
22       $exit = $control->{terminate}
23       $exit = $control->terminate()
24           Defined if the test should immediately exit, the value is the exit
25           code and may be 0.
26
27       $bool = $control->{halt}
28       $bool = $control->halt()
29           True if all testing should be halted immediately.
30
31       $bool = $control->{has_callback}
32       $bool = $control->has_callback()
33           True if the callback($hub) method on the event should be called.
34
35       $encoding = $control->{encoding}
36       $encoding = $control->encoding()
37           This can be used to change the encoding from this event onward.
38
39       $phase = $control->{phase}
40       $phase = $control->phase()
41           Used to signal that a phase change has occurred. Currently only the
42           perl END phase is signaled.
43

SOURCE

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

MAINTAINERS

49       Chad Granum <exodist@cpan.org>
50

AUTHORS

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