mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
* refactor: Have the entity list tests use the infrastructure method rather than cut n paste
This commit is contained in:
@@ -55,25 +55,12 @@ namespace OpenSim.Region.Environment.Scenes.Tests
|
||||
catch
|
||||
{
|
||||
// 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;
|
||||
SceneObjectGroup found;
|
||||
Scene scene;
|
||||
Scene scene = SceneTestUtils.SetupScene();
|
||||
|
||||
[Test]
|
||||
public void T010_AddObjects()
|
||||
|
||||
Reference in New Issue
Block a user