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.cs15
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 cb9840e..6a7cb0a 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;
@@ -905,6 +907,11 @@ namespace OpenSim.Tests.Common.Mock
905 Close(); 907 Close();
906 } 908 }
907 909
910 public void Close(bool c)
911 {
912 Close();
913 }
914
908 public void Close() 915 public void Close()
909 { 916 {
910 // Fire the callback for this connection closing 917 // Fire the callback for this connection closing
@@ -1257,5 +1264,9 @@ namespace OpenSim.Tests.Common.Mock
1257 public void SendPlacesReply(UUID queryID, UUID transactionID, PlacesReplyData[] data) 1264 public void SendPlacesReply(UUID queryID, UUID transactionID, PlacesReplyData[] data)
1258 { 1265 {
1259 } 1266 }
1267
1268 public void SendPartPhysicsProprieties(ISceneEntity entity)
1269 {
1270 }
1260 } 1271 }
1261} 1272}