diff options
Diffstat (limited to 'OpenSim/Tests')
-rw-r--r-- | OpenSim/Tests/Common/Mock/TestClient.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs index d26e3f7..b7a7463 100644 --- a/OpenSim/Tests/Common/Mock/TestClient.cs +++ b/OpenSim/Tests/Common/Mock/TestClient.cs | |||
@@ -484,6 +484,18 @@ namespace OpenSim.Tests.Common.Mock | |||
484 | OnCompleteMovementToRegion(this, true); | 484 | OnCompleteMovementToRegion(this, true); |
485 | } | 485 | } |
486 | 486 | ||
487 | /// <summary> | ||
488 | /// Emulate sending an IM from the viewer to the simulator. | ||
489 | /// </summary> | ||
490 | /// <param name='im'></param> | ||
491 | public void HandleImprovedInstantMessage(GridInstantMessage im) | ||
492 | { | ||
493 | ImprovedInstantMessage handlerInstantMessage = OnInstantMessage; | ||
494 | |||
495 | if (handlerInstantMessage != null) | ||
496 | handlerInstantMessage(this, im); | ||
497 | } | ||
498 | |||
487 | public virtual void ActivateGesture(UUID assetId, UUID gestureId) | 499 | public virtual void ActivateGesture(UUID assetId, UUID gestureId) |
488 | { | 500 | { |
489 | } | 501 | } |