aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Tests/Common')
-rw-r--r--OpenSim/Tests/Common/Mock/MockAssetDataPlugin.cs3
-rw-r--r--OpenSim/Tests/Common/Mock/TestClient.cs14
2 files changed, 14 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 455b51e..81a5cf7 100644
--- a/OpenSim/Tests/Common/Mock/TestClient.cs
+++ b/OpenSim/Tests/Common/Mock/TestClient.cs
@@ -71,7 +71,7 @@ namespace OpenSim.Tests.Common.Mock
71 public event MoneyTransferRequest OnMoneyTransferRequest; 71 public event MoneyTransferRequest OnMoneyTransferRequest;
72 public event ParcelBuy OnParcelBuy; 72 public event ParcelBuy OnParcelBuy;
73 public event Action<IClientAPI> OnConnectionClosed; 73 public event Action<IClientAPI> OnConnectionClosed;
74 74 public event MoveItemsAndLeaveCopy OnMoveItemsAndLeaveCopy;
75 public event ImprovedInstantMessage OnInstantMessage; 75 public event ImprovedInstantMessage OnInstantMessage;
76 public event ChatMessage OnChatFromClient; 76 public event ChatMessage OnChatFromClient;
77 public event TextureRequest OnRequestTexture; 77 public event TextureRequest OnRequestTexture;
@@ -135,6 +135,7 @@ namespace OpenSim.Tests.Common.Mock
135 public event GenericCall7 OnObjectMaterial; 135 public event GenericCall7 OnObjectMaterial;
136 public event UpdatePrimFlags OnUpdatePrimFlags; 136 public event UpdatePrimFlags OnUpdatePrimFlags;
137 public event UpdatePrimTexture OnUpdatePrimTexture; 137 public event UpdatePrimTexture OnUpdatePrimTexture;
138 public event ClientChangeObject onClientChangeObject;
138 public event UpdateVector OnUpdatePrimGroupPosition; 139 public event UpdateVector OnUpdatePrimGroupPosition;
139 public event UpdateVector OnUpdatePrimSinglePosition; 140 public event UpdateVector OnUpdatePrimSinglePosition;
140 public event UpdatePrimRotation OnUpdatePrimGroupRotation; 141 public event UpdatePrimRotation OnUpdatePrimGroupRotation;
@@ -276,7 +277,7 @@ namespace OpenSim.Tests.Common.Mock
276 public event ClassifiedInfoRequest OnClassifiedInfoRequest; 277 public event ClassifiedInfoRequest OnClassifiedInfoRequest;
277 public event ClassifiedInfoUpdate OnClassifiedInfoUpdate; 278 public event ClassifiedInfoUpdate OnClassifiedInfoUpdate;
278 public event ClassifiedDelete OnClassifiedDelete; 279 public event ClassifiedDelete OnClassifiedDelete;
279 public event ClassifiedDelete OnClassifiedGodDelete; 280 public event ClassifiedGodDelete OnClassifiedGodDelete;
280 281
281 public event EventNotificationAddRequest OnEventNotificationAddRequest; 282 public event EventNotificationAddRequest OnEventNotificationAddRequest;
282 public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; 283 public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest;
@@ -315,6 +316,7 @@ namespace OpenSim.Tests.Common.Mock
315 public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; 316 public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest;
316 public event SimWideDeletesDelegate OnSimWideDeletes; 317 public event SimWideDeletesDelegate OnSimWideDeletes;
317 public event SendPostcard OnSendPostcard; 318 public event SendPostcard OnSendPostcard;
319 public event ChangeInventoryItemFlags OnChangeInventoryItemFlags;
318 public event MuteListEntryUpdate OnUpdateMuteListEntry; 320 public event MuteListEntryUpdate OnUpdateMuteListEntry;
319 public event MuteListEntryRemove OnRemoveMuteListEntry; 321 public event MuteListEntryRemove OnRemoveMuteListEntry;
320 public event GodlikeMessage onGodlikeMessage; 322 public event GodlikeMessage onGodlikeMessage;
@@ -902,6 +904,10 @@ namespace OpenSim.Tests.Common.Mock
902 904
903 public void Close() 905 public void Close()
904 { 906 {
907 Close(true);
908 }
909 public void Close(bool sendStop)
910 {
905 m_scene.RemoveClient(AgentId, true); 911 m_scene.RemoveClient(AgentId, true);
906 } 912 }
907 913
@@ -1247,5 +1253,9 @@ namespace OpenSim.Tests.Common.Mock
1247 public void SendPlacesReply(UUID queryID, UUID transactionID, PlacesReplyData[] data) 1253 public void SendPlacesReply(UUID queryID, UUID transactionID, PlacesReplyData[] data)
1248 { 1254 {
1249 } 1255 }
1256
1257 public void SendPartPhysicsProprieties(ISceneEntity entity)
1258 {
1259 }
1250 } 1260 }
1251} 1261}