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 | 10 |
2 files changed, 11 insertions, 2 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 e46f9b7..1c860a7 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; |
@@ -879,12 +879,20 @@ namespace OpenSim.Tests.Common.Mock | |||
879 | { | 879 | { |
880 | } | 880 | } |
881 | 881 | ||
882 | public void ProcessPendingPackets() | ||
883 | { | ||
884 | } | ||
885 | |||
882 | public void ProcessInPacket(Packet NewPack) | 886 | public void ProcessInPacket(Packet NewPack) |
883 | { | 887 | { |
884 | } | 888 | } |
885 | 889 | ||
886 | public void Close() | 890 | public void Close() |
887 | { | 891 | { |
892 | Close(true); | ||
893 | } | ||
894 | public void Close(bool sendStop) | ||
895 | { | ||
888 | m_scene.RemoveClient(AgentId); | 896 | m_scene.RemoveClient(AgentId); |
889 | } | 897 | } |
890 | 898 | ||