diff options
Diffstat (limited to 'OpenSim/Tests/Common/Mock')
-rw-r--r-- | OpenSim/Tests/Common/Mock/MockAssetDataPlugin.cs | 3 | ||||
-rw-r--r-- | OpenSim/Tests/Common/Mock/TestClient.cs | 9 |
2 files changed, 9 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 4d3d257..c32dbf5 100644 --- a/OpenSim/Tests/Common/Mock/TestClient.cs +++ b/OpenSim/Tests/Common/Mock/TestClient.cs | |||
@@ -71,7 +71,7 @@ namespace OpenSim.Tests.Common.Mock | |||
71 | public event MoneyTransferRequest OnMoneyTransferRequest; | 71 | public event MoneyTransferRequest OnMoneyTransferRequest; |
72 | public event ParcelBuy OnParcelBuy; | 72 | public event ParcelBuy OnParcelBuy; |
73 | public event Action<IClientAPI> OnConnectionClosed; | 73 | public event Action<IClientAPI> OnConnectionClosed; |
74 | 74 | public event MoveItemsAndLeaveCopy OnMoveItemsAndLeaveCopy; | |
75 | public event ImprovedInstantMessage OnInstantMessage; | 75 | public event ImprovedInstantMessage OnInstantMessage; |
76 | public event ChatMessage OnChatFromClient; | 76 | public event ChatMessage OnChatFromClient; |
77 | public event TextureRequest OnRequestTexture; | 77 | public event TextureRequest OnRequestTexture; |
@@ -276,7 +276,7 @@ namespace OpenSim.Tests.Common.Mock | |||
276 | public event ClassifiedInfoRequest OnClassifiedInfoRequest; | 276 | public event ClassifiedInfoRequest OnClassifiedInfoRequest; |
277 | public event ClassifiedInfoUpdate OnClassifiedInfoUpdate; | 277 | public event ClassifiedInfoUpdate OnClassifiedInfoUpdate; |
278 | public event ClassifiedDelete OnClassifiedDelete; | 278 | public event ClassifiedDelete OnClassifiedDelete; |
279 | public event ClassifiedDelete OnClassifiedGodDelete; | 279 | public event ClassifiedGodDelete OnClassifiedGodDelete; |
280 | 280 | ||
281 | public event EventNotificationAddRequest OnEventNotificationAddRequest; | 281 | public event EventNotificationAddRequest OnEventNotificationAddRequest; |
282 | public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; | 282 | public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; |
@@ -315,6 +315,7 @@ namespace OpenSim.Tests.Common.Mock | |||
315 | public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; | 315 | public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; |
316 | public event SimWideDeletesDelegate OnSimWideDeletes; | 316 | public event SimWideDeletesDelegate OnSimWideDeletes; |
317 | public event SendPostcard OnSendPostcard; | 317 | public event SendPostcard OnSendPostcard; |
318 | public event ChangeInventoryItemFlags OnChangeInventoryItemFlags; | ||
318 | public event MuteListEntryUpdate OnUpdateMuteListEntry; | 319 | public event MuteListEntryUpdate OnUpdateMuteListEntry; |
319 | public event MuteListEntryRemove OnRemoveMuteListEntry; | 320 | public event MuteListEntryRemove OnRemoveMuteListEntry; |
320 | public event GodlikeMessage onGodlikeMessage; | 321 | public event GodlikeMessage onGodlikeMessage; |
@@ -907,6 +908,10 @@ namespace OpenSim.Tests.Common.Mock | |||
907 | 908 | ||
908 | public void Close() | 909 | public void Close() |
909 | { | 910 | { |
911 | Close(true); | ||
912 | } | ||
913 | public void Close(bool sendStop) | ||
914 | { | ||
910 | m_scene.RemoveClient(AgentId, true); | 915 | m_scene.RemoveClient(AgentId, true); |
911 | } | 916 | } |
912 | 917 | ||