aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/Mock/TestClient.cs
diff options
context:
space:
mode:
authorMelanie2011-11-14 20:03:47 +0000
committerMelanie2011-11-14 20:03:47 +0000
commitafca742392e30748de13a125f932046949af0bcb (patch)
tree34e9dd92533abe446e356d9fb1ad8625cb28c9bc /OpenSim/Tests/Common/Mock/TestClient.cs
parentMerge branch 'master' into bigmerge (diff)
parentminor: remove some mono compiler warnings (diff)
downloadopensim-SC_OLD-afca742392e30748de13a125f932046949af0bcb.zip
opensim-SC_OLD-afca742392e30748de13a125f932046949af0bcb.tar.gz
opensim-SC_OLD-afca742392e30748de13a125f932046949af0bcb.tar.bz2
opensim-SC_OLD-afca742392e30748de13a125f932046949af0bcb.tar.xz
Merge branch 'master' into bigmerge
Conflicts: OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
Diffstat (limited to 'OpenSim/Tests/Common/Mock/TestClient.cs')
-rw-r--r--OpenSim/Tests/Common/Mock/TestClient.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs
index 60a23f5..5fe1985 100644
--- a/OpenSim/Tests/Common/Mock/TestClient.cs
+++ b/OpenSim/Tests/Common/Mock/TestClient.cs
@@ -56,6 +56,10 @@ namespace OpenSim.Tests.Common.Mock
56 56
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
60 public List<UUID> OfflineNotificationsReceived { get; private set; }
61 public List<UUID> OnlineNotificationsReceived { get; private set; }
62
59// disable warning: public events, part of the public API 63// disable warning: public events, part of the public API
60#pragma warning disable 67 64#pragma warning disable 67
61 65
@@ -440,6 +444,9 @@ namespace OpenSim.Tests.Common.Mock
440 m_circuitCode = agentData.circuitcode; 444 m_circuitCode = agentData.circuitcode;
441 m_scene = scene; 445 m_scene = scene;
442 CapsSeedUrl = agentData.CapsPath; 446 CapsSeedUrl = agentData.CapsPath;
447
448 OfflineNotificationsReceived = new List<UUID>();
449 OnlineNotificationsReceived = new List<UUID>();
443 } 450 }
444 451
445 /// <summary> 452 /// <summary>
@@ -827,12 +834,12 @@ namespace OpenSim.Tests.Common.Mock
827 834
828 public void SendAgentOffline(UUID[] agentIDs) 835 public void SendAgentOffline(UUID[] agentIDs)
829 { 836 {
830 837 OfflineNotificationsReceived.AddRange(agentIDs);
831 } 838 }
832 839
833 public void SendAgentOnline(UUID[] agentIDs) 840 public void SendAgentOnline(UUID[] agentIDs)
834 { 841 {
835 842 OnlineNotificationsReceived.AddRange(agentIDs);
836 } 843 }
837 844
838 public void SendSitResponse(UUID TargetID, Vector3 OffsetPos, Quaternion SitOrientation, bool autopilot, 845 public void SendSitResponse(UUID TargetID, Vector3 OffsetPos, Quaternion SitOrientation, bool autopilot,