From 093adb2113d748f28554393cc8a6fe53502126dc Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Thu, 15 Jan 2009 21:27:55 +0000
Subject: * Add new unit test for simple teleport in a standalone. * Does not
yet check results.
---
OpenSim/Tests/Common/Mock/TestClient.cs | 11 +++++++++++
1 file changed, 11 insertions(+)
(limited to 'OpenSim/Tests/Common/Mock/TestClient.cs')
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
m_firstName = agentData.firstname;
m_lastName = agentData.lastname;
}
+
+ ///
+ /// Attempt a teleport to the given region.
+ ///
+ ///
+ ///
+ ///
+ public void Teleport(ulong regionHandle, Vector3 position, Vector3 lookAt)
+ {
+ OnTeleportLocationRequest(this, regionHandle, position, lookAt, 16);
+ }
public virtual void ActivateGesture(UUID assetId, UUID gestureId)
{
--
cgit v1.1