[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [332] trunk
- Subject: SF.net SVN: ledger-smb: [332] trunk
- From: ..hidden..
- Date: Fri, 27 Oct 2006 09:36:33 -0700
Revision: 332
http://svn.sourceforge.net/ledger-smb/?rev=332&view=rev
Author: tetragon
Date: 2006-10-27 09:36:29 -0700 (Fri, 27 Oct 2006)
Log Message:
-----------
Add preliminary testing infrastructure
Added Paths:
-----------
trunk/Build.PL
trunk/t/
trunk/t/01-load.t
Added: trunk/Build.PL
===================================================================
--- trunk/Build.PL (rev 0)
+++ trunk/Build.PL 2006-10-27 16:36:29 UTC (rev 332)
@@ -0,0 +1,37 @@
+use strict;
+use warnings;
+
+use Module::Build;
+
+my $build = Module::Build->new (
+ dist_name => 'LedgerSMB',
+ dist_version => '1.1.99',
+ license => 'GPL',
+ requires => {
+ 'perl' => '>= 5.8.0',
+ 'Data::Dumper' => 0,
+ 'Locale::Maketext' => 0,
+ 'Locale::Maketext::Lexicon' => '>= 0.56',
+ 'Mime::Base64' => 0,
+ 'Digest::MD5' => 0,
+ 'HTML::Entities' => 0,
+ 'DBI' => 0,
+ 'DBD::Pg' => 0,
+ 'Math::BigFloat' => 0,
+ 'IO::File' => 0,
+ 'Encode' => 0,
+ 'Locale::Country' => 0,
+ 'Locale::Language' => 0,
+ 'Time::Local' => 0,
+ 'Cwd' => 0,
+ },
+ recommends => {
+ 'HTML::LinkExtor' => 0,
+ 'FileHandle' => 0,
+ 'Getopt::Long' => 0,
+ 'Test::More' => 0,
+ 'Net::TCLink' => 0,
+ },
+);
+
+$build->create_build_script;
Added: trunk/t/01-load.t
===================================================================
--- trunk/t/01-load.t (rev 0)
+++ trunk/t/01-load.t 2006-10-27 16:36:29 UTC (rev 332)
@@ -0,0 +1,42 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+use Test::More tests => 30;
+
+use_ok('LedgerSMB::AA');
+use_ok('LedgerSMB::AM');
+use_ok('LedgerSMB::BP');
+use_ok('LedgerSMB::CA');
+use_ok('LedgerSMB::CP');
+use_ok('LedgerSMB::CT');
+use_ok('LedgerSMB::Form');
+use_ok('LedgerSMB::GL');
+use_ok('LedgerSMB::HR');
+use_ok('LedgerSMB::IC');
+use_ok('LedgerSMB::IR');
+use_ok('LedgerSMB::IS');
+use_ok('LedgerSMB::Inifile');
+use_ok('LedgerSMB::JC');
+use_ok('LedgerSMB::Locale');
+use_ok('LedgerSMB::Log');
+use_ok('LedgerSMB::Mailer');
+use_ok('LedgerSMB::Menu');
+use_ok('LedgerSMB::Num2text');
+use_ok('LedgerSMB::OE');
+use_ok('LedgerSMB::OP');
+use_ok('LedgerSMB::PE');
+use_ok('LedgerSMB::PriceMatrix');
+use_ok('LedgerSMB::RC');
+use_ok('LedgerSMB::RP');
+use_ok('LedgerSMB::Session');
+use_ok('LedgerSMB::Sysconfig');
+use_ok('LedgerSMB::Tax');
+use_ok('LedgerSMB::User');
+
+SKIP: {
+ eval { require Net::TCLink };
+
+ skip 'Net::TCLink not installed', 1 if $@;
+ use_ok('LedgerSMB::CreditCard');
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.