aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Tests/SceneObjectTests.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-11-27 20:33:18 +0000
committerJustin Clarke Casey2008-11-27 20:33:18 +0000
commit9b038021890485971fceca7823f64e8408f68644 (patch)
treeb244d1407e0ebf7300226d985b2b474b5ce50de6 /OpenSim/Region/Environment/Scenes/Tests/SceneObjectTests.cs
parent* minor: remove mono compiler warnings (diff)
downloadopensim-SC-9b038021890485971fceca7823f64e8408f68644.zip
opensim-SC-9b038021890485971fceca7823f64e8408f68644.tar.gz
opensim-SC-9b038021890485971fceca7823f64e8408f68644.tar.bz2
opensim-SC-9b038021890485971fceca7823f64e8408f68644.tar.xz
* test: Inch forward with another test by using a skeletal in memory inventory data plugin
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Tests/SceneObjectTests.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Tests/SceneObjectTests.cs12
1 files changed, 7 insertions, 5 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Tests/SceneObjectTests.cs b/OpenSim/Region/Environment/Scenes/Tests/SceneObjectTests.cs
index 216dce5..7f6fa3c 100644
--- a/OpenSim/Region/Environment/Scenes/Tests/SceneObjectTests.cs
+++ b/OpenSim/Region/Environment/Scenes/Tests/SceneObjectTests.cs
@@ -102,9 +102,11 @@ namespace OpenSim.Region.Environment.Scenes.Tests
102 SceneObjectPart part = SceneTestUtils.AddSceneObject(scene); 102 SceneObjectPart part = SceneTestUtils.AddSceneObject(scene);
103 103
104 ((LocalUserServices)scene.CommsManager.UserService).AddPlugin(new TestUserDataPlugin()); 104 ((LocalUserServices)scene.CommsManager.UserService).AddPlugin(new TestUserDataPlugin());
105// Assert.That( 105 ((LocalInventoryService)scene.CommsManager.InventoryService).AddPlugin(new TestInventoryDataPlugin());
106// scene.CommsManager.AddUser("Bob", "Hoskins", "test", "test@test.com", 1000, 1000, agentId), 106
107// Is.EqualTo(agentId)); 107 Assert.That(
108 scene.CommsManager.AddUser("Bob", "Hoskins", "test", "test@test.com", 1000, 1000, agentId),
109 Is.EqualTo(agentId));
108 110
109 IClientAPI client = SceneTestUtils.AddRootAgent(scene, agentId); 111 IClientAPI client = SceneTestUtils.AddRootAgent(scene, agentId);
110 scene.DeRezObject(client, part.LocalId, UUID.Zero, 9, UUID.Zero); 112 scene.DeRezObject(client, part.LocalId, UUID.Zero, 9, UUID.Zero);
@@ -116,8 +118,8 @@ namespace OpenSim.Region.Environment.Scenes.Tests
116 SceneObjectPart retrievedPart2 = scene.GetSceneObjectPart(part.LocalId); 118 SceneObjectPart retrievedPart2 = scene.GetSceneObjectPart(part.LocalId);
117 Assert.That(retrievedPart2, Is.Null); 119 Assert.That(retrievedPart2, Is.Null);
118 120
119// CachedUserInfo userInfo = scene.CommsManager.UserProfileCacheService.GetUserDetails(agentId); 121 CachedUserInfo userInfo = scene.CommsManager.UserProfileCacheService.GetUserDetails(agentId);
120// Assert.That(userInfo, Is.Not.Null); 122 Assert.That(userInfo, Is.Not.Null);
121 123
122 // TODO: test that the object actually made it successfully into inventory 124 // TODO: test that the object actually made it successfully into inventory
123 } 125 }