Test::Run::Straps::EventWrapper - a wrapper for a TAP::Parser::Result subclass which delegates to its methods and has its own methods.
TAP::Parser's next() method returns a sub-class of TAP::Parser::Result. However, we need to define our own methods on such objects. Since we cannot inherit from all the sub-classes, we have created this class which holds an instance of the actual events, delegates some methods to it, and defines some of its own methods.
next()
Returns whether the event can be considered a passed event. Always returns a scalar boolean.
If this event is a test, then return the next expected test number. Else return undef.
Test::Run::Straps, Test::Run::Obj, Test::Run::Core
This file is licensed under the MIT X11 License:
http://www.opensource.org/licenses/mit-license.php
Shlomi Fish, http://www.shlomifish.org/.
To install Test::Run, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Run
CPAN shell
perl -MCPAN -e shell install Test::Run
For more information on module installation, please visit the detailed CPAN module installation guide.