diff options
author | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
---|---|---|
committer | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
commit | b16abc8166c29585cb76cc55c3bdd76e5833cb4f (patch) | |
tree | 6a34f465a74b7a3a6dc00a3d7aa8dcc25ac3e3a5 /OpenSim/Region/Framework/Scenes/Tests/SceneObjectUserGroupTests.cs | |
parent | Make it possible to disable the bakes module in the way it is described in co... (diff) | |
download | opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.zip opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.gz opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.bz2 opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.xz |
Massive tab and trailing space cleanup
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Tests/SceneObjectUserGroupTests.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/SceneObjectUserGroupTests.cs | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectUserGroupTests.cs b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectUserGroupTests.cs index a92e364..4ec69cd 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectUserGroupTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectUserGroupTests.cs | |||
@@ -53,30 +53,30 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
53 | { | 53 | { |
54 | TestHelpers.InMethod(); | 54 | TestHelpers.InMethod(); |
55 | // log4net.Config.XmlConfigurator.Configure(); | 55 | // log4net.Config.XmlConfigurator.Configure(); |
56 | 56 | ||
57 | UUID userId = UUID.Parse("10000000-0000-0000-0000-000000000001"); | 57 | UUID userId = UUID.Parse("10000000-0000-0000-0000-000000000001"); |
58 | 58 | ||
59 | TestScene scene = new SceneHelpers().SetupScene(); | 59 | TestScene scene = new SceneHelpers().SetupScene(); |
60 | IConfigSource configSource = new IniConfigSource(); | 60 | IConfigSource configSource = new IniConfigSource(); |
61 | 61 | ||
62 | IConfig startupConfig = configSource.AddConfig("Startup"); | 62 | IConfig startupConfig = configSource.AddConfig("Startup"); |
63 | startupConfig.Set("serverside_object_permissions", true); | 63 | startupConfig.Set("serverside_object_permissions", true); |
64 | 64 | ||
65 | IConfig groupsConfig = configSource.AddConfig("Groups"); | 65 | IConfig groupsConfig = configSource.AddConfig("Groups"); |
66 | groupsConfig.Set("Enabled", true); | 66 | groupsConfig.Set("Enabled", true); |
67 | groupsConfig.Set("Module", "GroupsModule"); | 67 | groupsConfig.Set("Module", "GroupsModule"); |
68 | groupsConfig.Set("DebugEnabled", true); | 68 | groupsConfig.Set("DebugEnabled", true); |
69 | 69 | ||
70 | SceneHelpers.SetupSceneModules( | 70 | SceneHelpers.SetupSceneModules( |
71 | scene, configSource, new object[] | 71 | scene, configSource, new object[] |
72 | { new DefaultPermissionsModule(), | 72 | { new DefaultPermissionsModule(), |
73 | new GroupsModule(), | 73 | new GroupsModule(), |
74 | new MockGroupsServicesConnector() }); | 74 | new MockGroupsServicesConnector() }); |
75 | 75 | ||
76 | IClientAPI client = SceneHelpers.AddScenePresence(scene, userId).ControllingClient; | 76 | IClientAPI client = SceneHelpers.AddScenePresence(scene, userId).ControllingClient; |
77 | 77 | ||
78 | IGroupsModule groupsModule = scene.RequestModuleInterface<IGroupsModule>(); | 78 | IGroupsModule groupsModule = scene.RequestModuleInterface<IGroupsModule>(); |
79 | 79 | ||
80 | groupsModule.CreateGroup(client, "group1", "To boldly go", true, UUID.Zero, 5, true, true, true); | 80 | groupsModule.CreateGroup(client, "group1", "To boldly go", true, UUID.Zero, 5, true, true, true); |
81 | } | 81 | } |
82 | } | 82 | } |