aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-03-30 19:09:57 +0000
committerJustin Clarke Casey2009-03-30 19:09:57 +0000
commit2914bfe7b007d043eedfa2f827208a8524c1490b (patch)
treeafa45ea76ba6e3e5a4f27462c6a3cfcb30099002 /OpenSim/Tests/Common
parentset MONO_THREADS_PER_CPU for the test runs, see if this makes the (diff)
downloadopensim-SC_OLD-2914bfe7b007d043eedfa2f827208a8524c1490b.zip
opensim-SC_OLD-2914bfe7b007d043eedfa2f827208a8524c1490b.tar.gz
opensim-SC_OLD-2914bfe7b007d043eedfa2f827208a8524c1490b.tar.bz2
opensim-SC_OLD-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.cs8
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;
38using OpenSim.Region.Framework.Interfaces; 38using OpenSim.Region.Framework.Interfaces;
39using OpenSim.Region.Framework.Scenes; 39using OpenSim.Region.Framework.Scenes;
40using OpenSim.Region.CoreModules.Agent.Capabilities; 40using OpenSim.Region.CoreModules.Agent.Capabilities;
41using OpenSim.Region.CoreModules.Avatar.Gods;
41using OpenSim.Tests.Common.Mock; 42using OpenSim.Tests.Common.Mock;
42 43
43namespace OpenSim.Tests.Common.Setup 44namespace 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();