diff options
author | Oren Hurvitz | 2014-05-26 15:19:20 +0300 |
---|---|---|
committer | Oren Hurvitz | 2014-05-26 15:33:13 +0100 |
commit | 33cc847c4ac78b890f8ac175c479ab1b1c56cbbf (patch) | |
tree | 81030a1fbc63fd8413943ccaa7c0c06331f6532a /OpenSim/Framework/Serialization/Tests | |
parent | Prevent login to a region if the Telehub or Landing Point are in a banned parcel (diff) | |
download | opensim-SC-33cc847c4ac78b890f8ac175c479ab1b1c56cbbf.zip opensim-SC-33cc847c4ac78b890f8ac175c479ab1b1c56cbbf.tar.gz opensim-SC-33cc847c4ac78b890f8ac175c479ab1b1c56cbbf.tar.bz2 opensim-SC-33cc847c4ac78b890f8ac175c479ab1b1c56cbbf.tar.xz |
When saving an OAR in "Publish" mode, also discard Group information
Diffstat (limited to 'OpenSim/Framework/Serialization/Tests')
-rw-r--r-- | OpenSim/Framework/Serialization/Tests/LandDataSerializerTests.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Framework/Serialization/Tests/LandDataSerializerTests.cs b/OpenSim/Framework/Serialization/Tests/LandDataSerializerTests.cs index ea100ee..e81cb78 100644 --- a/OpenSim/Framework/Serialization/Tests/LandDataSerializerTests.cs +++ b/OpenSim/Framework/Serialization/Tests/LandDataSerializerTests.cs | |||
@@ -121,7 +121,8 @@ namespace OpenSim.Framework.Serialization.Tests | |||
121 | TestHelpers.InMethod(); | 121 | TestHelpers.InMethod(); |
122 | // log4net.Config.XmlConfigurator.Configure(); | 122 | // log4net.Config.XmlConfigurator.Configure(); |
123 | 123 | ||
124 | LandData ld = LandDataSerializer.Deserialize(LandDataSerializer.Serialize(this.land, null)); | 124 | Dictionary<string, object> options = new Dictionary<string, object>(); |
125 | LandData ld = LandDataSerializer.Deserialize(LandDataSerializer.Serialize(this.land, options)); | ||
125 | Assert.That(ld, Is.Not.Null, "Deserialize(string) returned null"); | 126 | Assert.That(ld, Is.Not.Null, "Deserialize(string) returned null"); |
126 | // Assert.That(ld.AABBMax, Is.EqualTo(land.AABBMax)); | 127 | // Assert.That(ld.AABBMax, Is.EqualTo(land.AABBMax)); |
127 | // Assert.That(ld.AABBMin, Is.EqualTo(land.AABBMin)); | 128 | // Assert.That(ld.AABBMin, Is.EqualTo(land.AABBMin)); |