mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 18:25:33 +08:00
* minor: move user profile test utils to test/common/setup for future reuse
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
Reference in New Issue
Block a user