package TAP::Formatter::JUnit::Result; use Moose; use namespace::clean; has 'time' => ( is => 'ro', isa => 'Num', required => 1, ); has 'result' => ( is => 'ro', isa => 'TAP::Parser::Result', required => 1, handles => [qw( name number description as_string raw is_test is_plan is_unplanned is_ok todo_passed explanation )], ); 1; =head1 NAME TAP::Formatter::JUnit::Result - Wrapper for a TAP result =head1 DESCRIPTION C is an internal class, used to wrap/augment C objects with timing information. B =head1 AUTHOR Graham TerMarsch =head1 COPYRIGHT Copyright 2011, Graham TerMarsch. All Rights Reserved. This is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =cut