diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Tests/Common/Mock/MockAssetDataPlugin.cs | 3 | ||||
-rw-r--r-- | OpenSim/Tests/Common/Mock/TestClient.cs | 15 |
2 files changed, 15 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 36049a1..8cedebb 100644 --- a/OpenSim/Tests/Common/Mock/TestClient.cs +++ b/OpenSim/Tests/Common/Mock/TestClient.cs | |||
@@ -69,7 +69,7 @@ namespace OpenSim.Tests.Common.Mock | |||
69 | public event MoneyTransferRequest OnMoneyTransferRequest; | 69 | public event MoneyTransferRequest OnMoneyTransferRequest; |
70 | public event ParcelBuy OnParcelBuy; | 70 | public event ParcelBuy OnParcelBuy; |
71 | public event Action<IClientAPI> OnConnectionClosed; | 71 | public event Action<IClientAPI> OnConnectionClosed; |
72 | 72 | public event MoveItemsAndLeaveCopy OnMoveItemsAndLeaveCopy; | |
73 | public event ImprovedInstantMessage OnInstantMessage; | 73 | public event ImprovedInstantMessage OnInstantMessage; |
74 | public event ChatMessage OnChatFromClient; | 74 | public event ChatMessage OnChatFromClient; |
75 | public event TextureRequest OnRequestTexture; | 75 | public event TextureRequest OnRequestTexture; |
@@ -133,6 +133,7 @@ namespace OpenSim.Tests.Common.Mock | |||
133 | public event GenericCall7 OnObjectMaterial; | 133 | public event GenericCall7 OnObjectMaterial; |
134 | public event UpdatePrimFlags OnUpdatePrimFlags; | 134 | public event UpdatePrimFlags OnUpdatePrimFlags; |
135 | public event UpdatePrimTexture OnUpdatePrimTexture; | 135 | public event UpdatePrimTexture OnUpdatePrimTexture; |
136 | public event ClientChangeObject onClientChangeObject; | ||
136 | public event UpdateVector OnUpdatePrimGroupPosition; | 137 | public event UpdateVector OnUpdatePrimGroupPosition; |
137 | public event UpdateVector OnUpdatePrimSinglePosition; | 138 | public event UpdateVector OnUpdatePrimSinglePosition; |
138 | public event UpdatePrimRotation OnUpdatePrimGroupRotation; | 139 | public event UpdatePrimRotation OnUpdatePrimGroupRotation; |
@@ -274,7 +275,7 @@ namespace OpenSim.Tests.Common.Mock | |||
274 | public event ClassifiedInfoRequest OnClassifiedInfoRequest; | 275 | public event ClassifiedInfoRequest OnClassifiedInfoRequest; |
275 | public event ClassifiedInfoUpdate OnClassifiedInfoUpdate; | 276 | public event ClassifiedInfoUpdate OnClassifiedInfoUpdate; |
276 | public event ClassifiedDelete OnClassifiedDelete; | 277 | public event ClassifiedDelete OnClassifiedDelete; |
277 | public event ClassifiedDelete OnClassifiedGodDelete; | 278 | public event ClassifiedGodDelete OnClassifiedGodDelete; |
278 | 279 | ||
279 | public event EventNotificationAddRequest OnEventNotificationAddRequest; | 280 | public event EventNotificationAddRequest OnEventNotificationAddRequest; |
280 | public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; | 281 | public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; |
@@ -313,6 +314,7 @@ namespace OpenSim.Tests.Common.Mock | |||
313 | public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; | 314 | public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; |
314 | public event SimWideDeletesDelegate OnSimWideDeletes; | 315 | public event SimWideDeletesDelegate OnSimWideDeletes; |
315 | public event SendPostcard OnSendPostcard; | 316 | public event SendPostcard OnSendPostcard; |
317 | public event ChangeInventoryItemFlags OnChangeInventoryItemFlags; | ||
316 | public event MuteListEntryUpdate OnUpdateMuteListEntry; | 318 | public event MuteListEntryUpdate OnUpdateMuteListEntry; |
317 | public event MuteListEntryRemove OnRemoveMuteListEntry; | 319 | public event MuteListEntryRemove OnRemoveMuteListEntry; |
318 | public event GodlikeMessage onGodlikeMessage; | 320 | public event GodlikeMessage onGodlikeMessage; |
@@ -932,6 +934,11 @@ namespace OpenSim.Tests.Common.Mock | |||
932 | Close(); | 934 | Close(); |
933 | } | 935 | } |
934 | 936 | ||
937 | public void Close(bool c) | ||
938 | { | ||
939 | Close(); | ||
940 | } | ||
941 | |||
935 | public void Close() | 942 | public void Close() |
936 | { | 943 | { |
937 | // Fire the callback for this connection closing | 944 | // Fire the callback for this connection closing |
@@ -1284,5 +1291,9 @@ namespace OpenSim.Tests.Common.Mock | |||
1284 | public void SendPlacesReply(UUID queryID, UUID transactionID, PlacesReplyData[] data) | 1291 | public void SendPlacesReply(UUID queryID, UUID transactionID, PlacesReplyData[] data) |
1285 | { | 1292 | { |
1286 | } | 1293 | } |
1294 | |||
1295 | public void SendPartPhysicsProprieties(ISceneEntity entity) | ||
1296 | { | ||
1297 | } | ||
1287 | } | 1298 | } |
1288 | } | 1299 | } |