aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs b/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs
index aea94ea..5484d8d 100644
--- a/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs
@@ -135,6 +135,20 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore.Tests
135 } 135 }
136 136
137 [Test] 137 [Test]
138 public void TestJsonDestroyStoreNotExists()
139 {
140 TestHelpers.InMethod();
141// TestHelpers.EnableLogging();
142
143 UUID fakeStoreId = TestHelpers.ParseTail(0x500);
144
145 int dsrv = (int)InvokeOp("JsonDestroyStore", fakeStoreId);
146
147 // XXX: Current returns 'true' even though no such store existed. Need to ask if this is best behaviour.
148 Assert.That(dsrv, Is.EqualTo(1));
149 }
150
151 [Test]
138 public void TestJsonGetValue() 152 public void TestJsonGetValue()
139 { 153 {
140 TestHelpers.InMethod(); 154 TestHelpers.InMethod();