diff options
author | Justin Clark-Casey (justincc) | 2013-04-29 21:11:44 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-04-29 21:11:44 +0100 |
commit | 0beccf23c0c2e7b2420f4f150d5f2566f0d63370 (patch) | |
tree | 6a7eaf4690644f49fe5249ee62f72df5fefb3c29 /OpenSim/Tests/Common/Mock | |
parent | Add regression test for offer, accept and subsequent receiver delete of an it... (diff) | |
download | opensim-SC_OLD-0beccf23c0c2e7b2420f4f150d5f2566f0d63370.zip opensim-SC_OLD-0beccf23c0c2e7b2420f4f150d5f2566f0d63370.tar.gz opensim-SC_OLD-0beccf23c0c2e7b2420f4f150d5f2566f0d63370.tar.bz2 opensim-SC_OLD-0beccf23c0c2e7b2420f4f150d5f2566f0d63370.tar.xz |
Add regression test for inventory item give, reject and subsequent trash folder purge by receiver.
This commit also actually adds the InventoryTransferModuleTests file which I previously forgot
Diffstat (limited to 'OpenSim/Tests/Common/Mock')
-rw-r--r-- | OpenSim/Tests/Common/Mock/TestClient.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs index b7a7463..41402a4 100644 --- a/OpenSim/Tests/Common/Mock/TestClient.cs +++ b/OpenSim/Tests/Common/Mock/TestClient.cs | |||
@@ -61,6 +61,7 @@ namespace OpenSim.Tests.Common.Mock | |||
61 | // Test client specific events - for use by tests to implement some IClientAPI behaviour. | 61 | // Test client specific events - for use by tests to implement some IClientAPI behaviour. |
62 | public event Action<RegionInfo, Vector3, Vector3> OnReceivedMoveAgentIntoRegion; | 62 | public event Action<RegionInfo, Vector3, Vector3> OnReceivedMoveAgentIntoRegion; |
63 | public event Action<ulong, IPEndPoint> OnTestClientInformClientOfNeighbour; | 63 | public event Action<ulong, IPEndPoint> OnTestClientInformClientOfNeighbour; |
64 | public event Action<GridInstantMessage> OnReceivedInstantMessage; | ||
64 | 65 | ||
65 | // disable warning: public events, part of the public API | 66 | // disable warning: public events, part of the public API |
66 | #pragma warning disable 67 | 67 | #pragma warning disable 67 |
@@ -550,7 +551,8 @@ namespace OpenSim.Tests.Common.Mock | |||
550 | 551 | ||
551 | public void SendInstantMessage(GridInstantMessage im) | 552 | public void SendInstantMessage(GridInstantMessage im) |
552 | { | 553 | { |
553 | 554 | if (OnReceivedInstantMessage != null) | |
555 | OnReceivedInstantMessage(im); | ||
554 | } | 556 | } |
555 | 557 | ||
556 | public void SendGenericMessage(string method, UUID invoice, List<string> message) | 558 | public void SendGenericMessage(string method, UUID invoice, List<string> message) |