aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/Mock/TestClient.cs
diff options
context:
space:
mode:
authorMelanie2010-03-03 02:07:03 +0000
committerMelanie2010-03-03 02:07:03 +0000
commit028a87fe37002e7a0611f66babf1deee46c83804 (patch)
tree387aec499fd60c2012bed8148e6a2ddc847c3d95 /OpenSim/Tests/Common/Mock/TestClient.cs
parentRevert "test" (diff)
parentFixes Region.Framework tests. Although these tests don't fail, they need to b... (diff)
downloadopensim-SC-028a87fe37002e7a0611f66babf1deee46c83804.zip
opensim-SC-028a87fe37002e7a0611f66babf1deee46c83804.tar.gz
opensim-SC-028a87fe37002e7a0611f66babf1deee46c83804.tar.bz2
opensim-SC-028a87fe37002e7a0611f66babf1deee46c83804.tar.xz
Merge branch 'master' into careminster-presence-refactor
This brings careminster on the level of master. To be tested
Diffstat (limited to 'OpenSim/Tests/Common/Mock/TestClient.cs')
-rw-r--r--OpenSim/Tests/Common/Mock/TestClient.cs18
1 files changed, 14 insertions, 4 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs
index cf8e99d..0d9dcc6 100644
--- a/OpenSim/Tests/Common/Mock/TestClient.cs
+++ b/OpenSim/Tests/Common/Mock/TestClient.cs
@@ -95,7 +95,7 @@ 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 OnAgentUpdate; 99 public event UpdateAgent OnAgentUpdate;
100 public event AgentRequestSit OnAgentRequestSit; 100 public event AgentRequestSit OnAgentRequestSit;
101 public event AgentSit OnAgentSit; 101 public event AgentSit OnAgentSit;
@@ -206,6 +206,8 @@ namespace OpenSim.Tests.Common.Mock
206 public event ObjectBuy OnObjectBuy; 206 public event ObjectBuy OnObjectBuy;
207 public event BuyObjectInventory OnBuyObjectInventory; 207 public event BuyObjectInventory OnBuyObjectInventory;
208 public event AgentSit OnUndo; 208 public event AgentSit OnUndo;
209 public event AgentSit OnRedo;
210 public event LandUndo OnLandUndo;
209 211
210 public event ForceReleaseControls OnForceReleaseControls; 212 public event ForceReleaseControls OnForceReleaseControls;
211 213
@@ -365,7 +367,11 @@ namespace OpenSim.Tests.Common.Mock
365 get { return true; } 367 get { return true; }
366 set { } 368 set { }
367 } 369 }
368 370 public bool IsLoggingOut
371 {
372 get { return false; }
373 set { }
374 }
369 public UUID ActiveGroupId 375 public UUID ActiveGroupId
370 { 376 {
371 get { return UUID.Zero; } 377 get { return UUID.Zero; }
@@ -447,7 +453,7 @@ namespace OpenSim.Tests.Common.Mock
447 453
448 public void CompleteMovement() 454 public void CompleteMovement()
449 { 455 {
450 OnCompleteMovementToRegion(); 456 OnCompleteMovementToRegion(this);
451 } 457 }
452 458
453 public virtual void ActivateGesture(UUID assetId, UUID gestureId) 459 public virtual void ActivateGesture(UUID assetId, UUID gestureId)
@@ -746,7 +752,7 @@ namespace OpenSim.Tests.Common.Mock
746 752
747 if (OnCompleteMovementToRegion != null) 753 if (OnCompleteMovementToRegion != null)
748 { 754 {
749 OnCompleteMovementToRegion(); 755 OnCompleteMovementToRegion(this);
750 } 756 }
751 } 757 }
752 public void SendAssetUploadCompleteMessage(sbyte AssetType, bool Success, UUID AssetFullID) 758 public void SendAssetUploadCompleteMessage(sbyte AssetType, bool Success, UUID AssetFullID)
@@ -1203,5 +1209,9 @@ namespace OpenSim.Tests.Common.Mock
1203 public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals) 1209 public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals)
1204 { 1210 {
1205 } 1211 }
1212
1213 public void SendChangeUserRights(UUID agentID, UUID friendID, int rights)
1214 {
1215 }
1206 } 1216 }
1207} 1217}