diff options
author | Justin Clarke Casey | 2009-04-23 18:24:39 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-04-23 18:24:39 +0000 |
commit | ef9d140022b57b175f41602731ec73775bdf2d9c (patch) | |
tree | d7a561e3ce85b3064b3f84b06d2e3f2fb4f4301e /OpenSim/Framework/Communications/Tests/LoginServiceTests.cs | |
parent | fix up contributors list to have 3 contributors sections (diff) | |
download | opensim-SC_OLD-ef9d140022b57b175f41602731ec73775bdf2d9c.zip opensim-SC_OLD-ef9d140022b57b175f41602731ec73775bdf2d9c.tar.gz opensim-SC_OLD-ef9d140022b57b175f41602731ec73775bdf2d9c.tar.bz2 opensim-SC_OLD-ef9d140022b57b175f41602731ec73775bdf2d9c.tar.xz |
* Add user data plugin to store temporary profiles (which are distinct from cached)
* Plugin not yet used
* Existing functionality should not be affected in any way
Diffstat (limited to 'OpenSim/Framework/Communications/Tests/LoginServiceTests.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Tests/LoginServiceTests.cs | 7 |
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) |