aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/JsonStore
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-02-08 00:04:05 +0000
committerJustin Clark-Casey (justincc)2013-02-08 00:04:05 +0000
commitbef8961578d060faea8900e3be4fb9a8a4fe783d (patch)
tree7f6ba582166575b37480e4c999453b99b8162e7b /OpenSim/Region/OptionalModules/Scripting/JsonStore
parentExtend TestJsonTestPath() regression test with checks against fake values and... (diff)
downloadopensim-SC_OLD-bef8961578d060faea8900e3be4fb9a8a4fe783d.zip
opensim-SC_OLD-bef8961578d060faea8900e3be4fb9a8a4fe783d.tar.gz
opensim-SC_OLD-bef8961578d060faea8900e3be4fb9a8a4fe783d.tar.bz2
opensim-SC_OLD-bef8961578d060faea8900e3be4fb9a8a4fe783d.tar.xz
Extend TestJsonSetValue() regressio ntes tto test against a fake store
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/JsonStore')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs b/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs
index f2de0af..73bc955 100644
--- a/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs
@@ -254,6 +254,11 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore.Tests
254 254
255 string value = (string)InvokeOp("JsonGetValue", storeId, "Fun"); 255 string value = (string)InvokeOp("JsonGetValue", storeId, "Fun");
256 Assert.That(value, Is.EqualTo("Times")); 256 Assert.That(value, Is.EqualTo("Times"));
257
258 // Test with fake store
259 UUID fakeStoreId = TestHelpers.ParseTail(0x500);
260 int fakeStoreValueSet = (int)InvokeOp("JsonSetValue", fakeStoreId, "Hello", "World");
261 Assert.That(fakeStoreValueSet, Is.EqualTo(0));
257 } 262 }
258 263
259 /// <summary> 264 /// <summary>