aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-04-15 01:30:49 +0100
committerJustin Clark-Casey (justincc)2011-04-15 01:30:49 +0100
commit631654a38d2ace833f8cd2dc3b6b3860352f8b13 (patch)
treed8a300c9f4f1701ebbffed25474769503a0cd727 /OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs
parentremove any reference to a mock authentication service since it doesn't exist ... (diff)
downloadopensim-SC_OLD-631654a38d2ace833f8cd2dc3b6b3860352f8b13.zip
opensim-SC_OLD-631654a38d2ace833f8cd2dc3b6b3860352f8b13.tar.gz
opensim-SC_OLD-631654a38d2ace833f8cd2dc3b6b3860352f8b13.tar.bz2
opensim-SC_OLD-631654a38d2ace833f8cd2dc3b6b3860352f8b13.tar.xz
remove old code for a mock grid service, which got removed some time back
Diffstat (limited to 'OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs')
-rw-r--r--OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs11
1 files changed, 3 insertions, 8 deletions
diff --git a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs
index b819581..5d08764 100644
--- a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs
+++ b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs
@@ -135,7 +135,7 @@ namespace OpenSim.Tests.Common.Setup
135 LocalAssetServicesConnector assetService = StartAssetService(testScene); 135 LocalAssetServicesConnector assetService = StartAssetService(testScene);
136 StartAuthenticationService(testScene); 136 StartAuthenticationService(testScene);
137 LocalInventoryServicesConnector inventoryService = StartInventoryService(testScene); 137 LocalInventoryServicesConnector inventoryService = StartInventoryService(testScene);
138 StartGridService(testScene, true); 138 StartGridService(testScene);
139 LocalUserAccountServicesConnector userAccountService = StartUserAccountService(testScene); 139 LocalUserAccountServicesConnector userAccountService = StartUserAccountService(testScene);
140 LocalPresenceServicesConnector presenceService = StartPresenceService(testScene); 140 LocalPresenceServicesConnector presenceService = StartPresenceService(testScene);
141 141
@@ -218,24 +218,19 @@ namespace OpenSim.Tests.Common.Setup
218 return inventoryService; 218 return inventoryService;
219 } 219 }
220 220
221 private static LocalGridServicesConnector StartGridService(Scene testScene, bool real) 221 private static LocalGridServicesConnector StartGridService(Scene testScene)
222 { 222 {
223 IConfigSource config = new IniConfigSource(); 223 IConfigSource config = new IniConfigSource();
224 config.AddConfig("Modules"); 224 config.AddConfig("Modules");
225 config.AddConfig("GridService"); 225 config.AddConfig("GridService");
226 config.Configs["Modules"].Set("GridServices", "LocalGridServicesConnector"); 226 config.Configs["Modules"].Set("GridServices", "LocalGridServicesConnector");
227 config.Configs["GridService"].Set("StorageProvider", "OpenSim.Data.Null.dll:NullRegionData"); 227 config.Configs["GridService"].Set("StorageProvider", "OpenSim.Data.Null.dll:NullRegionData");
228 if (real) 228 config.Configs["GridService"].Set("LocalServiceModule", "OpenSim.Services.GridService.dll:GridService");
229 config.Configs["GridService"].Set("LocalServiceModule", "OpenSim.Services.GridService.dll:GridService");
230 229
231 LocalGridServicesConnector gridService = new LocalGridServicesConnector(); 230 LocalGridServicesConnector gridService = new LocalGridServicesConnector();
232 gridService.Initialise(config); 231 gridService.Initialise(config);
233
234 //else
235 // config.Configs["GridService"].Set("LocalServiceModule", "OpenSim.Tests.Common.dll:TestGridService");
236 gridService.AddRegion(testScene); 232 gridService.AddRegion(testScene);
237 gridService.RegionLoaded(testScene); 233 gridService.RegionLoaded(testScene);
238 //testScene.AddRegionModule(m_gridService.Name, m_gridService);
239 234
240 return gridService; 235 return gridService;
241 } 236 }