aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests/BasicRegionTest.cs
diff options
context:
space:
mode:
authorSean Dague2008-10-01 21:10:08 +0000
committerSean Dague2008-10-01 21:10:08 +0000
commit9d7a9d346141fda6c300844a6e397826a3ca5730 (patch)
tree6bef817b39f21fdb2d77d75db8781cfa2dc73b94 /OpenSim/Data/Tests/BasicRegionTest.cs
parentenhance boundary tests for no terrain. Put in a null load (diff)
downloadopensim-SC-9d7a9d346141fda6c300844a6e397826a3ca5730.zip
opensim-SC-9d7a9d346141fda6c300844a6e397826a3ca5730.tar.gz
opensim-SC-9d7a9d346141fda6c300844a6e397826a3ca5730.tar.bz2
opensim-SC-9d7a9d346141fda6c300844a6e397826a3ca5730.tar.xz
stick a TODO in here about land tests, which really can't be done in
the current state as the Land Object has all these live references back to Scene.
Diffstat (limited to 'OpenSim/Data/Tests/BasicRegionTest.cs')
-rw-r--r--OpenSim/Data/Tests/BasicRegionTest.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Data/Tests/BasicRegionTest.cs b/OpenSim/Data/Tests/BasicRegionTest.cs
index 6cdedd6..6fd0191 100644
--- a/OpenSim/Data/Tests/BasicRegionTest.cs
+++ b/OpenSim/Data/Tests/BasicRegionTest.cs
@@ -33,6 +33,7 @@ using OpenSim.Framework;
33using OpenSim.Data; 33using OpenSim.Data;
34using OpenSim.Region.Environment.Interfaces; 34using OpenSim.Region.Environment.Interfaces;
35using OpenSim.Region.Environment.Scenes; 35using OpenSim.Region.Environment.Scenes;
36using OpenSim.Region.Environment.Modules.World.Land;
36using OpenMetaverse; 37using OpenMetaverse;
37 38
38namespace OpenSim.Data.Tests 39namespace OpenSim.Data.Tests
@@ -304,8 +305,13 @@ namespace OpenSim.Data.Tests
304 Assert.That(db.LoadLandObjects(region2).Count, Is.EqualTo(0)); 305 Assert.That(db.LoadLandObjects(region2).Count, Is.EqualTo(0));
305 Assert.That(db.LoadLandObjects(UUID.Random()).Count, Is.EqualTo(0)); 306 Assert.That(db.LoadLandObjects(UUID.Random()).Count, Is.EqualTo(0));
306 } 307 }
307
308 308
309 // TODO: we should have real land tests, but Land is so
310 // intermingled with scene that you can't test it without a
311 // valid scene. That requires some disagregation.
312
313
314 //************************************************************************************//
309 // Extra private methods 315 // Extra private methods
310 316
311 private double[,] GenTerrain(double value) 317 private double[,] GenTerrain(double value)