* minor: move user profile test utils to test/common/setup for future reuse

0.6.5-rc1
Justin Clarke Casey 2009-04-24 19:19:19 +00:00
parent eeb1908bce
commit 8fe70c826d
3 changed files with 17 additions and 1 deletions

View File

@ -33,6 +33,7 @@ using OpenSim.Framework;
using OpenSim.Framework.Communications.Cache;
using OpenSim.Region.Communications.Local;
using OpenSim.Tests.Common.Mock;
using OpenSim.Tests.Common.Setup;
namespace OpenSim.Framework.Communications.Tests
{

View File

@ -42,6 +42,7 @@ using OpenSim.Region.CoreModules.Avatar.Inventory.Archiver;
using OpenSim.Region.CoreModules.World.Serialiser;
using OpenSim.Region.Framework.Scenes;
using OpenSim.Tests.Common;
using OpenSim.Tests.Common.Mock;
using OpenSim.Tests.Common.Setup;
namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests
@ -242,5 +243,18 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests
Console.WriteLine("Finished TestLoadIarV0p1()");
}
/*
/// <summary>
/// Test replication of an archive path to the user's inventory.
/// </summary>
[Test]
public void TestReplicateArchivePathToUserInventory()
{
CommunicationsManager commsManager = new TestCommunicationsManager();
CachedUserInfo userInfo = new CachedUserInfo();
new InventoryArchiveReadRequest(userInfo, "/", null, commsManager);
}
*/
}
}

View File

@ -26,10 +26,11 @@
*/
using OpenMetaverse;
using OpenSim.Framework.Communications;
using OpenSim.Framework.Communications.Cache;
using OpenSim.Region.Communications.Local;
namespace OpenSim.Framework.Communications.Tests
namespace OpenSim.Tests.Common.Setup
{
/// <summary>
/// Utility functions for carrying out user profile related tests.