aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-01-15 21:27:55 +0000
committerJustin Clarke Casey2009-01-15 21:27:55 +0000
commit093adb2113d748f28554393cc8a6fe53502126dc (patch)
tree5565cca869b7a83845efc129f21e5f1219c16adf /OpenSim/Tests
parentSmall bit of refactoring related to the hypergrid link loading from xml files. (diff)
downloadopensim-SC_OLD-093adb2113d748f28554393cc8a6fe53502126dc.zip
opensim-SC_OLD-093adb2113d748f28554393cc8a6fe53502126dc.tar.gz
opensim-SC_OLD-093adb2113d748f28554393cc8a6fe53502126dc.tar.bz2
opensim-SC_OLD-093adb2113d748f28554393cc8a6fe53502126dc.tar.xz
* Add new unit test for simple teleport in a standalone.
* Does not yet check results.
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}