[Rt-commit] r7201 - in rt/branches/3.7-EXPERIMENTAL-TUNIS/t: api
clkao at bestpractical.com
clkao at bestpractical.com
Thu Mar 8 08:09:31 EST 2007
Author: clkao
Date: Thu Mar 8 08:09:29 2007
New Revision: 7201
Added:
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/00-compile.t
Removed:
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/acl.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/action-generic.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/action-sendemail.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/attachments.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/cachedgroupmembers.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/condition-generic.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/customfields.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/groupmember.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/groupmembers.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/handle.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/interface-cli.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/interface-email.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/interface-web.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/links.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/principals.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/queues.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/savedsearch.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/savedsearches.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scripaction.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scripactions.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scripcondition.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scripconditions.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scrips.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/search-activeticketsinqueue.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/search-fromsql.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/search-generic.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/search-googleish.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/templates.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/transaction.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/transactions.t
Log:
move compile tests into one test.
Added: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/00-compile.t
==============================================================================
--- (empty file)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/00-compile.t Thu Mar 8 08:09:29 2007
@@ -0,0 +1,53 @@
+use Test::More tests => 32;
+
+require_ok("RT");
+require_ok("RT::Test");
+require_ok("RT::ACL");
+require_ok("RT::Handle");
+require_ok("RT::Transaction");
+require_ok("RT::Interface::CLI");
+require_ok("RT::Interface::Email");
+require_ok("RT::Links");
+require_ok("RT::Queues");
+require_ok("RT::Scrips");
+require_ok("RT::Templates");
+require_ok("RT::Principals");
+require_ok("RT::Attachments");
+require_ok("RT::GroupMember");
+require_ok("RT::ScripAction");
+require_ok("RT::CustomFields");
+require_ok("RT::GroupMembers");
+require_ok("RT::ScripActions");
+require_ok("RT::Transactions");
+require_ok("RT::ScripCondition");
+require_ok("RT::Action::Generic");
+require_ok("RT::ScripConditions");
+require_ok("RT::Search::Generic");
+require_ok("RT::Search::Generic");
+require_ok("RT::Search::Generic");
+require_ok("RT::Search::Generic");
+require_ok("RT::Action::SendEmail");
+require_ok("RT::CachedGroupMembers");
+require_ok("RT::Condition::Generic");
+require_ok("RT::Interface::Web");
+require_ok("RT::SavedSearch");
+require_ok("RT::SavedSearches");
+
+
+# no the following doesn't work yet
+__END__
+use File::Find::Rule;
+
+my @files = File::Find::Rule->file()
+ ->name( '*.pm' )
+ ->in( 'lib' );
+
+plan tests => scalar @files;
+
+for (@files) {
+ local $SIG{__WARN__} = sub {};
+ require_ok($_);
+ diag $_;
+}
+
+1;
More information about the Rt-commit
mailing list