This commit was generated by cvs2svn to compensate for changes in r2523,
[freeside.git] / rt / lib / test.pl
1 # Before `make install' is performed this script should be runnable with
2 # `make test'. After `make install' it should work as `perl test.pl'
3
4 ######################### We start with some black magic to print on failure.
5
6 # Change 1..1 below to 1..last_test_to_print .
7 # (It may become useful if the test is moved to ./t subdirectory.)
8
9 BEGIN { $| = 1; print "1..1\n"; }
10 END {print "not ok 1\n" unless $loaded;}
11 use RT;
12 $loaded = 1;
13 print "ok 1\n";
14
15 ######################### End of black magic.
16
17 # Insert your test code below (better if it prints "ok 13"
18 # (correspondingly "not ok 13") depending on the success of chunk 13
19 # of the test code):
20
21 use RT::Record;
22 use RT::EasySearch;
23 use RT::Handle;
24 use RT::Ticket;
25 use RT::Tickets;
26 use RT::ACE;
27 use RT::ACL;
28 use RT::Watcher;
29 use RT::Watchers;
30 use RT::Scrip;
31 use RT::Scrips;
32 use RT::ScripAction;
33 use RT::ScripCondition;
34 use RT::ScripActions;
35 use RT::ScripConditions;
36 use RT::Transaction;
37 use RT::Transactions;
38 use RT::Group;
39 use RT::GroupMembers;
40 use RT::User;
41 use RT::Users;
42 use RT::CurrentUser;
43 use RT::Attachment;
44 use RT::Attachments;
45 use RT::Keyword;
46 use RT::Keywords;
47 use RT::KeywordSelect;
48 use RT::KeywordSelects;
49 use RT::ObjectKeyword;
50 use RT::ObjectKeywords;
51 use RT::Date;
52