diff options
author | Justin Clarke Casey | 2009-05-14 16:33:04 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-05-14 16:33:04 +0000 |
commit | d10b5e29bcef7335d38d4cbb590b60b7b171897b (patch) | |
tree | 957624c5fb9bdda9b715320fd477d771e0883717 /OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs | |
parent | Remove empty server dirs to break the mold and allow a new structure to evolve (diff) | |
download | opensim-SC_OLD-d10b5e29bcef7335d38d4cbb590b60b7b171897b.zip opensim-SC_OLD-d10b5e29bcef7335d38d4cbb590b60b7b171897b.tar.gz opensim-SC_OLD-d10b5e29bcef7335d38d4cbb590b60b7b171897b.tar.bz2 opensim-SC_OLD-d10b5e29bcef7335d38d4cbb590b60b7b171897b.tar.xz |
* refactor: break some of xml2 serialization out of sog
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs index f4c5cba..34640ae 100644 --- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs +++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs | |||
@@ -44,6 +44,7 @@ using OpenSim.Framework.Communications.Osp; | |||
44 | using OpenSim.Region.CoreModules.Avatar.Inventory.Archiver; | 44 | using OpenSim.Region.CoreModules.Avatar.Inventory.Archiver; |
45 | using OpenSim.Region.CoreModules.World.Serialiser; | 45 | using OpenSim.Region.CoreModules.World.Serialiser; |
46 | using OpenSim.Region.Framework.Scenes; | 46 | using OpenSim.Region.Framework.Scenes; |
47 | using OpenSim.Region.Framework.Scenes.Serialization; | ||
47 | using OpenSim.Tests.Common; | 48 | using OpenSim.Tests.Common; |
48 | using OpenSim.Tests.Common.Mock; | 49 | using OpenSim.Tests.Common.Mock; |
49 | using OpenSim.Tests.Common.Setup; | 50 | using OpenSim.Tests.Common.Setup; |
@@ -108,7 +109,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests | |||
108 | UUID asset1Id = UUID.Parse("00000000-0000-0000-0000-000000000060"); | 109 | UUID asset1Id = UUID.Parse("00000000-0000-0000-0000-000000000060"); |
109 | AssetBase asset1 = new AssetBase(); | 110 | AssetBase asset1 = new AssetBase(); |
110 | asset1.FullID = asset1Id; | 111 | asset1.FullID = asset1Id; |
111 | asset1.Data = Encoding.ASCII.GetBytes(object1.ToXmlString2()); | 112 | asset1.Data = Encoding.ASCII.GetBytes(SceneObjectSerializer.ToXml2Format(object1)); |
112 | cm.AssetCache.AddAsset(asset1); | 113 | cm.AssetCache.AddAsset(asset1); |
113 | 114 | ||
114 | // Create item | 115 | // Create item |