diff options
author | Justin Clarke Casey | 2009-03-30 19:09:57 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-03-30 19:09:57 +0000 |
commit | 2914bfe7b007d043eedfa2f827208a8524c1490b (patch) | |
tree | afa45ea76ba6e3e5a4f27462c6a3cfcb30099002 /OpenSim/Tests/Common | |
parent | set MONO_THREADS_PER_CPU for the test runs, see if this makes the (diff) | |
download | opensim-SC-2914bfe7b007d043eedfa2f827208a8524c1490b.zip opensim-SC-2914bfe7b007d043eedfa2f827208a8524c1490b.tar.gz opensim-SC-2914bfe7b007d043eedfa2f827208a8524c1490b.tar.bz2 opensim-SC-2914bfe7b007d043eedfa2f827208a8524c1490b.tar.xz |
* Fix test breakage by always inserting a gods module when testing
Diffstat (limited to 'OpenSim/Tests/Common')
-rw-r--r-- | OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs index 5d35e35..d4c2daa 100644 --- a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs +++ b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs | |||
@@ -38,6 +38,7 @@ using OpenSim.Region.Framework; | |||
38 | using OpenSim.Region.Framework.Interfaces; | 38 | using OpenSim.Region.Framework.Interfaces; |
39 | using OpenSim.Region.Framework.Scenes; | 39 | using OpenSim.Region.Framework.Scenes; |
40 | using OpenSim.Region.CoreModules.Agent.Capabilities; | 40 | using OpenSim.Region.CoreModules.Agent.Capabilities; |
41 | using OpenSim.Region.CoreModules.Avatar.Gods; | ||
41 | using OpenSim.Tests.Common.Mock; | 42 | using OpenSim.Tests.Common.Mock; |
42 | 43 | ||
43 | namespace OpenSim.Tests.Common.Setup | 44 | namespace OpenSim.Tests.Common.Setup |
@@ -82,9 +83,14 @@ namespace OpenSim.Tests.Common.Setup | |||
82 | TestScene testScene = new TestScene( | 83 | TestScene testScene = new TestScene( |
83 | regInfo, acm, cm, scs, sm, null, false, false, false, configSource, null); | 84 | regInfo, acm, cm, scs, sm, null, false, false, false, configSource, null); |
84 | 85 | ||
85 | IRegionModule capsModule = new CapabilitiesModule(); | 86 | IRegionModule capsModule = new CapabilitiesModule(); |
86 | capsModule.Initialise(testScene, new IniConfigSource()); | 87 | capsModule.Initialise(testScene, new IniConfigSource()); |
87 | testScene.AddModule(capsModule.Name, capsModule); | 88 | testScene.AddModule(capsModule.Name, capsModule); |
89 | |||
90 | IRegionModule godsModule = new GodsModule(); | ||
91 | godsModule.Initialise(testScene, new IniConfigSource()); | ||
92 | testScene.AddModule(godsModule.Name, godsModule); | ||
93 | |||
88 | testScene.SetModuleInterfaces(); | 94 | testScene.SetModuleInterfaces(); |
89 | 95 | ||
90 | testScene.LandChannel = new TestLandChannel(); | 96 | testScene.LandChannel = new TestLandChannel(); |