aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs11
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs b/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs
index 5484d8d..d341901 100644
--- a/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs
@@ -158,6 +158,15 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore.Tests
158 158
159 string value = (string)InvokeOp("JsonGetValue", storeId, "Hello"); 159 string value = (string)InvokeOp("JsonGetValue", storeId, "Hello");
160 Assert.That(value, Is.EqualTo("World")); 160 Assert.That(value, Is.EqualTo("World"));
161
162 // Test get of non-existing value
163 string fakeValueGet = (string)InvokeOp("JsonGetValue", storeId, "foo");
164 Assert.That(fakeValueGet, Is.EqualTo(""));
165
166 // Test get from non-existing store
167 UUID fakeStoreId = TestHelpers.ParseTail(0x500);
168 string fakeStoreValueGet = (string)InvokeOp("JsonGetValue", fakeStoreId, "Hello");
169 Assert.That(fakeStoreValueGet, Is.EqualTo(""));
161 } 170 }
162 171
163// [Test] 172// [Test]
@@ -239,7 +248,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore.Tests
239 public void TestJsonWriteReadNotecard() 248 public void TestJsonWriteReadNotecard()
240 { 249 {
241 TestHelpers.InMethod(); 250 TestHelpers.InMethod();
242 TestHelpers.EnableLogging(); 251// TestHelpers.EnableLogging();
243 252
244 string notecardName = "nc1"; 253 string notecardName = "nc1";
245 254