diff options
author | Dr Scofield | 2009-05-25 11:11:04 +0000 |
---|---|---|
committer | Dr Scofield | 2009-05-25 11:11:04 +0000 |
commit | d4d9d8ed8feb2532ca66319e5e7eb500ba188609 (patch) | |
tree | 569bc0093a66ad39dadf945b54e3a117b944e31c /OpenSim/Tests/Common/Setup | |
parent | letting TestClient implement IClientCore as well to fix test case (diff) | |
download | opensim-SC-d4d9d8ed8feb2532ca66319e5e7eb500ba188609.zip opensim-SC-d4d9d8ed8feb2532ca66319e5e7eb500ba188609.tar.gz opensim-SC-d4d9d8ed8feb2532ca66319e5e7eb500ba188609.tar.bz2 opensim-SC-d4d9d8ed8feb2532ca66319e5e7eb500ba188609.tar.xz |
converting CapabilitiesModule to new region module scheme
Diffstat (limited to 'OpenSim/Tests/Common/Setup')
-rw-r--r-- | OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs index 413a2b9..6de5a02 100644 --- a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs +++ b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs | |||
@@ -117,9 +117,10 @@ namespace OpenSim.Tests.Common.Setup | |||
117 | TestScene testScene = new TestScene( | 117 | TestScene testScene = new TestScene( |
118 | regInfo, acm, cm, scs, sm, null, false, false, false, configSource, null); | 118 | regInfo, acm, cm, scs, sm, null, false, false, false, configSource, null); |
119 | 119 | ||
120 | IRegionModule capsModule = new CapabilitiesModule(); | 120 | INonSharedRegionModule capsModule = new CapabilitiesModule(); |
121 | capsModule.Initialise(testScene, new IniConfigSource()); | 121 | capsModule.Initialise(new IniConfigSource()); |
122 | testScene.AddModule(capsModule.Name, capsModule); | 122 | testScene.AddRegionModule(capsModule.Name, capsModule); |
123 | capsModule.AddRegion(testScene); | ||
123 | 124 | ||
124 | IRegionModule godsModule = new GodsModule(); | 125 | IRegionModule godsModule = new GodsModule(); |
125 | godsModule.Initialise(testScene, new IniConfigSource()); | 126 | godsModule.Initialise(testScene, new IniConfigSource()); |