aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-12-03 16:04:11 +0000
committerJustin Clark-Casey (justincc)2011-12-03 16:04:11 +0000
commitaac3f2d04ed5d828f48959f73fca893f884cec3b (patch)
tree07552acec3aced67fae2b2035d1b5d1d025237a7 /OpenSim/Region/Framework/Scenes
parentCorrect SOP.GetNumberOfSides() to return 8 for meshes rather than 7 (diff)
downloadopensim-SC_OLD-aac3f2d04ed5d828f48959f73fca893f884cec3b.zip
opensim-SC_OLD-aac3f2d04ed5d828f48959f73fca893f884cec3b.tar.gz
opensim-SC_OLD-aac3f2d04ed5d828f48959f73fca893f884cec3b.tar.bz2
opensim-SC_OLD-aac3f2d04ed5d828f48959f73fca893f884cec3b.tar.xz
Add agent circuit number checks to TestCloseAgent()
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAgentTests.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAgentTests.cs b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAgentTests.cs
index f0bbf0b..f6a3d1f 100644
--- a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAgentTests.cs
+++ b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAgentTests.cs
@@ -103,11 +103,15 @@ namespace OpenSim.Region.Framework.Scenes.Tests
103 ScenePresence sp = SceneHelpers.AddScenePresence(scene, TestHelpers.ParseTail(0x1)); 103 ScenePresence sp = SceneHelpers.AddScenePresence(scene, TestHelpers.ParseTail(0x1));
104 104
105 Assert.That(scene.AuthenticateHandler.GetAgentCircuitData(sp.UUID), Is.Not.Null); 105 Assert.That(scene.AuthenticateHandler.GetAgentCircuitData(sp.UUID), Is.Not.Null);
106 Assert.That(scene.AuthenticateHandler.AgentCircuits.Count, Is.EqualTo(1));
107 Assert.That(scene.AuthenticateHandler.AgentCircuitsByUUID.Count, Is.EqualTo(1));
106 108
107 scene.IncomingCloseAgent(sp.UUID); 109 scene.IncomingCloseAgent(sp.UUID);
108 110
109 Assert.That(scene.GetScenePresence(sp.UUID), Is.Null); 111 Assert.That(scene.GetScenePresence(sp.UUID), Is.Null);
110 Assert.That(scene.AuthenticateHandler.GetAgentCircuitData(sp.UUID), Is.Null); 112 Assert.That(scene.AuthenticateHandler.GetAgentCircuitData(sp.UUID), Is.Null);
113 Assert.That(scene.AuthenticateHandler.AgentCircuits.Count, Is.EqualTo(0));
114 Assert.That(scene.AuthenticateHandler.AgentCircuitsByUUID.Count, Is.EqualTo(0));
111 } 115 }
112 116
113 /// <summary> 117 /// <summary>