diff options
author | Justin Clark-Casey (justincc) | 2013-04-29 20:50:49 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-05-03 22:41:14 +0100 |
commit | 6b0615712650ea72ab63cb9b6c107cccca47d400 (patch) | |
tree | 2a881a26e6b3a68d01e4aefa8d81add110386a11 /OpenSim/Tests/Common/Mock/TestClient.cs | |
parent | Fix bug where an agent that declined an inventory offer and subsequently empt... (diff) | |
download | opensim-SC_OLD-6b0615712650ea72ab63cb9b6c107cccca47d400.zip opensim-SC_OLD-6b0615712650ea72ab63cb9b6c107cccca47d400.tar.gz opensim-SC_OLD-6b0615712650ea72ab63cb9b6c107cccca47d400.tar.bz2 opensim-SC_OLD-6b0615712650ea72ab63cb9b6c107cccca47d400.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/TestClient.cs')
-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 | } |