From 0d51c22620315f125ddbd3fe501eb93f318038d8 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 23 Apr 2009 18:57:39 +0000 Subject: * Allow interested user data plugins to store temporary user profiles * Database and the OGS1 plugins are not interested and hence ignore these calls --- OpenSim/Framework/Communications/Tests/Cache/AssetCacheTests.cs | 5 +++++ OpenSim/Framework/Communications/Tests/LoginServiceTests.cs | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'OpenSim/Framework/Communications/Tests') diff --git a/OpenSim/Framework/Communications/Tests/Cache/AssetCacheTests.cs b/OpenSim/Framework/Communications/Tests/Cache/AssetCacheTests.cs index 178c356..a5ee549 100644 --- a/OpenSim/Framework/Communications/Tests/Cache/AssetCacheTests.cs +++ b/OpenSim/Framework/Communications/Tests/Cache/AssetCacheTests.cs @@ -90,6 +90,11 @@ namespace OpenSim.Framework.Communications.Tests private class FakeUserService : IUserService { + public void AddTemporaryUserProfile(UserProfileData userProfile) + { + throw new NotImplementedException(); + } + public UserProfileData GetUserProfile(string firstName, string lastName) { throw new NotImplementedException(); diff --git a/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs b/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs index 42fdea5..d0c1b3b 100644 --- a/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs +++ b/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs @@ -280,8 +280,8 @@ namespace OpenSim.Framework.Communications.Tests [Test] public void T023_TestAuthenticatedLoginAlreadyLoggedIn() { - Console.WriteLine("Starting T023_TestAuthenticatedLoginAlreadyLoggedIn()"); - log4net.Config.XmlConfigurator.Configure(); + //Console.WriteLine("Starting T023_TestAuthenticatedLoginAlreadyLoggedIn()"); + //log4net.Config.XmlConfigurator.Configure(); string error_already_logged = "You appear to be already logged in. " + "If this is not the case please wait for your session to timeout. " + @@ -317,7 +317,7 @@ namespace OpenSim.Framework.Communications.Tests responseData = (Hashtable)response.Value; Assert.That(responseData["message"], Is.EqualTo("Hello folks")); - Console.WriteLine("Finished T023_TestAuthenticatedLoginAlreadyLoggedIn()"); + //Console.WriteLine("Finished T023_TestAuthenticatedLoginAlreadyLoggedIn()"); } public class TestLoginToRegionConnector : ILoginServiceToRegionsConnector -- cgit v1.1