aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Communications/Tests/LoginServiceTests.cs')
-rw-r--r--OpenSim/Framework/Communications/Tests/LoginServiceTests.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs b/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs
index e7dbf2d..42fdea5 100644
--- a/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs
+++ b/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs
@@ -280,6 +280,9 @@ namespace OpenSim.Framework.Communications.Tests
280 [Test] 280 [Test]
281 public void T023_TestAuthenticatedLoginAlreadyLoggedIn() 281 public void T023_TestAuthenticatedLoginAlreadyLoggedIn()
282 { 282 {
283 Console.WriteLine("Starting T023_TestAuthenticatedLoginAlreadyLoggedIn()");
284 log4net.Config.XmlConfigurator.Configure();
285
283 string error_already_logged = "You appear to be already logged in. " + 286 string error_already_logged = "You appear to be already logged in. " +
284 "If this is not the case please wait for your session to timeout. " + 287 "If this is not the case please wait for your session to timeout. " +
285 "If this takes longer than a few minutes please contact the grid owner. " + 288 "If this takes longer than a few minutes please contact the grid owner. " +
@@ -303,7 +306,6 @@ namespace OpenSim.Framework.Communications.Tests
303 306
304 // Then we try again, this time expecting failure. 307 // Then we try again, this time expecting failure.
305 request = new XmlRpcRequest("login_to_simulator", sendParams); 308 request = new XmlRpcRequest("login_to_simulator", sendParams);
306
307 response = m_loginService.XmlRpcLoginMethod(request); 309 response = m_loginService.XmlRpcLoginMethod(request);
308 responseData = (Hashtable)response.Value; 310 responseData = (Hashtable)response.Value;
309 Assert.That(responseData["message"], Is.EqualTo(error_already_logged)); 311 Assert.That(responseData["message"], Is.EqualTo(error_already_logged));
@@ -314,11 +316,12 @@ namespace OpenSim.Framework.Communications.Tests
314 response = m_loginService.XmlRpcLoginMethod(request); 316 response = m_loginService.XmlRpcLoginMethod(request);
315 responseData = (Hashtable)response.Value; 317 responseData = (Hashtable)response.Value;
316 Assert.That(responseData["message"], Is.EqualTo("Hello folks")); 318 Assert.That(responseData["message"], Is.EqualTo("Hello folks"));
319
320 Console.WriteLine("Finished T023_TestAuthenticatedLoginAlreadyLoggedIn()");
317 } 321 }
318 322
319 public class TestLoginToRegionConnector : ILoginServiceToRegionsConnector 323 public class TestLoginToRegionConnector : ILoginServiceToRegionsConnector
320 { 324 {
321
322 private List<RegionInfo> m_regionsList = new List<RegionInfo>(); 325 private List<RegionInfo> m_regionsList = new List<RegionInfo>();
323 326
324 public void AddRegion(RegionInfo regionInfo) 327 public void AddRegion(RegionInfo regionInfo)