diff options
author | Justin Clarke Casey | 2009-04-24 19:19:19 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-04-24 19:19:19 +0000 |
commit | 8fe70c826d06a949cde32ac7ff06022b0696a29f (patch) | |
tree | ceebba986b045082d715e1ae871b0568b4be5e00 | |
parent | * Refactor: break out loading of archive paths into inventory into a separate... (diff) | |
download | opensim-SC-8fe70c826d06a949cde32ac7ff06022b0696a29f.zip opensim-SC-8fe70c826d06a949cde32ac7ff06022b0696a29f.tar.gz opensim-SC-8fe70c826d06a949cde32ac7ff06022b0696a29f.tar.bz2 opensim-SC-8fe70c826d06a949cde32ac7ff06022b0696a29f.tar.xz |
* minor: move user profile test utils to test/common/setup for future reuse
-rw-r--r-- | OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs | 1 | ||||
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs | 14 | ||||
-rw-r--r-- | OpenSim/Tests/Common/Setup/UserProfileTestUtils.cs (renamed from OpenSim/Framework/Communications/Tests/Cache/UserProfileTestUtils.cs) | 3 |
3 files changed, 17 insertions, 1 deletions
diff --git a/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs b/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs index 1711187..2972a0a 100644 --- a/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs +++ b/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs | |||
@@ -33,6 +33,7 @@ using OpenSim.Framework; | |||
33 | using OpenSim.Framework.Communications.Cache; | 33 | using OpenSim.Framework.Communications.Cache; |
34 | using OpenSim.Region.Communications.Local; | 34 | using OpenSim.Region.Communications.Local; |
35 | using OpenSim.Tests.Common.Mock; | 35 | using OpenSim.Tests.Common.Mock; |
36 | using OpenSim.Tests.Common.Setup; | ||
36 | 37 | ||
37 | namespace OpenSim.Framework.Communications.Tests | 38 | namespace OpenSim.Framework.Communications.Tests |
38 | { | 39 | { |
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs index 5388403..1d4256b 100644 --- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs +++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs | |||
@@ -42,6 +42,7 @@ using OpenSim.Region.CoreModules.Avatar.Inventory.Archiver; | |||
42 | using OpenSim.Region.CoreModules.World.Serialiser; | 42 | using OpenSim.Region.CoreModules.World.Serialiser; |
43 | using OpenSim.Region.Framework.Scenes; | 43 | using OpenSim.Region.Framework.Scenes; |
44 | using OpenSim.Tests.Common; | 44 | using OpenSim.Tests.Common; |
45 | using OpenSim.Tests.Common.Mock; | ||
45 | using OpenSim.Tests.Common.Setup; | 46 | using OpenSim.Tests.Common.Setup; |
46 | 47 | ||
47 | namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests | 48 | namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests |
@@ -242,5 +243,18 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests | |||
242 | 243 | ||
243 | Console.WriteLine("Finished TestLoadIarV0p1()"); | 244 | Console.WriteLine("Finished TestLoadIarV0p1()"); |
244 | } | 245 | } |
246 | |||
247 | /* | ||
248 | /// <summary> | ||
249 | /// Test replication of an archive path to the user's inventory. | ||
250 | /// </summary> | ||
251 | [Test] | ||
252 | public void TestReplicateArchivePathToUserInventory() | ||
253 | { | ||
254 | CommunicationsManager commsManager = new TestCommunicationsManager(); | ||
255 | CachedUserInfo userInfo = new CachedUserInfo(); | ||
256 | new InventoryArchiveReadRequest(userInfo, "/", null, commsManager); | ||
257 | } | ||
258 | */ | ||
245 | } | 259 | } |
246 | } | 260 | } |
diff --git a/OpenSim/Framework/Communications/Tests/Cache/UserProfileTestUtils.cs b/OpenSim/Tests/Common/Setup/UserProfileTestUtils.cs index d0f92d6..90bd6c1 100644 --- a/OpenSim/Framework/Communications/Tests/Cache/UserProfileTestUtils.cs +++ b/OpenSim/Tests/Common/Setup/UserProfileTestUtils.cs | |||
@@ -26,10 +26,11 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using OpenMetaverse; | 28 | using OpenMetaverse; |
29 | using OpenSim.Framework.Communications; | ||
29 | using OpenSim.Framework.Communications.Cache; | 30 | using OpenSim.Framework.Communications.Cache; |
30 | using OpenSim.Region.Communications.Local; | 31 | using OpenSim.Region.Communications.Local; |
31 | 32 | ||
32 | namespace OpenSim.Framework.Communications.Tests | 33 | namespace OpenSim.Tests.Common.Setup |
33 | { | 34 | { |
34 | /// <summary> | 35 | /// <summary> |
35 | /// Utility functions for carrying out user profile related tests. | 36 | /// Utility functions for carrying out user profile related tests. |