aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/Mock/TestClient.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Tests/Common/Mock/TestClient.cs')
-rw-r--r--OpenSim/Tests/Common/Mock/TestClient.cs26
1 files changed, 22 insertions, 4 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs
index 752e9e1..815816a 100644
--- a/OpenSim/Tests/Common/Mock/TestClient.cs
+++ b/OpenSim/Tests/Common/Mock/TestClient.cs
@@ -95,7 +95,8 @@ namespace OpenSim.Tests.Common.Mock
95 public event DeRezObject OnDeRezObject; 95 public event DeRezObject OnDeRezObject;
96 public event Action<IClientAPI> OnRegionHandShakeReply; 96 public event Action<IClientAPI> OnRegionHandShakeReply;
97 public event GenericCall2 OnRequestWearables; 97 public event GenericCall2 OnRequestWearables;
98 public event GenericCall2 OnCompleteMovementToRegion; 98 public event GenericCall1 OnCompleteMovementToRegion;
99 public event UpdateAgent OnPreAgentUpdate;
99 public event UpdateAgent OnAgentUpdate; 100 public event UpdateAgent OnAgentUpdate;
100 public event AgentRequestSit OnAgentRequestSit; 101 public event AgentRequestSit OnAgentRequestSit;
101 public event AgentSit OnAgentSit; 102 public event AgentSit OnAgentSit;
@@ -140,6 +141,7 @@ namespace OpenSim.Tests.Common.Mock
140 public event Action<UUID> OnRemoveAvatar; 141 public event Action<UUID> OnRemoveAvatar;
141 142
142 public event CreateNewInventoryItem OnCreateNewInventoryItem; 143 public event CreateNewInventoryItem OnCreateNewInventoryItem;
144 public event LinkInventoryItem OnLinkInventoryItem;
143 public event CreateInventoryFolder OnCreateNewInventoryFolder; 145 public event CreateInventoryFolder OnCreateNewInventoryFolder;
144 public event UpdateInventoryFolder OnUpdateInventoryFolder; 146 public event UpdateInventoryFolder OnUpdateInventoryFolder;
145 public event MoveInventoryFolder OnMoveInventoryFolder; 147 public event MoveInventoryFolder OnMoveInventoryFolder;
@@ -367,7 +369,11 @@ namespace OpenSim.Tests.Common.Mock
367 get { return true; } 369 get { return true; }
368 set { } 370 set { }
369 } 371 }
370 372 public bool IsLoggingOut
373 {
374 get { return false; }
375 set { }
376 }
371 public UUID ActiveGroupId 377 public UUID ActiveGroupId
372 { 378 {
373 get { return UUID.Zero; } 379 get { return UUID.Zero; }
@@ -449,7 +455,7 @@ namespace OpenSim.Tests.Common.Mock
449 455
450 public void CompleteMovement() 456 public void CompleteMovement()
451 { 457 {
452 OnCompleteMovementToRegion(); 458 OnCompleteMovementToRegion(this);
453 } 459 }
454 460
455 public virtual void ActivateGesture(UUID assetId, UUID gestureId) 461 public virtual void ActivateGesture(UUID assetId, UUID gestureId)
@@ -748,7 +754,7 @@ namespace OpenSim.Tests.Common.Mock
748 754
749 if (OnCompleteMovementToRegion != null) 755 if (OnCompleteMovementToRegion != null)
750 { 756 {
751 OnCompleteMovementToRegion(); 757 OnCompleteMovementToRegion(this);
752 } 758 }
753 } 759 }
754 public void SendAssetUploadCompleteMessage(sbyte AssetType, bool Success, UUID AssetFullID) 760 public void SendAssetUploadCompleteMessage(sbyte AssetType, bool Success, UUID AssetFullID)
@@ -876,6 +882,10 @@ namespace OpenSim.Tests.Common.Mock
876 { 882 {
877 } 883 }
878 884
885 public void ProcessPendingPackets()
886 {
887 }
888
879 public void ProcessInPacket(Packet NewPack) 889 public void ProcessInPacket(Packet NewPack)
880 { 890 {
881 } 891 }
@@ -1209,5 +1219,13 @@ namespace OpenSim.Tests.Common.Mock
1209 public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals) 1219 public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals)
1210 { 1220 {
1211 } 1221 }
1222
1223 public void SendChangeUserRights(UUID agentID, UUID friendID, int rights)
1224 {
1225 }
1226
1227 public void SendTextBoxRequest(string message, int chatChannel, string objectname, string ownerFirstName, string ownerLastName, UUID objectId)
1228 {
1229 }
1212 } 1230 }
1213} 1231}