aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Tests/Common/Mock/TestClient.cs23
1 files changed, 22 insertions, 1 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs
index 00f7bb1..a028abe 100644
--- a/OpenSim/Tests/Common/Mock/TestClient.cs
+++ b/OpenSim/Tests/Common/Mock/TestClient.cs
@@ -36,10 +36,11 @@ using OpenMetaverse.Packets;
36using OpenSim.Framework; 36using OpenSim.Framework;
37using OpenSim.Region.Framework.Interfaces; 37using OpenSim.Region.Framework.Interfaces;
38using OpenSim.Region.Framework.Scenes; 38using OpenSim.Region.Framework.Scenes;
39using OpenSim.Framework.Client;
39 40
40namespace OpenSim.Tests.Common.Mock 41namespace OpenSim.Tests.Common.Mock
41{ 42{
42 public class TestClient : IClientAPI 43 public class TestClient : IClientAPI, IClientCore
43 { 44 {
44 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 45 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
45 46
@@ -1131,5 +1132,25 @@ namespace OpenSim.Tests.Common.Mock
1131 public void SendPickInfoReply(UUID pickID,UUID creatorID, bool topPick, UUID parcelID, string name, string desc, UUID snapshotID, string user, string originalName, string simName, Vector3 posGlobal, int sortOrder, bool enabled) 1132 public void SendPickInfoReply(UUID pickID,UUID creatorID, bool topPick, UUID parcelID, string name, string desc, UUID snapshotID, string user, string originalName, string simName, Vector3 posGlobal, int sortOrder, bool enabled)
1132 { 1133 {
1133 } 1134 }
1135
1136 public bool TryGet<T>(out T iface)
1137 {
1138 iface = default(T);
1139 return false;
1140 }
1141
1142 public T Get<T>()
1143 {
1144 return default(T);
1145 }
1146
1147 public void Disconnect(string reason)
1148 {
1149 }
1150
1151 public void Disconnect()
1152 {
1153 }
1154
1134 } 1155 }
1135} 1156}