diff options
Diffstat (limited to 'OpenSim/Tests')
-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 b83ef9b..1e74451 100644 --- a/OpenSim/Tests/Common/Mock/TestClient.cs +++ b/OpenSim/Tests/Common/Mock/TestClient.cs | |||
@@ -70,7 +70,7 @@ namespace OpenSim.Tests.Common.Mock | |||
70 | public event MoneyTransferRequest OnMoneyTransferRequest; | 70 | public event MoneyTransferRequest OnMoneyTransferRequest; |
71 | public event ParcelBuy OnParcelBuy; | 71 | public event ParcelBuy OnParcelBuy; |
72 | public event Action<IClientAPI> OnConnectionClosed; | 72 | public event Action<IClientAPI> OnConnectionClosed; |
73 | 73 | public event MoveItemsAndLeaveCopy OnMoveItemsAndLeaveCopy; | |
74 | public event ImprovedInstantMessage OnInstantMessage; | 74 | public event ImprovedInstantMessage OnInstantMessage; |
75 | public event ChatMessage OnChatFromClient; | 75 | public event ChatMessage OnChatFromClient; |
76 | public event TextureRequest OnRequestTexture; | 76 | public event TextureRequest OnRequestTexture; |
@@ -273,7 +273,7 @@ namespace OpenSim.Tests.Common.Mock | |||
273 | public event ClassifiedInfoRequest OnClassifiedInfoRequest; | 273 | public event ClassifiedInfoRequest OnClassifiedInfoRequest; |
274 | public event ClassifiedInfoUpdate OnClassifiedInfoUpdate; | 274 | public event ClassifiedInfoUpdate OnClassifiedInfoUpdate; |
275 | public event ClassifiedDelete OnClassifiedDelete; | 275 | public event ClassifiedDelete OnClassifiedDelete; |
276 | public event ClassifiedDelete OnClassifiedGodDelete; | 276 | public event ClassifiedGodDelete OnClassifiedGodDelete; |
277 | 277 | ||
278 | public event EventNotificationAddRequest OnEventNotificationAddRequest; | 278 | public event EventNotificationAddRequest OnEventNotificationAddRequest; |
279 | public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; | 279 | public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; |
@@ -312,6 +312,7 @@ namespace OpenSim.Tests.Common.Mock | |||
312 | public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; | 312 | public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; |
313 | public event SimWideDeletesDelegate OnSimWideDeletes; | 313 | public event SimWideDeletesDelegate OnSimWideDeletes; |
314 | public event SendPostcard OnSendPostcard; | 314 | public event SendPostcard OnSendPostcard; |
315 | public event ChangeInventoryItemFlags OnChangeInventoryItemFlags; | ||
315 | public event MuteListEntryUpdate OnUpdateMuteListEntry; | 316 | public event MuteListEntryUpdate OnUpdateMuteListEntry; |
316 | public event MuteListEntryRemove OnRemoveMuteListEntry; | 317 | public event MuteListEntryRemove OnRemoveMuteListEntry; |
317 | public event GodlikeMessage onGodlikeMessage; | 318 | public event GodlikeMessage onGodlikeMessage; |
@@ -894,6 +895,10 @@ namespace OpenSim.Tests.Common.Mock | |||
894 | 895 | ||
895 | public void Close() | 896 | public void Close() |
896 | { | 897 | { |
898 | Close(true); | ||
899 | } | ||
900 | public void Close(bool sendStop) | ||
901 | { | ||
897 | m_scene.RemoveClient(AgentId, true); | 902 | m_scene.RemoveClient(AgentId, true); |
898 | } | 903 | } |
899 | 904 | ||