]> git.decadent.org.uk Git - maypole.git/blobdiff - t/00compile.t
new compilation test
[maypole.git] / t / 00compile.t
diff --git a/t/00compile.t b/t/00compile.t
new file mode 100644 (file)
index 0000000..aab6480
--- /dev/null
@@ -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');
+}
+
+