diff options
author | Justin Clark-Casey (justincc) | 2010-01-22 17:17:25 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-01-22 17:17:25 +0000 |
commit | a0e4665077748430ebcb7c02917036fc59794975 (patch) | |
tree | 2adf0395289885bde38c849eb4cdedc60881be9e /OpenSim/Region/CoreModules/World | |
parent | minor: remove warning from LLClientView (diff) | |
download | opensim-SC_OLD-a0e4665077748430ebcb7c02917036fc59794975.zip opensim-SC_OLD-a0e4665077748430ebcb7c02917036fc59794975.tar.gz opensim-SC_OLD-a0e4665077748430ebcb7c02917036fc59794975.tar.bz2 opensim-SC_OLD-a0e4665077748430ebcb7c02917036fc59794975.tar.xz |
complete assertion checks of all other oar loaded region settings
Diffstat (limited to 'OpenSim/Region/CoreModules/World')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs b/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs index 4f7a137..9e9cedd 100644 --- a/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs +++ b/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs | |||
@@ -337,6 +337,34 @@ namespace OpenSim.Region.CoreModules.World.Archiver.Tests | |||
337 | RegionSettings loadedRs = scene.RegionInfo.RegionSettings; | 337 | RegionSettings loadedRs = scene.RegionInfo.RegionSettings; |
338 | 338 | ||
339 | Assert.That(loadedRs.AgentLimit, Is.EqualTo(17)); | 339 | Assert.That(loadedRs.AgentLimit, Is.EqualTo(17)); |
340 | Assert.That(loadedRs.AllowDamage, Is.True); | ||
341 | Assert.That(loadedRs.AllowLandJoinDivide, Is.True); | ||
342 | Assert.That(loadedRs.AllowLandResell, Is.True); | ||
343 | Assert.That(loadedRs.BlockFly, Is.True); | ||
344 | Assert.That(loadedRs.BlockShowInSearch, Is.True); | ||
345 | Assert.That(loadedRs.BlockTerraform, Is.True); | ||
346 | Assert.That(loadedRs.DisableCollisions, Is.True); | ||
347 | Assert.That(loadedRs.DisablePhysics, Is.True); | ||
348 | Assert.That(loadedRs.DisableScripts, Is.True); | ||
349 | Assert.That(loadedRs.Elevation1NW, Is.EqualTo(15.9)); | ||
350 | Assert.That(loadedRs.Elevation1NE, Is.EqualTo(45.3)); | ||
351 | Assert.That(loadedRs.Elevation1SE, Is.EqualTo(49)); | ||
352 | Assert.That(loadedRs.Elevation1SW, Is.EqualTo(1.9)); | ||
353 | Assert.That(loadedRs.Elevation2NW, Is.EqualTo(4.5)); | ||
354 | Assert.That(loadedRs.Elevation2NE, Is.EqualTo(19.2)); | ||
355 | Assert.That(loadedRs.Elevation2SE, Is.EqualTo(9.2)); | ||
356 | Assert.That(loadedRs.Elevation2SW, Is.EqualTo(2.1)); | ||
357 | Assert.That(loadedRs.FixedSun, Is.True); | ||
358 | Assert.That(loadedRs.ObjectBonus, Is.EqualTo(1.4)); | ||
359 | Assert.That(loadedRs.RestrictPushing, Is.True); | ||
360 | Assert.That(loadedRs.TerrainLowerLimit, Is.EqualTo(0.4)); | ||
361 | Assert.That(loadedRs.TerrainRaiseLimit, Is.EqualTo(17.9)); | ||
362 | Assert.That(loadedRs.TerrainTexture1, Is.EqualTo(UUID.Parse("00000000-0000-0000-0000-000000000020"))); | ||
363 | Assert.That(loadedRs.TerrainTexture2, Is.EqualTo(UUID.Parse("00000000-0000-0000-0000-000000000040"))); | ||
364 | Assert.That(loadedRs.TerrainTexture3, Is.EqualTo(UUID.Parse("00000000-0000-0000-0000-000000000060"))); | ||
365 | Assert.That(loadedRs.TerrainTexture4, Is.EqualTo(UUID.Parse("00000000-0000-0000-0000-000000000080"))); | ||
366 | Assert.That(loadedRs.UseEstateSun, Is.True); | ||
367 | Assert.That(loadedRs.WaterHeight, Is.EqualTo(23)); | ||
340 | } | 368 | } |
341 | 369 | ||
342 | /// <summary> | 370 | /// <summary> |