add a region settings test
parent
fb5014cf5b
commit
858d8416b4
|
@ -65,7 +65,10 @@ namespace OpenSim.Data.Tests
|
|||
public void T001_LoadEmpty()
|
||||
{
|
||||
List<SceneObjectGroup> objs = db.LoadObjects(region1);
|
||||
List<LandData> land = db.LoadLandObjects(region1);
|
||||
|
||||
Assert.That(objs.Count, Is.EqualTo(0));
|
||||
Assert.That(land.Count, Is.EqualTo(0));
|
||||
}
|
||||
|
||||
// SOG round trips
|
||||
|
@ -129,6 +132,16 @@ namespace OpenSim.Data.Tests
|
|||
Assert.That(text, Is.EqualTo(sog.RootPart.Text));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void T100_DefaultRegionInfo()
|
||||
{
|
||||
RegionSettings r1 = db.LoadRegionSettings(region1);
|
||||
Assert.That(r1.RegionUUID, Is.EqualTo(region1));
|
||||
|
||||
RegionSettings r2 = db.LoadRegionSettings(region2);
|
||||
Assert.That(r2.RegionUUID, Is.EqualTo(region2));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void T300_NoTerrain()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue