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 | 10 |
2 files changed, 9 insertions, 4 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 71f2bf4..b4f521f 100644 --- a/OpenSim/Tests/Common/Mock/TestClient.cs +++ b/OpenSim/Tests/Common/Mock/TestClient.cs | |||
@@ -65,7 +65,7 @@ namespace OpenSim.Tests.Common.Mock | |||
65 | public event MoneyTransferRequest OnMoneyTransferRequest; | 65 | public event MoneyTransferRequest OnMoneyTransferRequest; |
66 | public event ParcelBuy OnParcelBuy; | 66 | public event ParcelBuy OnParcelBuy; |
67 | public event Action<IClientAPI> OnConnectionClosed; | 67 | public event Action<IClientAPI> OnConnectionClosed; |
68 | 68 | public event MoveItemsAndLeaveCopy OnMoveItemsAndLeaveCopy; | |
69 | public event ImprovedInstantMessage OnInstantMessage; | 69 | public event ImprovedInstantMessage OnInstantMessage; |
70 | public event ChatMessage OnChatFromClient; | 70 | public event ChatMessage OnChatFromClient; |
71 | public event TextureRequest OnRequestTexture; | 71 | public event TextureRequest OnRequestTexture; |
@@ -268,7 +268,7 @@ namespace OpenSim.Tests.Common.Mock | |||
268 | public event ClassifiedInfoRequest OnClassifiedInfoRequest; | 268 | public event ClassifiedInfoRequest OnClassifiedInfoRequest; |
269 | public event ClassifiedInfoUpdate OnClassifiedInfoUpdate; | 269 | public event ClassifiedInfoUpdate OnClassifiedInfoUpdate; |
270 | public event ClassifiedDelete OnClassifiedDelete; | 270 | public event ClassifiedDelete OnClassifiedDelete; |
271 | public event ClassifiedDelete OnClassifiedGodDelete; | 271 | public event ClassifiedGodDelete OnClassifiedGodDelete; |
272 | 272 | ||
273 | public event EventNotificationAddRequest OnEventNotificationAddRequest; | 273 | public event EventNotificationAddRequest OnEventNotificationAddRequest; |
274 | public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; | 274 | public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; |
@@ -487,7 +487,7 @@ namespace OpenSim.Tests.Common.Mock | |||
487 | 487 | ||
488 | } | 488 | } |
489 | 489 | ||
490 | public virtual void SendKillObject(ulong regionHandle, uint localID) | 490 | public virtual void SendKillObject(ulong regionHandle, List<uint> localID) |
491 | { | 491 | { |
492 | } | 492 | } |
493 | 493 | ||
@@ -887,6 +887,10 @@ namespace OpenSim.Tests.Common.Mock | |||
887 | 887 | ||
888 | public void Close() | 888 | public void Close() |
889 | { | 889 | { |
890 | Close(true); | ||
891 | } | ||
892 | public void Close(bool sendStop) | ||
893 | { | ||
890 | m_scene.RemoveClient(AgentId, true); | 894 | m_scene.RemoveClient(AgentId, true); |
891 | } | 895 | } |
892 | 896 | ||