aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-01-05 18:00:53 +0000
committerJustin Clarke Casey2009-01-05 18:00:53 +0000
commit0b07c9762b4c70b6d234b70fb9e591c770dc1bf1 (patch)
tree95435e1c5c8aece7224666cae400978b74fae931 /OpenSim/Region/Environment
parent* Extend stub to test the successful login of a user on the local login service (diff)
downloadopensim-SC_OLD-0b07c9762b4c70b6d234b70fb9e591c770dc1bf1.zip
opensim-SC_OLD-0b07c9762b4c70b6d234b70fb9e591c770dc1bf1.tar.gz
opensim-SC_OLD-0b07c9762b4c70b6d234b70fb9e591c770dc1bf1.tar.bz2
opensim-SC_OLD-0b07c9762b4c70b6d234b70fb9e591c770dc1bf1.tar.xz
* Simplify test code by always setting up mock 'in memory' user and inventory data plugins for every TestCommunicationsManager
* imo the gain in simplcity of test code outweighs the very small cost of setting up some stuff that some tests will never use
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Scenes/Tests/SceneObjectTests.cs3
1 files changed, 0 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Tests/SceneObjectTests.cs b/OpenSim/Region/Environment/Scenes/Tests/SceneObjectTests.cs
index e6648e1..e347e67 100644
--- a/OpenSim/Region/Environment/Scenes/Tests/SceneObjectTests.cs
+++ b/OpenSim/Region/Environment/Scenes/Tests/SceneObjectTests.cs
@@ -313,9 +313,6 @@ namespace OpenSim.Region.Environment.Scenes.Tests
313 TestScene scene = SceneTestUtils.SetupScene(); 313 TestScene scene = SceneTestUtils.SetupScene();
314 SceneObjectPart part = SceneTestUtils.AddSceneObject(scene, myObjectName); 314 SceneObjectPart part = SceneTestUtils.AddSceneObject(scene, myObjectName);
315 315
316 ((LocalUserServices)scene.CommsManager.UserService).AddPlugin(new TestUserDataPlugin());
317 ((LocalInventoryService)scene.CommsManager.InventoryService).AddPlugin(new TestInventoryDataPlugin());
318
319 Assert.That( 316 Assert.That(
320 scene.CommsManager.UserAdminService.AddUser( 317 scene.CommsManager.UserAdminService.AddUser(
321 "Bob", "Hoskins", "test", "test@test.com", 1000, 1000, agentId), 318 "Bob", "Hoskins", "test", "test@test.com", 1000, 1000, agentId),