From 4fe66af811933c2fd9b212bfd3c9fa69c5803645 Mon Sep 17 00:00:00 2001 From: Aaron Trevena Date: Mon, 9 Oct 2006 11:51:59 +0000 Subject: [PATCH] new compilation test git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@528 48953598-375a-da11-a14b-00016c27c3ee --- MANIFEST | 1 + t/00compile.t | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 t/00compile.t diff --git a/MANIFEST b/MANIFEST index 33e8553..5e8edcc 100644 --- a/MANIFEST +++ b/MANIFEST @@ -55,6 +55,7 @@ MANIFEST.SKIP META.yml README AUTHORS +t/00compile.t t/01basics.t t/01.httpd-basic.t t/02pod.t diff --git a/t/00compile.t b/t/00compile.t new file mode 100644 index 0000000..aab6480 --- /dev/null +++ b/t/00compile.t @@ -0,0 +1,25 @@ +#!/usr/bin/perl -w + +use strict; +use Test::More tests => 13; + +use_ok('Maypole::Application'); +use_ok('Maypole::Constants'); +use_ok('Maypole::Config'); +use_ok('Maypole::Headers'); +use_ok('Maypole::Session'); +use_ok('Maypole'); +use_ok('Maypole::Model::Base'); +use_ok('Maypole::Model::CDBI::Base'); +use_ok('Maypole::Model::CDBI'); +use_ok('Maypole::Model::CDBI::Plain'); +use_ok('Maypole::Model::CDBI::FromCGI'); +use_ok('Maypole::Model::CDBI::AsForm'); + +SKIP: { + eval { use Data::FormValidator }; + skip 'Data::FormValidator is not installed or does not work', 1 if ($@); + use_ok('Maypole::Model::CDBI::DFV'); +} + + -- 2.39.5