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