aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests/BasicEstateTest.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/Tests/BasicEstateTest.cs')
-rw-r--r--OpenSim/Data/Tests/BasicEstateTest.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/OpenSim/Data/Tests/BasicEstateTest.cs b/OpenSim/Data/Tests/BasicEstateTest.cs
index a0266b3..b702e2a 100644
--- a/OpenSim/Data/Tests/BasicEstateTest.cs
+++ b/OpenSim/Data/Tests/BasicEstateTest.cs
@@ -163,6 +163,24 @@ namespace OpenSim.Data.Tests
163 } 163 }
164 164
165 [Test] 165 [Test]
166 private void T012_EstateSettingsRandomStorage()
167 {
168
169 // Letting estate store generate rows to database for us
170 EstateSettings originalSettings = db.LoadEstateSettings(REGION_ID);
171 ScrambleForTesting.Scramble(originalSettings);
172
173 // Saving settings.
174 db.StoreEstateSettings(originalSettings);
175
176 // Loading settings to another instance variable.
177 EstateSettings loadedSettings = db.LoadEstateSettings(REGION_ID);
178
179 // Checking that loaded values are correct.
180 Assert.That(loadedSettings, Constraints.PropertyCompareConstraint(originalSettings));
181 }
182
183 [Test]
166 public void T020_EstateSettingsManagerList() 184 public void T020_EstateSettingsManagerList()
167 { 185 {
168 // Letting estate store generate rows to database for us 186 // Letting estate store generate rows to database for us