1Test2::EventFacet::PareUnste(r3)Contributed Perl DocumenTteastti2o:n:EventFacet::Parent(3)
2
3
4
6 Test2::EventFacet::Parent - Facet for events contains other events
7
9 This facet is used when an event contains other events, such as a
10 subtest.
11
13 $string = $parent->{details}
14 $string = $parent->details()
15 Human readable description of the event.
16
17 $hid = $parent->{hid}
18 $hid = $parent->hid()
19 Hub ID of the hub that is represented in the parent-child
20 relationship.
21
22 $arrayref = $parent->{children}
23 $arrayref = $parent->children()
24 Arrayref containing the facet-data hashes of events nested under
25 this one.
26
27 To get the actual events you need to get them from the parent event
28 directly
29
30 $bool = $parent->{buffered}
31 $bool = $parent->buffered()
32 True if the subtest is buffered (meaning the formatter has probably
33 not seen them yet).
34
36 The source code repository for Test2 can be found at
37 http://github.com/Test-More/test-more/.
38
40 Chad Granum <exodist@cpan.org>
41
43 Chad Granum <exodist@cpan.org>
44
46 Copyright 2020 Chad Granum <exodist@cpan.org>.
47
48 This program is free software; you can redistribute it and/or modify it
49 under the same terms as Perl itself.
50
51 See http://dev.perl.org/licenses/
52
53
54
55perl v5.32.0 2020-10-15 Test2::EventFacet::Parent(3)