1Test::Run::Straps::EvenUtsWerrapCpoenrt(r3i)buted Perl DToecsutm:e:nRtuant:i:oSntraps::EventWrapper(3)
2
3
4

NAME

6       Test::Run::Straps::EventWrapper - a wrapper for a TAP::Parser::Result
7       subclass which delegates to its methods and has its own methods.
8

DESCRIPTION

10       TAP::Parser's "next()" method returns a sub-class of
11       TAP::Parser::Result. However, we need to define our own methods on such
12       objects. Since we cannot inherit from all the sub-classes, we have
13       created this class which holds an instance of the actual events,
14       delegates some methods to it, and defines some of its own methods.
15
16   $event->is_pass()
17       Returns whether the event can be considered a passed event. Always
18       returns a scalar boolean.
19
20   $self->get_next_test_number()
21       If this event is a test, then return the next expected test number.
22       Else return undef.
23

SEE ALSO

25       Test::Run::Straps, Test::Run::Obj, Test::Run::Core
26

LICENSE

28       This file is licensed under the MIT X11 License:
29
30       http://www.opensource.org/licenses/mit-license.php
31

AUTHOR

33       Shlomi Fish, <http://www.shlomifish.org/>.
34
35
36
37perl v5.32.0                      2020-07-28Test::Run::Straps::EventWrapper(3)
Impressum