aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Tests/Common/Mock/TestClient.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs
index 2fc6572..fad757a 100644
--- a/OpenSim/Tests/Common/Mock/TestClient.cs
+++ b/OpenSim/Tests/Common/Mock/TestClient.cs
@@ -60,6 +60,7 @@ namespace OpenSim.Tests.Common.Mock
60 60
61 public List<ImageDataPacket> SentImageDataPackets { get; private set; } 61 public List<ImageDataPacket> SentImageDataPackets { get; private set; }
62 public List<ImagePacketPacket> SentImagePacketPackets { get; private set; } 62 public List<ImagePacketPacket> SentImagePacketPackets { get; private set; }
63 public List<ImageNotInDatabasePacket> SentImageNotInDatabasePackets { get; private set; }
63 64
64// disable warning: public events, part of the public API 65// disable warning: public events, part of the public API
65#pragma warning disable 67 66#pragma warning disable 67
@@ -455,6 +456,7 @@ namespace OpenSim.Tests.Common.Mock
455 456
456 SentImageDataPackets = new List<ImageDataPacket>(); 457 SentImageDataPackets = new List<ImageDataPacket>();
457 SentImagePacketPackets = new List<ImagePacketPacket>(); 458 SentImagePacketPackets = new List<ImagePacketPacket>();
459 SentImageNotInDatabasePackets = new List<ImageNotInDatabasePacket>();
458 } 460 }
459 461
460 /// <summary> 462 /// <summary>
@@ -822,6 +824,10 @@ namespace OpenSim.Tests.Common.Mock
822 824
823 public void SendImageNotFound(UUID imageid) 825 public void SendImageNotFound(UUID imageid)
824 { 826 {
827 ImageNotInDatabasePacket p = new ImageNotInDatabasePacket();
828 p.ImageID.ID = imageid;
829
830 SentImageNotInDatabasePackets.Add(p);
825 } 831 }
826 832
827 public void SendShutdownConnectionNotice() 833 public void SendShutdownConnectionNotice()