From 5e4d6cab00cb29cd088ab7b62ab13aff103b64cb Mon Sep 17 00:00:00 2001 From: onefang Date: Sun, 19 May 2019 21:24:15 +1000 Subject: Dump OpenSim 0.9.0.1 into it's own branch. --- .../Framework/Scenes/Tests/SharedRegionModuleTests.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'OpenSim/Region/Framework/Scenes/Tests/SharedRegionModuleTests.cs') diff --git a/OpenSim/Region/Framework/Scenes/Tests/SharedRegionModuleTests.cs b/OpenSim/Region/Framework/Scenes/Tests/SharedRegionModuleTests.cs index eeda84f..c74c83f 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/SharedRegionModuleTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/SharedRegionModuleTests.cs @@ -105,7 +105,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests // rmcp.LoadModulesFromAddins = false; //// reg.RegisterInterface(rmcp); // rmcp.Initialise(sim); -// rmcp.PostInitialise(); +// rmcp.PostInitialise(); // TypeExtensionNode node = new TypeExtensionNode(); // node. // rmcp.AddNode(node, configSource.Configs["Modules"], new Dictionary>()); @@ -120,9 +120,9 @@ namespace OpenSim.Region.Framework.Scenes.Tests int expectedEventCount = 6; Assert.AreEqual( - expectedEventCount, - co.Count, - "Expected {0} events but only got {1} ({2})", + expectedEventCount, + co.Count, + "Expected {0} events but only got {1} ({2})", expectedEventCount, co.Count, string.Join(",", co)); Assert.AreEqual("Initialise", co[0]); Assert.AreEqual("PostInitialise", co[1]); @@ -137,7 +137,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests { // FIXME: Should really use MethodInfo public List CallOrder = new List(); - + public string Name { get { return "TestSharedRegion"; } } public Type ReplaceableInterface { get { return null; } } @@ -186,13 +186,13 @@ namespace OpenSim.Region.Framework.Scenes.Tests public void Initialise() {} - public void Initialise(OpenSimBase sim) + public void Initialise(OpenSimBase sim) { m_openSim = sim; } /// - /// Called when the application loading is completed + /// Called when the application loading is completed /// public void PostInitialise() { @@ -228,8 +228,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests } scene.RegionModules.Clear(); - } - + } + public void AddNode(ISharedRegionModule module) { m_sharedInstances.Add(module); -- cgit v1.1