* refactor: Move test infrastructure code to its own package so that it can be reused by more than Environment tests

* This shuffles the test packages in prebuild.xml below it so they can all potentially reference it
This commit is contained in:
Justin Clarke Casey
2008-12-10 20:57:15 +00:00
parent 0e2a124f53
commit c9ae8fce5e
12 changed files with 405 additions and 347 deletions

View File

@@ -32,10 +32,11 @@ using System.Text;
using System.Collections.Generic;
using Nini.Config;
using NUnit.Framework;
using OpenMetaverse;
using OpenSim.Framework;
using OpenSim.Framework.Communications;
using OpenSim.Region.Environment.Scenes;
using OpenMetaverse;
using OpenSim.Tests.Infra;
namespace OpenSim.Region.Environment.Scenes.Tests
{

View File

@@ -34,6 +34,7 @@ using OpenSim.Framework.Communications;
using OpenSim.Framework.Communications.Cache;
using OpenSim.Region.Communications.Local;
using OpenSim.Region.Environment.Scenes;
using OpenSim.Tests.Infra;
namespace OpenSim.Region.Environment.Scenes.Tests
{

View File

@@ -30,6 +30,7 @@ using NUnit.Framework.SyntaxHelpers;
using OpenMetaverse;
using OpenSim.Framework;
using OpenSim.Region.Environment.Scenes;
using OpenSim.Tests.Infra;
namespace OpenSim.Region.Environment.Scenes.Tests
{

View File

@@ -33,6 +33,7 @@ using OpenSim.Framework.Communications.Cache;
using OpenSim.Framework.Servers;
using OpenSim.Region.Physics.Manager;
using OpenSim.Region.Environment.Scenes;
using OpenSim.Tests.Infra;
namespace OpenSim.Region.Environment.Scenes.Tests
{

View File

@@ -29,7 +29,7 @@ using OpenMetaverse;
using OpenSim.Framework;
using OpenSim.Framework.Communications;
namespace OpenSim.Region.Environment.Scenes.Tests
namespace OpenSim.Tests.Infra
{
/// <summary>
/// In memory asset data plugin for test purposes. Could be another dll when properly filled out and when the

View File

@@ -33,7 +33,7 @@ using OpenMetaverse.Packets;
using OpenSim.Framework;
using OpenSim.Region.Environment.Scenes;
namespace OpenSim.Region.Environment.Scenes.Tests
namespace OpenSim.Tests.Infra
{
public class TestClient : IClientAPI
{

View File

@@ -31,7 +31,7 @@ using OpenSim.Framework.Communications.Cache;
using OpenSim.Framework.Servers;
using OpenSim.Region.Communications.Local;
namespace OpenSim.Region.Environment.Scenes.Tests
namespace OpenSim.Tests.Infra
{
public class TestCommunicationsManager : CommunicationsManager
{

View File

@@ -30,7 +30,7 @@ using System.Collections.Generic;
using OpenMetaverse;
using OpenSim.Framework;
namespace OpenSim.Region.Environment.Scenes.Tests
namespace OpenSim.Tests.Infra
{
/// <summary>
/// In memory inventory data plugin for test purposes. Could be another dll when properly filled out and when the

View File

@@ -30,7 +30,7 @@ using OpenMetaverse;
using OpenSim.Framework;
using OpenSim.Region.Environment.Interfaces;
namespace OpenSim.Region.Environment.Scenes.Tests
namespace OpenSim.Tests.Infra
{
/// <summary>
/// Land channel for test purposes

View File

@@ -30,9 +30,10 @@ using OpenSim.Framework;
using OpenSim.Framework.Communications;
using OpenSim.Framework.Communications.Cache;
using OpenSim.Framework.Servers;
using OpenSim.Region.Environment;
using OpenSim.Region.Environment.Scenes;
namespace OpenSim.Region.Environment.Scenes.Tests
namespace OpenSim.Tests.Infra
{
public class TestScene : Scene
{

View File

@@ -30,7 +30,7 @@ using System.Collections.Generic;
using OpenMetaverse;
using OpenSim.Framework;
namespace OpenSim.Region.Environment.Scenes.Tests
namespace OpenSim.Tests.Infra
{
/// <summary>
/// In memory user data provider. Might be quite useful as a proper user data plugin, though getting mono addins