aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-03-10 22:40:24 +0000
committerJustin Clark-Casey (justincc)2011-03-10 22:40:24 +0000
commit66d2d35425ee61e11445fc04c6d4949cdde85b87 (patch)
treef9cc554ad3b1def3985e7c7a4b81376cff117718 /OpenSim/Region
parentre-enable item.CreatorId check in TestLoadIarV0_1AbsentCreator() (diff)
downloadopensim-SC_OLD-66d2d35425ee61e11445fc04c6d4949cdde85b87.zip
opensim-SC_OLD-66d2d35425ee61e11445fc04c6d4949cdde85b87.tar.gz
opensim-SC_OLD-66d2d35425ee61e11445fc04c6d4949cdde85b87.tar.bz2
opensim-SC_OLD-66d2d35425ee61e11445fc04c6d4949cdde85b87.tar.xz
extend TestLoadIarV0_1AbsentCreator() to check serialized object CreatorId as well
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs
index a092b65..78faefd 100644
--- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs
@@ -242,6 +242,12 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests
242 Assert.That( 242 Assert.That(
243 foundItem1.CreatorIdAsUuid, Is.EqualTo(m_ua1.PrincipalID), 243 foundItem1.CreatorIdAsUuid, Is.EqualTo(m_ua1.PrincipalID),
244 "Loaded item uuid creator doesn't match that of the loading user"); 244 "Loaded item uuid creator doesn't match that of the loading user");
245
246 AssetBase asset1 = scene.AssetService.Get(foundItem1.AssetID.ToString());
247 string xmlData = Utils.BytesToString(asset1.Data);
248 SceneObjectGroup sog1 = SceneObjectSerializer.FromOriginalXmlFormat(xmlData);
249
250 Assert.That(sog1.RootPart.CreatorID, Is.EqualTo(m_ua1.PrincipalID));
245 } 251 }
246 } 252 }
247} \ No newline at end of file 253} \ No newline at end of file