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/MockRegionDataPlugin.cs | 10 | ||||
-rw-r--r-- | OpenSim/Tests/Common/Mock/TestClient.cs | 21 |
3 files changed, 28 insertions, 6 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/MockRegionDataPlugin.cs b/OpenSim/Tests/Common/Mock/MockRegionDataPlugin.cs index ed29c39..5c1ec0b 100644 --- a/OpenSim/Tests/Common/Mock/MockRegionDataPlugin.cs +++ b/OpenSim/Tests/Common/Mock/MockRegionDataPlugin.cs | |||
@@ -128,6 +128,11 @@ namespace OpenSim.Data.Null | |||
128 | m_store.RemoveRegionEnvironmentSettings(regionUUID); | 128 | m_store.RemoveRegionEnvironmentSettings(regionUUID); |
129 | } | 129 | } |
130 | 130 | ||
131 | public UUID[] GetObjectIDs(UUID regionID) | ||
132 | { | ||
133 | return new UUID[0]; | ||
134 | } | ||
135 | |||
131 | public void SaveExtra(UUID regionID, string name, string value) | 136 | public void SaveExtra(UUID regionID, string name, string value) |
132 | { | 137 | { |
133 | } | 138 | } |
@@ -332,6 +337,11 @@ namespace OpenSim.Data.Null | |||
332 | { | 337 | { |
333 | } | 338 | } |
334 | 339 | ||
340 | public UUID[] GetObjectIDs(UUID regionID) | ||
341 | { | ||
342 | return new UUID[0]; | ||
343 | } | ||
344 | |||
335 | public void SaveExtra(UUID regionID, string name, string value) | 345 | public void SaveExtra(UUID regionID, string name, string value) |
336 | { | 346 | { |
337 | } | 347 | } |
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs index dde37ab..ebdfb4f 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; |
@@ -86,6 +86,7 @@ namespace OpenSim.Tests.Common.Mock | |||
86 | public event ObjectDrop OnObjectDrop; | 86 | public event ObjectDrop OnObjectDrop; |
87 | public event StartAnim OnStartAnim; | 87 | public event StartAnim OnStartAnim; |
88 | public event StopAnim OnStopAnim; | 88 | public event StopAnim OnStopAnim; |
89 | public event ChangeAnim OnChangeAnim; | ||
89 | public event LinkObjects OnLinkObjects; | 90 | public event LinkObjects OnLinkObjects; |
90 | public event DelinkObjects OnDelinkObjects; | 91 | public event DelinkObjects OnDelinkObjects; |
91 | public event RequestMapBlocks OnRequestMapBlocks; | 92 | public event RequestMapBlocks OnRequestMapBlocks; |
@@ -133,6 +134,7 @@ namespace OpenSim.Tests.Common.Mock | |||
133 | public event GenericCall7 OnObjectMaterial; | 134 | public event GenericCall7 OnObjectMaterial; |
134 | public event UpdatePrimFlags OnUpdatePrimFlags; | 135 | public event UpdatePrimFlags OnUpdatePrimFlags; |
135 | public event UpdatePrimTexture OnUpdatePrimTexture; | 136 | public event UpdatePrimTexture OnUpdatePrimTexture; |
137 | public event ClientChangeObject onClientChangeObject; | ||
136 | public event UpdateVector OnUpdatePrimGroupPosition; | 138 | public event UpdateVector OnUpdatePrimGroupPosition; |
137 | public event UpdateVector OnUpdatePrimSinglePosition; | 139 | public event UpdateVector OnUpdatePrimSinglePosition; |
138 | public event UpdatePrimRotation OnUpdatePrimGroupRotation; | 140 | public event UpdatePrimRotation OnUpdatePrimGroupRotation; |
@@ -274,7 +276,7 @@ namespace OpenSim.Tests.Common.Mock | |||
274 | public event ClassifiedInfoRequest OnClassifiedInfoRequest; | 276 | public event ClassifiedInfoRequest OnClassifiedInfoRequest; |
275 | public event ClassifiedInfoUpdate OnClassifiedInfoUpdate; | 277 | public event ClassifiedInfoUpdate OnClassifiedInfoUpdate; |
276 | public event ClassifiedDelete OnClassifiedDelete; | 278 | public event ClassifiedDelete OnClassifiedDelete; |
277 | public event ClassifiedDelete OnClassifiedGodDelete; | 279 | public event ClassifiedGodDelete OnClassifiedGodDelete; |
278 | 280 | ||
279 | public event EventNotificationAddRequest OnEventNotificationAddRequest; | 281 | public event EventNotificationAddRequest OnEventNotificationAddRequest; |
280 | public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; | 282 | public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; |
@@ -313,6 +315,7 @@ namespace OpenSim.Tests.Common.Mock | |||
313 | public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; | 315 | public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; |
314 | public event SimWideDeletesDelegate OnSimWideDeletes; | 316 | public event SimWideDeletesDelegate OnSimWideDeletes; |
315 | public event SendPostcard OnSendPostcard; | 317 | public event SendPostcard OnSendPostcard; |
318 | public event ChangeInventoryItemFlags OnChangeInventoryItemFlags; | ||
316 | public event MuteListEntryUpdate OnUpdateMuteListEntry; | 319 | public event MuteListEntryUpdate OnUpdateMuteListEntry; |
317 | public event MuteListEntryRemove OnRemoveMuteListEntry; | 320 | public event MuteListEntryRemove OnRemoveMuteListEntry; |
318 | public event GodlikeMessage onGodlikeMessage; | 321 | public event GodlikeMessage onGodlikeMessage; |
@@ -709,6 +712,10 @@ namespace OpenSim.Tests.Common.Mock | |||
709 | { | 712 | { |
710 | } | 713 | } |
711 | 714 | ||
715 | public void SendInventoryItemCreateUpdate(InventoryItemBase Item, UUID transactionID, uint callbackId) | ||
716 | { | ||
717 | } | ||
718 | |||
712 | public virtual void SendRemoveInventoryItem(UUID itemID) | 719 | public virtual void SendRemoveInventoryItem(UUID itemID) |
713 | { | 720 | { |
714 | } | 721 | } |
@@ -725,7 +732,7 @@ namespace OpenSim.Tests.Common.Mock | |||
725 | { | 732 | { |
726 | } | 733 | } |
727 | 734 | ||
728 | public virtual void SendXferPacket(ulong xferID, uint packet, byte[] data) | 735 | public virtual void SendXferPacket(ulong xferID, uint packet, byte[] data, bool isTaskInventory) |
729 | { | 736 | { |
730 | } | 737 | } |
731 | 738 | ||
@@ -930,10 +937,10 @@ namespace OpenSim.Tests.Common.Mock | |||
930 | 937 | ||
931 | public void Close() | 938 | public void Close() |
932 | { | 939 | { |
933 | Close(false); | 940 | Close(true, false); |
934 | } | 941 | } |
935 | 942 | ||
936 | public void Close(bool force) | 943 | public void Close(bool sendStop, bool force) |
937 | { | 944 | { |
938 | // Fire the callback for this connection closing | 945 | // Fire the callback for this connection closing |
939 | // This is necesary to get the presence detector to notice that a client has logged out. | 946 | // This is necesary to get the presence detector to notice that a client has logged out. |
@@ -1276,5 +1283,9 @@ namespace OpenSim.Tests.Common.Mock | |||
1276 | public void SendPlacesReply(UUID queryID, UUID transactionID, PlacesReplyData[] data) | 1283 | public void SendPlacesReply(UUID queryID, UUID transactionID, PlacesReplyData[] data) |
1277 | { | 1284 | { |
1278 | } | 1285 | } |
1286 | |||
1287 | public void SendPartPhysicsProprieties(ISceneEntity entity) | ||
1288 | { | ||
1289 | } | ||
1279 | } | 1290 | } |
1280 | } | 1291 | } |