diff options
author | Sean Dague | 2008-10-01 21:10:08 +0000 |
---|---|---|
committer | Sean Dague | 2008-10-01 21:10:08 +0000 |
commit | 9d7a9d346141fda6c300844a6e397826a3ca5730 (patch) | |
tree | 6bef817b39f21fdb2d77d75db8781cfa2dc73b94 /OpenSim | |
parent | enhance boundary tests for no terrain. Put in a null load (diff) | |
download | opensim-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')
-rw-r--r-- | OpenSim/Data/Tests/BasicRegionTest.cs | 8 |
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; | |||
33 | using OpenSim.Data; | 33 | using OpenSim.Data; |
34 | using OpenSim.Region.Environment.Interfaces; | 34 | using OpenSim.Region.Environment.Interfaces; |
35 | using OpenSim.Region.Environment.Scenes; | 35 | using OpenSim.Region.Environment.Scenes; |
36 | using OpenSim.Region.Environment.Modules.World.Land; | ||
36 | using OpenMetaverse; | 37 | using OpenMetaverse; |
37 | 38 | ||
38 | namespace OpenSim.Data.Tests | 39 | namespace 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) |