diff options
author | Justin Clark-Casey (justincc) | 2010-08-24 16:50:31 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-08-24 16:50:31 +0100 |
commit | 289c21099cf3ce0a2e3392436541b67d0961d8e8 (patch) | |
tree | c6f94eeb0c4f1fc98c2ddef7c855a97dc408c908 /OpenSim/Tests/Common/Setup | |
parent | Add system lookup folder fix to the RemoveXInventoryServiceConnector as well ... (diff) | |
download | opensim-SC-289c21099cf3ce0a2e3392436541b67d0961d8e8.zip opensim-SC-289c21099cf3ce0a2e3392436541b67d0961d8e8.tar.gz opensim-SC-289c21099cf3ce0a2e3392436541b67d0961d8e8.tar.bz2 opensim-SC-289c21099cf3ce0a2e3392436541b67d0961d8e8.tar.xz |
Add automated test at the opensim 'api' level to check that a given item goes to the correct directory
Also removes some mono compiler warnings
Diffstat (limited to 'OpenSim/Tests/Common/Setup')
-rw-r--r-- | OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs index eaa0d33..d9ded2d 100644 --- a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs +++ b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs | |||
@@ -285,10 +285,16 @@ namespace OpenSim.Tests.Common.Setup | |||
285 | config.AddConfig("Modules"); | 285 | config.AddConfig("Modules"); |
286 | config.AddConfig("InventoryService"); | 286 | config.AddConfig("InventoryService"); |
287 | config.Configs["Modules"].Set("InventoryServices", "LocalInventoryServicesConnector"); | 287 | config.Configs["Modules"].Set("InventoryServices", "LocalInventoryServicesConnector"); |
288 | |||
288 | if (real) | 289 | if (real) |
290 | { | ||
289 | config.Configs["InventoryService"].Set("LocalServiceModule", "OpenSim.Services.InventoryService.dll:InventoryService"); | 291 | config.Configs["InventoryService"].Set("LocalServiceModule", "OpenSim.Services.InventoryService.dll:InventoryService"); |
292 | } | ||
290 | else | 293 | else |
294 | { | ||
291 | config.Configs["InventoryService"].Set("LocalServiceModule", "OpenSim.Tests.Common.dll:MockInventoryService"); | 295 | config.Configs["InventoryService"].Set("LocalServiceModule", "OpenSim.Tests.Common.dll:MockInventoryService"); |
296 | } | ||
297 | |||
292 | config.Configs["InventoryService"].Set("StorageProvider", "OpenSim.Tests.Common.dll"); | 298 | config.Configs["InventoryService"].Set("StorageProvider", "OpenSim.Tests.Common.dll"); |
293 | inventoryService.Initialise(config); | 299 | inventoryService.Initialise(config); |
294 | inventoryService.AddRegion(testScene); | 300 | inventoryService.AddRegion(testScene); |