aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs19
1 files changed, 0 insertions, 19 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs
index 5e1ff79..fd2d6fa 100644
--- a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs
+++ b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs
@@ -222,25 +222,6 @@ namespace OpenSim.Region.Framework.Scenes.Tests
222// Assert.That(childPresence.IsChildAgent, Is.True); 222// Assert.That(childPresence.IsChildAgent, Is.True);
223 } 223 }
224 224
225 // I'm commenting this test, because this is not supposed to happen here
226 //[Test]
227 public void T020_TestMakeRootAgent()
228 {
229 TestHelper.InMethod();
230
231 ScenePresence presence = scene.GetScenePresence(agent1);
232 Assert.That(presence.IsChildAgent, Is.False, "Starts out as a root agent");
233
234 presence.MakeChildAgent();
235 Assert.That(presence.IsChildAgent, Is.True, "Did not change to child agent after MakeChildAgent");
236
237 // Accepts 0 but rejects Constants.RegionSize
238 Vector3 pos = new Vector3(0,unchecked(Constants.RegionSize-1),0);
239 presence.MakeRootAgent(pos,true);
240 Assert.That(presence.IsChildAgent, Is.False, "Did not go back to root agent");
241 Assert.That(presence.AbsolutePosition, Is.EqualTo(pos), "Position is not the same one entered");
242 }
243
244 // I'm commenting this test because it does not represent 225 // I'm commenting this test because it does not represent
245 // crossings. The Thread.Sleep's in here are not meaningful mocks, 226 // crossings. The Thread.Sleep's in here are not meaningful mocks,
246 // and they sometimes fail in panda. 227 // and they sometimes fail in panda.