diff options
author | Justin Clark-Casey (justincc) | 2013-04-29 20:50:49 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-04-29 20:50:49 +0100 |
commit | a7cbb9edc98fabc6d2705d69310f4356e84c7596 (patch) | |
tree | 7546e86ce35401ff1a2ef08c3bc1f295a3496a10 /OpenSim/Tests/Common/Mock | |
parent | Fix bug where an agent that declined an inventory offer and subsequently empt... (diff) | |
download | opensim-SC_OLD-a7cbb9edc98fabc6d2705d69310f4356e84c7596.zip opensim-SC_OLD-a7cbb9edc98fabc6d2705d69310f4356e84c7596.tar.gz opensim-SC_OLD-a7cbb9edc98fabc6d2705d69310f4356e84c7596.tar.bz2 opensim-SC_OLD-a7cbb9edc98fabc6d2705d69310f4356e84c7596.tar.xz |
Add regression test for offer, accept and subsequent receiver delete of an item offered via instant message.
Diffstat (limited to 'OpenSim/Tests/Common/Mock')
-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 | } |