aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Tests/AttachmentTests.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-08-06 00:26:37 +0100
committerJustin Clark-Casey (justincc)2011-08-06 00:26:37 +0100
commitbda1a4be4567181df6c18ce6e059ca8982bc5fa1 (patch)
tree18987d7a835a3b0cfc8f6770c5b29fb9f88959aa /OpenSim/Region/Framework/Scenes/Tests/AttachmentTests.cs
parentextend phantom flag regression test to toggle back off (diff)
downloadopensim-SC-bda1a4be4567181df6c18ce6e059ca8982bc5fa1.zip
opensim-SC-bda1a4be4567181df6c18ce6e059ca8982bc5fa1.tar.gz
opensim-SC-bda1a4be4567181df6c18ce6e059ca8982bc5fa1.tar.bz2
opensim-SC-bda1a4be4567181df6c18ce6e059ca8982bc5fa1.tar.xz
rename test SceneSetupHelpers -> SceneHelpers for consistency
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Tests/AttachmentTests.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/AttachmentTests.cs b/OpenSim/Region/Framework/Scenes/Tests/AttachmentTests.cs
index 5586c65..85197db 100644
--- a/OpenSim/Region/Framework/Scenes/Tests/AttachmentTests.cs
+++ b/OpenSim/Region/Framework/Scenes/Tests/AttachmentTests.cs
@@ -64,14 +64,14 @@ namespace OpenSim.Region.Framework.Scenes.Tests
64 { 64 {
65 TestHelper.InMethod(); 65 TestHelper.InMethod();
66 66
67 scene = SceneSetupHelpers.SetupScene("Neighbour x", UUID.Random(), 1000, 1000); 67 scene = SceneHelpers.SetupScene("Neighbour x", UUID.Random(), 1000, 1000);
68 scene2 = SceneSetupHelpers.SetupScene("Neighbour x+1", UUID.Random(), 1001, 1000); 68 scene2 = SceneHelpers.SetupScene("Neighbour x+1", UUID.Random(), 1001, 1000);
69 69
70 ISharedRegionModule interregionComms = new LocalSimulationConnectorModule(); 70 ISharedRegionModule interregionComms = new LocalSimulationConnectorModule();
71 interregionComms.Initialise(new IniConfigSource()); 71 interregionComms.Initialise(new IniConfigSource());
72 interregionComms.PostInitialise(); 72 interregionComms.PostInitialise();
73 SceneSetupHelpers.SetupSceneModules(scene, new IniConfigSource(), interregionComms); 73 SceneHelpers.SetupSceneModules(scene, new IniConfigSource(), interregionComms);
74 SceneSetupHelpers.SetupSceneModules(scene2, new IniConfigSource(), interregionComms); 74 SceneHelpers.SetupSceneModules(scene2, new IniConfigSource(), interregionComms);
75 75
76 agent1 = UUID.Random(); 76 agent1 = UUID.Random();
77 random = new Random(); 77 random = new Random();
@@ -83,7 +83,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
83 region1 = scene.RegionInfo.RegionHandle; 83 region1 = scene.RegionInfo.RegionHandle;
84 region2 = scene2.RegionInfo.RegionHandle; 84 region2 = scene2.RegionInfo.RegionHandle;
85 85
86 SceneSetupHelpers.AddClient(scene, agent1); 86 SceneHelpers.AddClient(scene, agent1);
87 } 87 }
88 88
89 [Test] 89 [Test]
@@ -126,8 +126,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
126 presence2.AddAttachment(sog2); 126 presence2.AddAttachment(sog2);
127 127
128 ISharedRegionModule serialiser = new SerialiserModule(); 128 ISharedRegionModule serialiser = new SerialiserModule();
129 SceneSetupHelpers.SetupSceneModules(scene, new IniConfigSource(), serialiser); 129 SceneHelpers.SetupSceneModules(scene, new IniConfigSource(), serialiser);
130 SceneSetupHelpers.SetupSceneModules(scene2, new IniConfigSource(), serialiser); 130 SceneHelpers.SetupSceneModules(scene2, new IniConfigSource(), serialiser);
131 131
132 Assert.That(presence.HasAttachments(), Is.False, "Presence has attachments before cross"); 132 Assert.That(presence.HasAttachments(), Is.False, "Presence has attachments before cross");
133 133