* refactor: Have the entity list tests use the infrastructure method rather than cut n paste

0.6.1-post-fixes
Justin Clarke Casey 2008-11-14 20:09:12 +00:00
parent 2bb4b45626
commit 95a5bfc560
1 changed files with 2 additions and 15 deletions

View File

@ -56,24 +56,11 @@ namespace OpenSim.Region.Environment.Scenes.Tests
{ {
// I don't care, just leave log4net off // I don't care, just leave log4net off
} }
RegionInfo regInfo = new RegionInfo(1000, 1000, null, null);
regInfo.RegionName = "Unit test region";
AgentCircuitManager acm = new AgentCircuitManager();
//CommunicationsManager cm = new CommunicationsManager(null, null, null, false, null);
CommunicationsManager cm = null;
//SceneCommunicationService scs = new SceneCommunicationService(cm);
SceneCommunicationService scs = null;
StorageManager sm = new OpenSim.Region.Environment.StorageManager("OpenSim.Data.Null.dll", "", "");
IConfigSource configSource = new IniConfigSource();
scene
= new Scene(regInfo, acm, cm, scs, null, sm, null, null, false, false, false, configSource, null);
} }
static public Random random; static public Random random;
SceneObjectGroup found; SceneObjectGroup found;
Scene scene; Scene scene = SceneTestUtils.SetupScene();
[Test] [Test]
public void T010_AddObjects() public void T010_AddObjects()