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.


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:


Shlomi Fish,