diff options
author | Justin Clarke Casey | 2009-02-19 18:31:45 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-02-19 18:31:45 +0000 |
commit | 631e10f269210cc352acc453fe04f56343c73360 (patch) | |
tree | aa38818eb01549179f0f90322b8cd5c0a249c5d1 /OpenSim/Data/Tests/BasicRegionTest.cs | |
parent | * It think it actually works now. Only that AssetService weirdness left to fix. (diff) | |
download | opensim-SC-631e10f269210cc352acc453fe04f56343c73360.zip opensim-SC-631e10f269210cc352acc453fe04f56343c73360.tar.gz opensim-SC-631e10f269210cc352acc453fe04f56343c73360.tar.bz2 opensim-SC-631e10f269210cc352acc453fe04f56343c73360.tar.xz |
* Apply http://opensimulator.org/mantis/view.php?id=3151
* Fixes NHibernate overflow exception when saving some objects (under at least PostgreSQL 8.3)
* Thanks Tommil!
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/Tests/BasicRegionTest.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Data/Tests/BasicRegionTest.cs b/OpenSim/Data/Tests/BasicRegionTest.cs index 8e58443..89cfd7f 100644 --- a/OpenSim/Data/Tests/BasicRegionTest.cs +++ b/OpenSim/Data/Tests/BasicRegionTest.cs | |||
@@ -243,6 +243,11 @@ namespace OpenSim.Data.Tests | |||
243 | byte clickaction = (byte) random.Next(127); | 243 | byte clickaction = (byte) random.Next(127); |
244 | PrimitiveBaseShape pbshap = new PrimitiveBaseShape(); | 244 | PrimitiveBaseShape pbshap = new PrimitiveBaseShape(); |
245 | pbshap = PrimitiveBaseShape.Default; | 245 | pbshap = PrimitiveBaseShape.Default; |
246 | pbshap.PathBegin = ushort.MaxValue; | ||
247 | pbshap.PathEnd = ushort.MaxValue; | ||
248 | pbshap.ProfileBegin = ushort.MaxValue; | ||
249 | pbshap.ProfileEnd = ushort.MaxValue; | ||
250 | pbshap.ProfileHollow = ushort.MaxValue; | ||
246 | Vector3 scale = new Vector3(random.Next(),random.Next(),random.Next()); | 251 | Vector3 scale = new Vector3(random.Next(),random.Next(),random.Next()); |
247 | byte updatef = (byte) random.Next(127); | 252 | byte updatef = (byte) random.Next(127); |
248 | 253 | ||
@@ -366,7 +371,14 @@ namespace OpenSim.Data.Tests | |||
366 | //Assert.That(linknum,Is.EqualTo(p.LinkNum)); | 371 | //Assert.That(linknum,Is.EqualTo(p.LinkNum)); |
367 | Assert.That(clickaction,Is.EqualTo(p.ClickAction)); | 372 | Assert.That(clickaction,Is.EqualTo(p.ClickAction)); |
368 | Assert.That(scale,Is.EqualTo(p.Scale)); | 373 | Assert.That(scale,Is.EqualTo(p.Scale)); |
374 | |||
369 | //Assert.That(updatef,Is.EqualTo(p.UpdateFlag)); | 375 | //Assert.That(updatef,Is.EqualTo(p.UpdateFlag)); |
376 | |||
377 | Assert.That(pbshap.PathBegin, Is.EqualTo(p.Shape.PathBegin)); | ||
378 | Assert.That(pbshap.PathEnd, Is.EqualTo(p.Shape.PathEnd)); | ||
379 | Assert.That(pbshap.ProfileBegin, Is.EqualTo(p.Shape.ProfileBegin)); | ||
380 | Assert.That(pbshap.ProfileEnd, Is.EqualTo(p.Shape.ProfileEnd)); | ||
381 | Assert.That(pbshap.ProfileHollow, Is.EqualTo(p.Shape.ProfileHollow)); | ||
370 | } | 382 | } |
371 | 383 | ||
372 | [Test] | 384 | [Test] |