30 using NUnit.Framework;
32 using OpenSim.Framework;
33 using OpenSim.Region.CoreModules.Framework.UserManagement;
34 using OpenSim.Tests.Common;
47 TestHelpers.InMethod();
51 UUID userId = TestHelpers.ParseStem(
"11");
52 string firstName =
"Fred";
53 string lastName =
"Astaire";
54 string homeUri =
"example.com";
56 IConfigSource config =
new IniConfigSource();
57 config.AddConfig(
"Modules");
58 config.Configs[
"Modules"].Set(
"UserManagementModule", hgumm.Name);
61 TestScene scene = sceneHelpers.SetupScene();
62 SceneHelpers.SetupSceneModules(scene, config, hgumm);
65 acd.firstname = firstName;
66 acd.lastname = lastName;
67 acd.ServiceURLs[
"HomeURI"] =
"http://" + homeUri;
69 SceneHelpers.AddScenePresence(scene, acd);
71 string name = hgumm.GetUserName(userId);
72 Assert.That(name, Is.EqualTo(string.Format(
"{0}.{1} @{2}", firstName, lastName, homeUri)));
void TestCachedUserNameForNewAgent()
Test that a new HG agent (i.e. one without a user account) has their name cached in the UMM upon crea...
Circuit data for an agent. Connection information shared between regions that accept UDP connections ...
Helpers for setting up scenes.
Interactive OpenSim region server