aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-11-14 20:09:12 +0000
committerJustin Clarke Casey2008-11-14 20:09:12 +0000
commit95a5bfc56018b7d2ed57c071a46ff60a15451838 (patch)
treec8f399dbd272a357c474be2ed954624bbb7b7143 /OpenSim/Region/Environment/Scenes
parent* Move test scene construction infrastructure methods to a separate class for... (diff)
downloadopensim-SC_OLD-95a5bfc56018b7d2ed57c071a46ff60a15451838.zip
opensim-SC_OLD-95a5bfc56018b7d2ed57c071a46ff60a15451838.tar.gz
opensim-SC_OLD-95a5bfc56018b7d2ed57c071a46ff60a15451838.tar.bz2
opensim-SC_OLD-95a5bfc56018b7d2ed57c071a46ff60a15451838.tar.xz
* refactor: Have the entity list tests use the infrastructure method rather than cut n paste
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r--OpenSim/Region/Environment/Scenes/Tests/EntityListTests.cs17
1 files changed, 2 insertions, 15 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Tests/EntityListTests.cs b/OpenSim/Region/Environment/Scenes/Tests/EntityListTests.cs
index 65f0dcb..7628a88 100644
--- a/OpenSim/Region/Environment/Scenes/Tests/EntityListTests.cs
+++ b/OpenSim/Region/Environment/Scenes/Tests/EntityListTests.cs
@@ -55,25 +55,12 @@ namespace OpenSim.Region.Environment.Scenes.Tests
55 catch 55 catch
56 { 56 {
57 // I don't care, just leave log4net off 57 // I don't care, just leave log4net off
58 } 58 }
59
60 RegionInfo regInfo = new RegionInfo(1000, 1000, null, null);
61 regInfo.RegionName = "Unit test region";
62 AgentCircuitManager acm = new AgentCircuitManager();
63 //CommunicationsManager cm = new CommunicationsManager(null, null, null, false, null);
64 CommunicationsManager cm = null;
65 //SceneCommunicationService scs = new SceneCommunicationService(cm);
66 SceneCommunicationService scs = null;
67 StorageManager sm = new OpenSim.Region.Environment.StorageManager("OpenSim.Data.Null.dll", "", "");
68 IConfigSource configSource = new IniConfigSource();
69
70 scene
71 = new Scene(regInfo, acm, cm, scs, null, sm, null, null, false, false, false, configSource, null);
72 } 59 }
73 60
74 static public Random random; 61 static public Random random;
75 SceneObjectGroup found; 62 SceneObjectGroup found;
76 Scene scene; 63 Scene scene = SceneTestUtils.SetupScene();
77 64
78 [Test] 65 [Test]
79 public void T010_AddObjects() 66 public void T010_AddObjects()