add a region settings test

0.6.0-stable
Sean Dague 2008-09-19 20:00:09 +00:00
parent fb5014cf5b
commit 858d8416b4
1 changed files with 13 additions and 0 deletions

View File

@ -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()
{