diff options
Diffstat (limited to 'rt/lib/test.pl')
-rw-r--r-- | rt/lib/test.pl | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/rt/lib/test.pl b/rt/lib/test.pl new file mode 100644 index 000000000..f0da5df27 --- /dev/null +++ b/rt/lib/test.pl @@ -0,0 +1,52 @@ +# Before `make install' is performed this script should be runnable with +# `make test'. After `make install' it should work as `perl test.pl' + +######################### We start with some black magic to print on failure. + +# Change 1..1 below to 1..last_test_to_print . +# (It may become useful if the test is moved to ./t subdirectory.) + +BEGIN { $| = 1; print "1..1\n"; } +END {print "not ok 1\n" unless $loaded;} +use RT; +$loaded = 1; +print "ok 1\n"; + +######################### End of black magic. + +# Insert your test code below (better if it prints "ok 13" +# (correspondingly "not ok 13") depending on the success of chunk 13 +# of the test code): + +use RT::Record; +use RT::EasySearch; +use RT::Handle; +use RT::Ticket; +use RT::Tickets; +use RT::ACE; +use RT::ACL; +use RT::Watcher; +use RT::Watchers; +use RT::Scrip; +use RT::Scrips; +use RT::ScripAction; +use RT::ScripCondition; +use RT::ScripActions; +use RT::ScripConditions; +use RT::Transaction; +use RT::Transactions; +use RT::Group; +use RT::GroupMembers; +use RT::User; +use RT::Users; +use RT::CurrentUser; +use RT::Attachment; +use RT::Attachments; +use RT::Keyword; +use RT::Keywords; +use RT::KeywordSelect; +use RT::KeywordSelects; +use RT::ObjectKeyword; +use RT::ObjectKeywords; +use RT::Date; + |