aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common
diff options
context:
space:
mode:
authorMelanie2011-11-17 19:04:27 +0000
committerMelanie2011-11-17 19:04:27 +0000
commit31736b1aac0387e51fe37ea9bab2e2e8c86988b6 (patch)
tree14fbdc5f9b677185db1fe8080dafe28796c09336 /OpenSim/Tests/Common
parentMerge branch 'master' into bigmerge (diff)
parentStop OdePrim and OdeCharacter insanely overriding set LocalID to set their ow... (diff)
downloadopensim-SC-31736b1aac0387e51fe37ea9bab2e2e8c86988b6.zip
opensim-SC-31736b1aac0387e51fe37ea9bab2e2e8c86988b6.tar.gz
opensim-SC-31736b1aac0387e51fe37ea9bab2e2e8c86988b6.tar.bz2
opensim-SC-31736b1aac0387e51fe37ea9bab2e2e8c86988b6.tar.xz
Merge branch 'master' into bigmerge
Conflicts: OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs
Diffstat (limited to 'OpenSim/Tests/Common')
-rw-r--r--OpenSim/Tests/Common/Mock/TestClient.cs15
1 files changed, 9 insertions, 6 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs
index 5fe1985..cedd6c7 100644
--- a/OpenSim/Tests/Common/Mock/TestClient.cs
+++ b/OpenSim/Tests/Common/Mock/TestClient.cs
@@ -57,8 +57,9 @@ namespace OpenSim.Tests.Common.Mock
57 private IScene m_scene; 57 private IScene m_scene;
58 58
59 // Properties so that we can get at received data for test purposes 59 // Properties so that we can get at received data for test purposes
60 public List<UUID> OfflineNotificationsReceived { get; private set; } 60 public List<UUID> ReceivedOfflineNotifications { get; private set; }
61 public List<UUID> OnlineNotificationsReceived { get; private set; } 61 public List<UUID> ReceivedOnlineNotifications { get; private set; }
62 public List<UUID> ReceivedFriendshipTerminations { get; private set; }
62 63
63// disable warning: public events, part of the public API 64// disable warning: public events, part of the public API
64#pragma warning disable 67 65#pragma warning disable 67
@@ -445,8 +446,9 @@ namespace OpenSim.Tests.Common.Mock
445 m_scene = scene; 446 m_scene = scene;
446 CapsSeedUrl = agentData.CapsPath; 447 CapsSeedUrl = agentData.CapsPath;
447 448
448 OfflineNotificationsReceived = new List<UUID>(); 449 ReceivedOfflineNotifications = new List<UUID>();
449 OnlineNotificationsReceived = new List<UUID>(); 450 ReceivedOnlineNotifications = new List<UUID>();
451 ReceivedFriendshipTerminations = new List<UUID>();
450 } 452 }
451 453
452 /// <summary> 454 /// <summary>
@@ -834,12 +836,12 @@ namespace OpenSim.Tests.Common.Mock
834 836
835 public void SendAgentOffline(UUID[] agentIDs) 837 public void SendAgentOffline(UUID[] agentIDs)
836 { 838 {
837 OfflineNotificationsReceived.AddRange(agentIDs); 839 ReceivedOfflineNotifications.AddRange(agentIDs);
838 } 840 }
839 841
840 public void SendAgentOnline(UUID[] agentIDs) 842 public void SendAgentOnline(UUID[] agentIDs)
841 { 843 {
842 OnlineNotificationsReceived.AddRange(agentIDs); 844 ReceivedOnlineNotifications.AddRange(agentIDs);
843 } 845 }
844 846
845 public void SendSitResponse(UUID TargetID, Vector3 OffsetPos, Quaternion SitOrientation, bool autopilot, 847 public void SendSitResponse(UUID TargetID, Vector3 OffsetPos, Quaternion SitOrientation, bool autopilot,
@@ -1113,6 +1115,7 @@ namespace OpenSim.Tests.Common.Mock
1113 1115
1114 public void SendTerminateFriend(UUID exFriendID) 1116 public void SendTerminateFriend(UUID exFriendID)
1115 { 1117 {
1118 ReceivedFriendshipTerminations.Add(exFriendID);
1116 } 1119 }
1117 1120
1118 public bool AddGenericPacketHandler(string MethodName, GenericMessage handler) 1121 public bool AddGenericPacketHandler(string MethodName, GenericMessage handler)