diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Tests/SharedRegionModuleTests.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/SharedRegionModuleTests.cs | 18 |
1 files changed, 9 insertions, 9 deletions
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 | |||
105 | // rmcp.LoadModulesFromAddins = false; | 105 | // rmcp.LoadModulesFromAddins = false; |
106 | //// reg.RegisterInterface<IRegionModulesController>(rmcp); | 106 | //// reg.RegisterInterface<IRegionModulesController>(rmcp); |
107 | // rmcp.Initialise(sim); | 107 | // rmcp.Initialise(sim); |
108 | // rmcp.PostInitialise(); | 108 | // rmcp.PostInitialise(); |
109 | // TypeExtensionNode node = new TypeExtensionNode(); | 109 | // TypeExtensionNode node = new TypeExtensionNode(); |
110 | // node. | 110 | // node. |
111 | // rmcp.AddNode(node, configSource.Configs["Modules"], new Dictionary<RuntimeAddin, IList<int>>()); | 111 | // rmcp.AddNode(node, configSource.Configs["Modules"], new Dictionary<RuntimeAddin, IList<int>>()); |
@@ -120,9 +120,9 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
120 | int expectedEventCount = 6; | 120 | int expectedEventCount = 6; |
121 | 121 | ||
122 | Assert.AreEqual( | 122 | Assert.AreEqual( |
123 | expectedEventCount, | 123 | expectedEventCount, |
124 | co.Count, | 124 | co.Count, |
125 | "Expected {0} events but only got {1} ({2})", | 125 | "Expected {0} events but only got {1} ({2})", |
126 | expectedEventCount, co.Count, string.Join(",", co)); | 126 | expectedEventCount, co.Count, string.Join(",", co)); |
127 | Assert.AreEqual("Initialise", co[0]); | 127 | Assert.AreEqual("Initialise", co[0]); |
128 | Assert.AreEqual("PostInitialise", co[1]); | 128 | Assert.AreEqual("PostInitialise", co[1]); |
@@ -137,7 +137,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
137 | { | 137 | { |
138 | // FIXME: Should really use MethodInfo | 138 | // FIXME: Should really use MethodInfo |
139 | public List<string> CallOrder = new List<string>(); | 139 | public List<string> CallOrder = new List<string>(); |
140 | 140 | ||
141 | public string Name { get { return "TestSharedRegion"; } } | 141 | public string Name { get { return "TestSharedRegion"; } } |
142 | 142 | ||
143 | public Type ReplaceableInterface { get { return null; } } | 143 | public Type ReplaceableInterface { get { return null; } } |
@@ -186,13 +186,13 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
186 | 186 | ||
187 | public void Initialise() {} | 187 | public void Initialise() {} |
188 | 188 | ||
189 | public void Initialise(OpenSimBase sim) | 189 | public void Initialise(OpenSimBase sim) |
190 | { | 190 | { |
191 | m_openSim = sim; | 191 | m_openSim = sim; |
192 | } | 192 | } |
193 | 193 | ||
194 | /// <summary> | 194 | /// <summary> |
195 | /// Called when the application loading is completed | 195 | /// Called when the application loading is completed |
196 | /// </summary> | 196 | /// </summary> |
197 | public void PostInitialise() | 197 | public void PostInitialise() |
198 | { | 198 | { |
@@ -228,8 +228,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
228 | } | 228 | } |
229 | 229 | ||
230 | scene.RegionModules.Clear(); | 230 | scene.RegionModules.Clear(); |
231 | } | 231 | } |
232 | 232 | ||
233 | public void AddNode(ISharedRegionModule module) | 233 | public void AddNode(ISharedRegionModule module) |
234 | { | 234 | { |
235 | m_sharedInstances.Add(module); | 235 | m_sharedInstances.Add(module); |