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 dde37ab..9e16991 100644 --- a/OpenSim/Tests/Common/Mock/TestClient.cs +++ b/OpenSim/Tests/Common/Mock/TestClient.cs | |||
@@ -482,6 +482,18 @@ namespace OpenSim.Tests.Common.Mock | |||
482 | OnCompleteMovementToRegion(this, true); | 482 | OnCompleteMovementToRegion(this, true); |
483 | } | 483 | } |
484 | 484 | ||
485 | /// <summary> | ||
486 | /// Emulate sending an IM from the viewer to the simulator. | ||
487 | /// </summary> | ||
488 | /// <param name='im'></param> | ||
489 | public void HandleImprovedInstantMessage(GridInstantMessage im) | ||
490 | { | ||
491 | ImprovedInstantMessage handlerInstantMessage = OnInstantMessage; | ||
492 | |||
493 | if (handlerInstantMessage != null) | ||
494 | handlerInstantMessage(this, im); | ||
495 | } | ||
496 | |||
485 | public virtual void ActivateGesture(UUID assetId, UUID gestureId) | 497 | public virtual void ActivateGesture(UUID assetId, UUID gestureId) |
486 | { | 498 | { |
487 | } | 499 | } |