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
This commit is contained in:
Justin Clark-Casey (justincc)
2013-04-29 21:11:44 +01:00
parent 6b06157126
commit aeb5ccaa0a
2 changed files with 263 additions and 1 deletions

View File

@@ -60,6 +60,11 @@ namespace OpenSim.Tests.Common.Mock
public List<ImagePacketPacket> SentImagePacketPackets { get; private set; }
public List<ImageNotInDatabasePacket> SentImageNotInDatabasePackets { get; private set; }
// Test client specific events - for use by tests to implement some IClientAPI behaviour.
public event Action<RegionInfo, Vector3, Vector3> OnReceivedMoveAgentIntoRegion;
public event Action<ulong, IPEndPoint> OnTestClientInformClientOfNeighbour;
public event Action<GridInstantMessage> OnReceivedInstantMessage;
// disable warning: public events, part of the public API
#pragma warning disable 67
@@ -548,7 +553,8 @@ namespace OpenSim.Tests.Common.Mock
public void SendInstantMessage(GridInstantMessage im)
{
if (OnReceivedInstantMessage != null)
OnReceivedInstantMessage(im);
}
public void SendGenericMessage(string method, List<string> message)