aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Tests')
-rw-r--r--OpenSim/Tests/Common/Mock/TestClient.cs11
-rw-r--r--OpenSim/Tests/Common/Mock/TestCommunicationsManager.cs3
2 files changed, 13 insertions, 1 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs
index 428f599..5b3b27b 100644
--- a/OpenSim/Tests/Common/Mock/TestClient.cs
+++ b/OpenSim/Tests/Common/Mock/TestClient.cs
@@ -365,6 +365,17 @@ namespace OpenSim.Tests.Common.Mock
365 m_firstName = agentData.firstname; 365 m_firstName = agentData.firstname;
366 m_lastName = agentData.lastname; 366 m_lastName = agentData.lastname;
367 } 367 }
368
369 /// <summary>
370 /// Attempt a teleport to the given region.
371 /// </summary>
372 /// <param name="regionHandle"></param>
373 /// <param name="position"></param>
374 /// <param name="lookAt"></param>
375 public void Teleport(ulong regionHandle, Vector3 position, Vector3 lookAt)
376 {
377 OnTeleportLocationRequest(this, regionHandle, position, lookAt, 16);
378 }
368 379
369 public virtual void ActivateGesture(UUID assetId, UUID gestureId) 380 public virtual void ActivateGesture(UUID assetId, UUID gestureId)
370 { 381 {
diff --git a/OpenSim/Tests/Common/Mock/TestCommunicationsManager.cs b/OpenSim/Tests/Common/Mock/TestCommunicationsManager.cs
index 738bc15..1663ac1 100644
--- a/OpenSim/Tests/Common/Mock/TestCommunicationsManager.cs
+++ b/OpenSim/Tests/Common/Mock/TestCommunicationsManager.cs
@@ -69,7 +69,8 @@ namespace OpenSim.Tests.Common.Mock
69 m_userAdminService = lus; 69 m_userAdminService = lus;
70 70
71 LocalBackEndServices gs = new LocalBackEndServices(); 71 LocalBackEndServices gs = new LocalBackEndServices();
72 m_gridService = gs; 72 m_gridService = gs;
73 m_interRegion = gs;
73 } 74 }
74 } 75 }
75} 76}