aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Tests/ScenePresenceTests.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-11-19 20:13:51 +0000
committerJustin Clarke Casey2008-11-19 20:13:51 +0000
commit14f3ac144060491761a57137b99173e65252d806 (patch)
treeb958133886407fbd551376671a56f8d757c49579 /OpenSim/Region/Environment/Scenes/Tests/ScenePresenceTests.cs
parentGuard against a strange nullref in ODE (diff)
downloadopensim-SC-14f3ac144060491761a57137b99173e65252d806.zip
opensim-SC-14f3ac144060491761a57137b99173e65252d806.tar.gz
opensim-SC-14f3ac144060491761a57137b99173e65252d806.tar.bz2
opensim-SC-14f3ac144060491761a57137b99173e65252d806.tar.xz
* Add just enough to allow the scene presences test to establish a new user connection (though not yet an actual ScenePresence)
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Tests/ScenePresenceTests.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Tests/ScenePresenceTests.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Tests/ScenePresenceTests.cs b/OpenSim/Region/Environment/Scenes/Tests/ScenePresenceTests.cs
index 39f357a..4cab32a 100644
--- a/OpenSim/Region/Environment/Scenes/Tests/ScenePresenceTests.cs
+++ b/OpenSim/Region/Environment/Scenes/Tests/ScenePresenceTests.cs
@@ -57,8 +57,7 @@ namespace OpenSim.Region.Environment.Scenes.Tests
57 [Test] 57 [Test]
58 public void TestAddRootAgent() 58 public void TestAddRootAgent()
59 { 59 {
60 // Scene scene = SceneTestUtils.SetupScene(); 60 Scene scene = SceneTestUtils.SetupScene();
61 SceneTestUtils.SetupScene();
62 61
63 AgentCircuitData agent = new AgentCircuitData(); 62 AgentCircuitData agent = new AgentCircuitData();
64 agent.AgentID = UUID.Zero; 63 agent.AgentID = UUID.Zero;
@@ -72,7 +71,7 @@ namespace OpenSim.Region.Environment.Scenes.Tests
72 agent.startpos = Vector3.Zero; 71 agent.startpos = Vector3.Zero;
73 agent.CapsPath = "http://wibble.com"; 72 agent.CapsPath = "http://wibble.com";
74 73
75 //scene.NewUserConnection(agent); 74 scene.NewUserConnection(agent);
76 75
77 // There are going to be more parts to this. 76 // There are going to be more parts to this.
78 } 77 }