diff options
author | Kunnis | 2009-08-15 06:08:36 -0500 |
---|---|---|
committer | Teravus Ovares (Dan Olivares) | 2009-08-16 14:15:59 -0400 |
commit | f6251ce810e0bebe68d08a8e4b20a9dfc3fe1af6 (patch) | |
tree | 667e7744e3a28c0a611fc1f71b4a1a56b71980c8 /OpenSim/Data/Tests/BasicRegionTest.cs | |
parent | Adding in Reflection-based testing, to ensure that all properties are covered. (diff) | |
download | opensim-SC-f6251ce810e0bebe68d08a8e4b20a9dfc3fe1af6.zip opensim-SC-f6251ce810e0bebe68d08a8e4b20a9dfc3fe1af6.tar.gz opensim-SC-f6251ce810e0bebe68d08a8e4b20a9dfc3fe1af6.tar.bz2 opensim-SC-f6251ce810e0bebe68d08a8e4b20a9dfc3fe1af6.tar.xz |
* Modified SQLite/SQLiteInventoryStore.cs to not throw if the inventory row does not exist, to match the mysql behavior. * Modified SQLite/SQLiteRegionData.cs to only persist temporary items following the same rules mysql uses. * Added another ignore to the inventory test that was missing. * Added a few more ignores to the RegionTest that the first version of my test were missing. * Added ignoring the root Folder ID, which is set by the inventory system. * Added several improvements to the PropertyCompareConstraint: Protection against infinite loops, added IComparable<T> (for UUID) and moved IComparable before the property matching. * Fixed a bug where I was saving the inside of the ignore expression instead of the outside of it.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/Tests/BasicRegionTest.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Data/Tests/BasicRegionTest.cs b/OpenSim/Data/Tests/BasicRegionTest.cs index a746ef0..8373922 100644 --- a/OpenSim/Data/Tests/BasicRegionTest.cs +++ b/OpenSim/Data/Tests/BasicRegionTest.cs | |||
@@ -576,8 +576,10 @@ namespace OpenSim.Data.Tests | |||
576 | .IgnoreProperty(x=>x.HasGroupChanged) | 576 | .IgnoreProperty(x=>x.HasGroupChanged) |
577 | .IgnoreProperty(x=>x.IsSelected) | 577 | .IgnoreProperty(x=>x.IsSelected) |
578 | .IgnoreProperty(x=>x.RegionHandle) | 578 | .IgnoreProperty(x=>x.RegionHandle) |
579 | .IgnoreProperty(x=>x.RegionUUID) | ||
579 | .IgnoreProperty(x=>x.Scene) | 580 | .IgnoreProperty(x=>x.Scene) |
580 | .IgnoreProperty(x=>x.RootPart.InventorySerial)); | 581 | .IgnoreProperty(x=>x.Children) |
582 | .IgnoreProperty(x=>x.RootPart)); | ||
581 | } | 583 | } |
582 | 584 | ||
583 | [Test] | 585 | [Test] |