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

SOURCE

40       The source code repository for Test2 can be found at
41       http://github.com/Test-More/test-more/.
42

MAINTAINERS

44       Chad Granum <exodist@cpan.org>
45

AUTHORS

47       Chad Granum <exodist@cpan.org>
48
50       Copyright 2019 Chad Granum <exodist@cpan.org>.
51
52       This program is free software; you can redistribute it and/or modify it
53       under the same terms as Perl itself.
54
55       See http://dev.perl.org/licenses/
56
57
58
59perl v5.28.1                      2019-02-06     Test2::EventFacet::Control(3)
Impressum