diff options
author | Sean Dague | 2008-09-19 20:00:09 +0000 |
---|---|---|
committer | Sean Dague | 2008-09-19 20:00:09 +0000 |
commit | 858d8416b4a35858553cf6b4bf5b07a949a5594b (patch) | |
tree | 541f65cfb73370fa86e0f20bf26ea9a756d6515a /OpenSim | |
parent | * Duh, forgot I had undone some of the changes I meant to include in the prev... (diff) | |
download | opensim-SC_OLD-858d8416b4a35858553cf6b4bf5b07a949a5594b.zip opensim-SC_OLD-858d8416b4a35858553cf6b4bf5b07a949a5594b.tar.gz opensim-SC_OLD-858d8416b4a35858553cf6b4bf5b07a949a5594b.tar.bz2 opensim-SC_OLD-858d8416b4a35858553cf6b4bf5b07a949a5594b.tar.xz |
add a region settings test
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Data/Tests/BasicRegionTest.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Data/Tests/BasicRegionTest.cs b/OpenSim/Data/Tests/BasicRegionTest.cs index 05e3827..535ac74 100644 --- a/OpenSim/Data/Tests/BasicRegionTest.cs +++ b/OpenSim/Data/Tests/BasicRegionTest.cs | |||
@@ -65,7 +65,10 @@ namespace OpenSim.Data.Tests | |||
65 | public void T001_LoadEmpty() | 65 | public void T001_LoadEmpty() |
66 | { | 66 | { |
67 | List<SceneObjectGroup> objs = db.LoadObjects(region1); | 67 | List<SceneObjectGroup> objs = db.LoadObjects(region1); |
68 | List<LandData> land = db.LoadLandObjects(region1); | ||
69 | |||
68 | Assert.That(objs.Count, Is.EqualTo(0)); | 70 | Assert.That(objs.Count, Is.EqualTo(0)); |
71 | Assert.That(land.Count, Is.EqualTo(0)); | ||
69 | } | 72 | } |
70 | 73 | ||
71 | // SOG round trips | 74 | // SOG round trips |
@@ -130,6 +133,16 @@ namespace OpenSim.Data.Tests | |||
130 | } | 133 | } |
131 | 134 | ||
132 | [Test] | 135 | [Test] |
136 | public void T100_DefaultRegionInfo() | ||
137 | { | ||
138 | RegionSettings r1 = db.LoadRegionSettings(region1); | ||
139 | Assert.That(r1.RegionUUID, Is.EqualTo(region1)); | ||
140 | |||
141 | RegionSettings r2 = db.LoadRegionSettings(region2); | ||
142 | Assert.That(r2.RegionUUID, Is.EqualTo(region2)); | ||
143 | } | ||
144 | |||
145 | [Test] | ||
133 | public void T300_NoTerrain() | 146 | public void T300_NoTerrain() |
134 | { | 147 | { |
135 | double[,] t1 = db.LoadTerrain(region1); | 148 | double[,] t1 = db.LoadTerrain(region1); |