aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-04-24 19:19:19 +0000
committerJustin Clarke Casey2009-04-24 19:19:19 +0000
commit8fe70c826d06a949cde32ac7ff06022b0696a29f (patch)
treeceebba986b045082d715e1ae871b0568b4be5e00
parent* Refactor: break out loading of archive paths into inventory into a separate... (diff)
downloadopensim-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
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs1
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs14
-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;
33using OpenSim.Framework.Communications.Cache; 33using OpenSim.Framework.Communications.Cache;
34using OpenSim.Region.Communications.Local; 34using OpenSim.Region.Communications.Local;
35using OpenSim.Tests.Common.Mock; 35using OpenSim.Tests.Common.Mock;
36using OpenSim.Tests.Common.Setup;
36 37
37namespace OpenSim.Framework.Communications.Tests 38namespace 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;
42using OpenSim.Region.CoreModules.World.Serialiser; 42using OpenSim.Region.CoreModules.World.Serialiser;
43using OpenSim.Region.Framework.Scenes; 43using OpenSim.Region.Framework.Scenes;
44using OpenSim.Tests.Common; 44using OpenSim.Tests.Common;
45using OpenSim.Tests.Common.Mock;
45using OpenSim.Tests.Common.Setup; 46using OpenSim.Tests.Common.Setup;
46 47
47namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests 48namespace 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
28using OpenMetaverse; 28using OpenMetaverse;
29using OpenSim.Framework.Communications;
29using OpenSim.Framework.Communications.Cache; 30using OpenSim.Framework.Communications.Cache;
30using OpenSim.Region.Communications.Local; 31using OpenSim.Region.Communications.Local;
31 32
32namespace OpenSim.Framework.Communications.Tests 33namespace 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.