diff options
Diffstat (limited to 'OpenSim/Tests/Common')
-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 37b90e1..c8b1936 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; |
@@ -274,7 +274,7 @@ namespace OpenSim.Tests.Common.Mock | |||
274 | public event ClassifiedInfoRequest OnClassifiedInfoRequest; | 274 | public event ClassifiedInfoRequest OnClassifiedInfoRequest; |
275 | public event ClassifiedInfoUpdate OnClassifiedInfoUpdate; | 275 | public event ClassifiedInfoUpdate OnClassifiedInfoUpdate; |
276 | public event ClassifiedDelete OnClassifiedDelete; | 276 | public event ClassifiedDelete OnClassifiedDelete; |
277 | public event ClassifiedDelete OnClassifiedGodDelete; | 277 | public event ClassifiedGodDelete OnClassifiedGodDelete; |
278 | 278 | ||
279 | public event EventNotificationAddRequest OnEventNotificationAddRequest; | 279 | public event EventNotificationAddRequest OnEventNotificationAddRequest; |
280 | public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; | 280 | public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; |
@@ -313,6 +313,7 @@ namespace OpenSim.Tests.Common.Mock | |||
313 | public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; | 313 | public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; |
314 | public event SimWideDeletesDelegate OnSimWideDeletes; | 314 | public event SimWideDeletesDelegate OnSimWideDeletes; |
315 | public event SendPostcard OnSendPostcard; | 315 | public event SendPostcard OnSendPostcard; |
316 | public event ChangeInventoryItemFlags OnChangeInventoryItemFlags; | ||
316 | public event MuteListEntryUpdate OnUpdateMuteListEntry; | 317 | public event MuteListEntryUpdate OnUpdateMuteListEntry; |
317 | public event MuteListEntryRemove OnRemoveMuteListEntry; | 318 | public event MuteListEntryRemove OnRemoveMuteListEntry; |
318 | public event GodlikeMessage onGodlikeMessage; | 319 | public event GodlikeMessage onGodlikeMessage; |
@@ -897,6 +898,10 @@ namespace OpenSim.Tests.Common.Mock | |||
897 | 898 | ||
898 | public void Close() | 899 | public void Close() |
899 | { | 900 | { |
901 | Close(true); | ||
902 | } | ||
903 | public void Close(bool sendStop) | ||
904 | { | ||
900 | m_scene.RemoveClient(AgentId, true); | 905 | m_scene.RemoveClient(AgentId, true); |
901 | } | 906 | } |
902 | 907 | ||