[Rt-commit] r7161 - in rt/branches/3.7-EXPERIMENTAL-TUNIS/t: api
delegation ordered-3 ticket
clkao at bestpractical.com
clkao at bestpractical.com
Mon Mar 5 16:15:06 EST 2007
Author: clkao
Date: Mon Mar 5 16:15:01 2007
New Revision: 7161
Added:
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/attribute-tests.t
- copied unchanged from r7160, /rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/13-attribute-tests.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/rights.t
- copied unchanged from r7160, /rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/07-rights.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scrip_order.t
- copied unchanged from r7160, /rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/25scrip_order.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/template-insert.t
- copied unchanged from r7160, /rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/11-template-insert.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/cron.t
- copied unchanged from r7160, /rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/05cronsupport.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/delegation/
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/delegation/cleanup_stalled.t
- copied unchanged from r7160, /rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/18stale_delegations_cleanup.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/delegation/revocation.t
- copied unchanged from r7160, /rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/17multiple_deleg_revocation.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ticket/batch-upload-csv.t
- copied unchanged from r7160, /rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/23-batch-upload-csv.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ticket/link_search.t
- copied unchanged from r7160, /rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/01ticket_link_searching.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ticket/requestor-order.t
- copied unchanged from r7160, /rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/20-sort-by-requestor.t
Removed:
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/01ticket_link_searching.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/05cronsupport.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/07-rights.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/11-template-insert.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/13-attribute-tests.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/17multiple_deleg_revocation.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/18stale_delegations_cleanup.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/20-sort-by-requestor.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/23-batch-upload-csv.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/25scrip_order.t
Modified:
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/ace.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/acl.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/action-createtickets.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/attachment.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/attachments.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/attribute.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/condition-ownerchange.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/currentuser.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/customfield.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/customfields.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/emailparser.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/group.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/groups.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/handle.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/i18n.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/link.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/queue.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/queues.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/record.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/rt.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/scrip.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/searchbuilder.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/system.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/template.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/templates.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/ticket.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/tickets.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/tickets_overlay_sql.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/transaction.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/transactions.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/uri-fsck_com_rt.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/uri-t.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/user.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/users.t
Log:
more rearrange and proper standalone tests for api tests.
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/ace.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/ace.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/ace.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/acl.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/acl.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/acl.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/action-createtickets.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/action-createtickets.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/action-createtickets.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/action-generic.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/action-generic.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/action-generic.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/action-sendemail.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/action-sendemail.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/action-sendemail.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/attachment.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/attachment.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/attachment.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/attachments.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/attachments.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/attachments.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/attribute.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/attribute.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/attribute.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/cachedgroupmembers.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/cachedgroupmembers.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/cachedgroupmembers.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/condition-generic.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/condition-generic.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/condition-generic.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/condition-ownerchange.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/condition-ownerchange.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/condition-ownerchange.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/currentuser.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/currentuser.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/currentuser.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/customfield.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/customfield.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/customfield.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/customfields.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/customfields.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/customfields.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/emailparser.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/emailparser.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/emailparser.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/group.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/group.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/group.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/groupmember.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/groupmember.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/groupmember.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/groupmembers.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/groupmembers.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/groupmembers.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/groups.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/groups.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/groups.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/handle.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/handle.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/handle.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/i18n.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/i18n.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/i18n.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/interface-cli.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/interface-cli.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/interface-cli.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/interface-email.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/interface-email.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/interface-email.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/interface-web.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/interface-web.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/interface-web.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/link.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/link.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/link.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/links.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/links.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/links.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/principals.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/principals.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/principals.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/queue.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/queue.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/queue.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/queues.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/queues.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/queues.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/record.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/record.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/record.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/rt.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/rt.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/rt.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/savedsearch.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/savedsearch.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/savedsearch.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/savedsearches.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/savedsearches.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/savedsearches.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scrip.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scrip.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scrip.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scripaction.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scripaction.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scripaction.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scripactions.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scripactions.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scripactions.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scripcondition.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scripcondition.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scripcondition.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scripconditions.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scripconditions.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scripconditions.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scrips.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scrips.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scrips.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/search-activeticketsinqueue.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/search-activeticketsinqueue.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/search-activeticketsinqueue.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/search-fromsql.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/search-fromsql.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/search-fromsql.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/search-generic.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/search-generic.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/search-generic.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/search-googleish.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/search-googleish.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/search-googleish.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/searchbuilder.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/searchbuilder.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/searchbuilder.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/system.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/system.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/system.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/template.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/template.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/template.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/templates.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/templates.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/templates.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/ticket.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/ticket.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/ticket.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/tickets.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/tickets.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/tickets.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/tickets_overlay_sql.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/tickets_overlay_sql.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/tickets_overlay_sql.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/transaction.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/transaction.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/transaction.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/transactions.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/transactions.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/transactions.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/uri-fsck_com_rt.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/uri-fsck_com_rt.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/uri-fsck_com_rt.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/uri-t.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/uri-t.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/uri-t.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/user.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/user.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/user.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/users.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/users.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/users.t Mon Mar 5 16:15:01 2007
@@ -1,8 +1,8 @@
use Test::More qw/no_plan/;
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
{
undef $main::_STDOUT_;
More information about the Rt-commit
mailing list