From 884009ed33eab204588cc3978a46abff1098b832 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 22 Jan 2009 19:46:31 +0000 Subject: * Add some caps seed capability path checking to the simple non neighbours standalone region teleport test --- OpenSim/Tests/Common/Mock/TestClient.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'OpenSim/Tests/Common') diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs index 62350b9..f899375 100644 --- a/OpenSim/Tests/Common/Mock/TestClient.cs +++ b/OpenSim/Tests/Common/Mock/TestClient.cs @@ -270,6 +270,11 @@ namespace OpenSim.Tests.Common.Mock /// This agent's UUID /// private UUID m_agentId; + + /// + /// The last caps seed url that this client was given. + /// + public string CapsSeedUrl; private Vector3 startPos = new Vector3(128, 128, 2); @@ -377,6 +382,7 @@ namespace OpenSim.Tests.Common.Mock m_lastName = agentData.lastname; m_circuitCode = agentData.circuitcode; m_scene = scene; + CapsSeedUrl = agentData.CapsPath; } /// @@ -496,7 +502,7 @@ namespace OpenSim.Tests.Common.Mock ICapabilitiesModule capsModule = m_scene.RequestModuleInterface(); agentData.CapsPath = capsModule.GetCapsPath(m_agentId); - agentData.ChildrenCapSeeds = new Dictionary(capsModule.GetChildrenSeeds(m_agentId)); + agentData.ChildrenCapSeeds = new Dictionary(capsModule.GetChildrenSeeds(m_agentId)); return agentData; } @@ -519,6 +525,8 @@ namespace OpenSim.Tests.Common.Mock { m_log.DebugFormat("[TEST CLIENT]: Received SendRegionTeleport"); + CapsSeedUrl = capsURL; + TeleportSceneClient.CompleteMovement(); //TeleportTargetScene.AgentCrossing(newAgent.AgentID, new Vector3(90, 90, 90), false); } -- cgit v1.1