aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Tests')
-rw-r--r--OpenSim/Tests/Common/Mock/MockAssetDataPlugin.cs3
-rw-r--r--OpenSim/Tests/Common/Mock/TestClient.cs8
2 files changed, 8 insertions, 3 deletions
diff --git a/OpenSim/Tests/Common/Mock/MockAssetDataPlugin.cs b/OpenSim/Tests/Common/Mock/MockAssetDataPlugin.cs
index 4a15cf2..5bab62c 100644
--- a/OpenSim/Tests/Common/Mock/MockAssetDataPlugin.cs
+++ b/OpenSim/Tests/Common/Mock/MockAssetDataPlugin.cs
@@ -54,9 +54,10 @@ namespace OpenSim.Tests.Common.Mock
54 return assets.Find(x=>x.FullID == uuid); 54 return assets.Find(x=>x.FullID == uuid);
55 } 55 }
56 56
57 public void StoreAsset(AssetBase asset) 57 public bool StoreAsset(AssetBase asset)
58 { 58 {
59 assets.Add(asset); 59 assets.Add(asset);
60 return true;
60 } 61 }
61 62
62 public List<AssetMetadata> FetchAssetMetadataSet(int start, int count) { return new List<AssetMetadata>(count); } 63 public List<AssetMetadata> FetchAssetMetadataSet(int start, int count) { return new List<AssetMetadata>(count); }
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs
index 3ba9ed4..5fe1985 100644
--- a/OpenSim/Tests/Common/Mock/TestClient.cs
+++ b/OpenSim/Tests/Common/Mock/TestClient.cs
@@ -69,7 +69,7 @@ namespace OpenSim.Tests.Common.Mock
69 public event MoneyTransferRequest OnMoneyTransferRequest; 69 public event MoneyTransferRequest OnMoneyTransferRequest;
70 public event ParcelBuy OnParcelBuy; 70 public event ParcelBuy OnParcelBuy;
71 public event Action<IClientAPI> OnConnectionClosed; 71 public event Action<IClientAPI> OnConnectionClosed;
72 72 public event MoveItemsAndLeaveCopy OnMoveItemsAndLeaveCopy;
73 public event ImprovedInstantMessage OnInstantMessage; 73 public event ImprovedInstantMessage OnInstantMessage;
74 public event ChatMessage OnChatFromClient; 74 public event ChatMessage OnChatFromClient;
75 public event TextureRequest OnRequestTexture; 75 public event TextureRequest OnRequestTexture;
@@ -272,7 +272,7 @@ namespace OpenSim.Tests.Common.Mock
272 public event ClassifiedInfoRequest OnClassifiedInfoRequest; 272 public event ClassifiedInfoRequest OnClassifiedInfoRequest;
273 public event ClassifiedInfoUpdate OnClassifiedInfoUpdate; 273 public event ClassifiedInfoUpdate OnClassifiedInfoUpdate;
274 public event ClassifiedDelete OnClassifiedDelete; 274 public event ClassifiedDelete OnClassifiedDelete;
275 public event ClassifiedDelete OnClassifiedGodDelete; 275 public event ClassifiedGodDelete OnClassifiedGodDelete;
276 276
277 public event EventNotificationAddRequest OnEventNotificationAddRequest; 277 public event EventNotificationAddRequest OnEventNotificationAddRequest;
278 public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; 278 public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest;
@@ -892,6 +892,10 @@ namespace OpenSim.Tests.Common.Mock
892 892
893 public void Close() 893 public void Close()
894 { 894 {
895 Close(true);
896 }
897 public void Close(bool sendStop)
898 {
895 m_scene.RemoveClient(AgentId, true); 899 m_scene.RemoveClient(AgentId, true);
896 } 900 }
897 901