Upgrade to Test::Harness 3.14
[p5sagit/p5-mst-13.2.git] / ext / Test / Harness / t / 000-load.t
CommitLineData
b965d173 1#!/usr/bin/perl -wT
2
3use strict;
4use lib 't/lib';
5
27fc0087 6use Test::More tests => 78;
b965d173 7
8BEGIN {
9
10 # TAP::Parser must come first
11 my @classes = qw(
12 TAP::Parser
13 App::Prove
14 App::Prove::State
27fc0087 15 App::Prove::State::Result
16 App::Prove::State::Result::Test
b965d173 17 TAP::Base
18 TAP::Formatter::Color
19 TAP::Formatter::Console::ParallelSession
20 TAP::Formatter::Console::Session
21 TAP::Formatter::Console
22 TAP::Harness
23 TAP::Parser::Aggregator
24 TAP::Parser::Grammar
f7c69158 25 TAP::Parser::Iterator
b965d173 26 TAP::Parser::Iterator::Array
27 TAP::Parser::Iterator::Process
28 TAP::Parser::Iterator::Stream
f7c69158 29 TAP::Parser::IteratorFactory
b965d173 30 TAP::Parser::Multiplexer
f7c69158 31 TAP::Parser::Result
32 TAP::Parser::ResultFactory
b965d173 33 TAP::Parser::Result::Bailout
34 TAP::Parser::Result::Comment
35 TAP::Parser::Result::Plan
2a7f4b9b 36 TAP::Parser::Result::Pragma
b965d173 37 TAP::Parser::Result::Test
38 TAP::Parser::Result::Unknown
39 TAP::Parser::Result::Version
40 TAP::Parser::Result::YAML
41 TAP::Parser::Result
f7c69158 42 TAP::Parser::Scheduler
43 TAP::Parser::Scheduler::Job
44 TAP::Parser::Scheduler::Spinner
b965d173 45 TAP::Parser::Source::Perl
46 TAP::Parser::Source
47 TAP::Parser::YAMLish::Reader
48 TAP::Parser::YAMLish::Writer
bd3ac2f1 49 TAP::Parser::Utils
b965d173 50 Test::Harness
51 );
52
53 foreach my $class (@classes) {
54 use_ok $class or BAIL_OUT("Could not load $class");
55 is $class->VERSION, TAP::Parser->VERSION,
56 "... and $class should have the correct version";
57 }
5e727a3e 58
59 diag("Testing Test::Harness $Test::Harness::VERSION, Perl $], $^X")
60 unless $ENV{PERL_CORE};
b965d173 61}