diff options
author | Diva Canto | 2017-05-04 18:20:10 -0700 |
---|---|---|
committer | Diva Canto | 2017-05-04 18:20:10 -0700 |
commit | dd883194959e082b3489deaa9935291ba2c6e53a (patch) | |
tree | 2a835c0877ff96a85238981a0e4e56097665d91c /OpenSim/Tests/Permissions/Common.cs | |
parent | Change the engine of the groups table back to MyISAM, because MySQL 5.5 and o... (diff) | |
download | opensim-SC_OLD-dd883194959e082b3489deaa9935291ba2c6e53a.zip opensim-SC_OLD-dd883194959e082b3489deaa9935291ba2c6e53a.tar.gz opensim-SC_OLD-dd883194959e082b3489deaa9935291ba2c6e53a.tar.bz2 opensim-SC_OLD-dd883194959e082b3489deaa9935291ba2c6e53a.tar.xz |
Add a groups module to the perms test suite
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Tests/Permissions/Common.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Tests/Permissions/Common.cs b/OpenSim/Tests/Permissions/Common.cs index f93c120..4ecce38 100644 --- a/OpenSim/Tests/Permissions/Common.cs +++ b/OpenSim/Tests/Permissions/Common.cs | |||
@@ -72,12 +72,21 @@ namespace OpenSim.Tests.Permissions | |||
72 | IConfigSource config = new IniConfigSource(); | 72 | IConfigSource config = new IniConfigSource(); |
73 | config.AddConfig("Messaging"); | 73 | config.AddConfig("Messaging"); |
74 | config.Configs["Messaging"].Set("InventoryTransferModule", "InventoryTransferModule"); | 74 | config.Configs["Messaging"].Set("InventoryTransferModule", "InventoryTransferModule"); |
75 | |||
75 | config.AddConfig("Modules"); | 76 | config.AddConfig("Modules"); |
76 | config.Configs["Modules"].Set("InventoryAccessModule", "BasicInventoryAccessModule"); | 77 | config.Configs["Modules"].Set("InventoryAccessModule", "BasicInventoryAccessModule"); |
78 | |||
77 | config.AddConfig("InventoryService"); | 79 | config.AddConfig("InventoryService"); |
78 | config.Configs["InventoryService"].Set("LocalServiceModule", "OpenSim.Services.InventoryService.dll:XInventoryService"); | 80 | config.Configs["InventoryService"].Set("LocalServiceModule", "OpenSim.Services.InventoryService.dll:XInventoryService"); |
79 | config.Configs["InventoryService"].Set("StorageProvider", "OpenSim.Tests.Common.dll:TestXInventoryDataPlugin"); | 81 | config.Configs["InventoryService"].Set("StorageProvider", "OpenSim.Tests.Common.dll:TestXInventoryDataPlugin"); |
80 | 82 | ||
83 | config.AddConfig("Groups"); | ||
84 | config.Configs["Groups"].Set("Enabled", "true"); | ||
85 | config.Configs["Groups"].Set("Module", "Groups Module V2"); | ||
86 | config.Configs["Groups"].Set("StorageProvider", "OpenSim.Tests.Common.dll:TestGroupsDataPlugin"); | ||
87 | config.Configs["Groups"].Set("ServicesConnectorModule", "Groups Local Service Connector"); | ||
88 | config.Configs["Groups"].Set("LocalService", "local"); | ||
89 | |||
81 | m_Scene = new SceneHelpers().SetupScene("Test", UUID.Random(), 1000, 1000, config); | 90 | m_Scene = new SceneHelpers().SetupScene("Test", UUID.Random(), 1000, 1000, config); |
82 | // Add modules | 91 | // Add modules |
83 | SceneHelpers.SetupSceneModules(m_Scene, config, new DefaultPermissionsModule(), new InventoryTransferModule(), new BasicInventoryAccessModule()); | 92 | SceneHelpers.SetupSceneModules(m_Scene, config, new DefaultPermissionsModule(), new InventoryTransferModule(), new BasicInventoryAccessModule()); |