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.0.6.0-stable
parent
b7454b1a2b
commit
9d7a9d3461
|
@ -33,6 +33,7 @@ using OpenSim.Framework;
|
||||||
using OpenSim.Data;
|
using OpenSim.Data;
|
||||||
using OpenSim.Region.Environment.Interfaces;
|
using OpenSim.Region.Environment.Interfaces;
|
||||||
using OpenSim.Region.Environment.Scenes;
|
using OpenSim.Region.Environment.Scenes;
|
||||||
|
using OpenSim.Region.Environment.Modules.World.Land;
|
||||||
using OpenMetaverse;
|
using OpenMetaverse;
|
||||||
|
|
||||||
namespace OpenSim.Data.Tests
|
namespace OpenSim.Data.Tests
|
||||||
|
@ -305,7 +306,12 @@ namespace OpenSim.Data.Tests
|
||||||
Assert.That(db.LoadLandObjects(UUID.Random()).Count, Is.EqualTo(0));
|
Assert.That(db.LoadLandObjects(UUID.Random()).Count, Is.EqualTo(0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: we should have real land tests, but Land is so
|
||||||
|
// intermingled with scene that you can't test it without a
|
||||||
|
// valid scene. That requires some disagregation.
|
||||||
|
|
||||||
|
|
||||||
|
//************************************************************************************//
|
||||||
// Extra private methods
|
// Extra private methods
|
||||||
|
|
||||||
private double[,] GenTerrain(double value)
|
private double[,] GenTerrain(double value)
|
||||||
|
|
Loading…
Reference in New Issue