"Fossies" - the Fresh Open Source Software Archive

Member "rt-5.0.2/t/00-compile.t" (14 Sep 2021, 1622 Bytes) of package /linux/misc/rt-5.0.2.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 
    2 use strict;
    3 use warnings;
    4 
    5 use RT::Test nodb => 1, tests => 44;
    6 
    7 require_ok("RT");
    8 require_ok("RT::Test");
    9 require_ok("RT::ACL");
   10 require_ok("RT::Handle");
   11 require_ok("RT::Transaction");
   12 require_ok("RT::Interface::CLI");
   13 require_ok("RT::Interface::Email");
   14 require_ok("RT::Links");
   15 require_ok("RT::Queues");
   16 require_ok("RT::Scrips");
   17 require_ok("RT::Templates");
   18 require_ok("RT::Principals");
   19 require_ok("RT::Attachments");
   20 require_ok("RT::GroupMember");
   21 require_ok("RT::ScripAction");
   22 require_ok("RT::CustomFields");
   23 require_ok("RT::GroupMembers");
   24 require_ok("RT::ScripActions");
   25 require_ok("RT::Transactions");
   26 require_ok("RT::ScripCondition");
   27 require_ok("RT::Action");
   28 require_ok("RT::ScripConditions");
   29 require_ok("RT::Search");
   30 require_ok("RT::Action::SendEmail");
   31 require_ok("RT::CachedGroupMembers");
   32 require_ok("RT::Condition");
   33 require_ok("RT::Interface::Web");
   34 require_ok("RT::SavedSearch");
   35 require_ok("RT::SavedSearches");
   36 require_ok("RT::Dashboard");
   37 require_ok("RT::Dashboard::Mailer");
   38 require_ok("RT::Dashboards");
   39 require_ok("RT::Installer");
   40 require_ok("RT::Util");
   41 require_ok("RT::Article");
   42 require_ok("RT::Articles");
   43 require_ok("RT::Class");
   44 require_ok("RT::Classes");
   45 require_ok("RT::ObjectClass");
   46 require_ok("RT::ObjectClasses");
   47 require_ok("RT::ObjectTopic");
   48 require_ok("RT::ObjectTopics");
   49 require_ok("RT::Topic");
   50 require_ok("RT::Topics");
   51 
   52 
   53 # no the following doesn't work yet
   54 __END__
   55 use File::Find::Rule;
   56 
   57 my @files = File::Find::Rule->file()
   58     ->name( '*.pm' )
   59     ->in( 'lib' );
   60 
   61 plan tests => scalar @files;
   62 
   63 for (@files) {
   64     local $SIG{__WARN__} = sub {};
   65     require_ok($_);
   66 }
   67