diff options
author | Justin Clark-Casey (justincc) | 2013-04-29 21:11:44 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-05-03 22:47:52 +0100 |
commit | aeb5ccaa0aef6663401942a4b3d4ee3ac72002dc (patch) | |
tree | 47d1b4e7f3e910ced5a93062ceb764763037f1fe /OpenSim/Tests/Common/Mock/TestClient.cs | |
parent | Add regression test for offer, accept and subsequent receiver delete of an it... (diff) | |
download | opensim-SC_OLD-aeb5ccaa0aef6663401942a4b3d4ee3ac72002dc.zip opensim-SC_OLD-aeb5ccaa0aef6663401942a4b3d4ee3ac72002dc.tar.gz opensim-SC_OLD-aeb5ccaa0aef6663401942a4b3d4ee3ac72002dc.tar.bz2 opensim-SC_OLD-aeb5ccaa0aef6663401942a4b3d4ee3ac72002dc.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 '')
-rw-r--r-- | OpenSim/Tests/Common/Mock/TestClient.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs index 9e16991..48768d9 100644 --- a/OpenSim/Tests/Common/Mock/TestClient.cs +++ b/OpenSim/Tests/Common/Mock/TestClient.cs | |||
@@ -60,6 +60,11 @@ namespace OpenSim.Tests.Common.Mock | |||
60 | public List<ImagePacketPacket> SentImagePacketPackets { get; private set; } | 60 | public List<ImagePacketPacket> SentImagePacketPackets { get; private set; } |
61 | public List<ImageNotInDatabasePacket> SentImageNotInDatabasePackets { get; private set; } | 61 | public List<ImageNotInDatabasePacket> SentImageNotInDatabasePackets { get; private set; } |
62 | 62 | ||
63 | // Test client specific events - for use by tests to implement some IClientAPI behaviour. | ||
64 | public event Action<RegionInfo, Vector3, Vector3> OnReceivedMoveAgentIntoRegion; | ||
65 | public event Action<ulong, IPEndPoint> OnTestClientInformClientOfNeighbour; | ||
66 | public event Action<GridInstantMessage> OnReceivedInstantMessage; | ||
67 | |||
63 | // disable warning: public events, part of the public API | 68 | // disable warning: public events, part of the public API |
64 | #pragma warning disable 67 | 69 | #pragma warning disable 67 |
65 | 70 | ||
@@ -548,7 +553,8 @@ namespace OpenSim.Tests.Common.Mock | |||
548 | 553 | ||
549 | public void SendInstantMessage(GridInstantMessage im) | 554 | public void SendInstantMessage(GridInstantMessage im) |
550 | { | 555 | { |
551 | 556 | if (OnReceivedInstantMessage != null) | |
557 | OnReceivedInstantMessage(im); | ||
552 | } | 558 | } |
553 | 559 | ||
554 | public void SendGenericMessage(string method, List<string> message) | 560 | public void SendGenericMessage(string method, List<string> message) |