diff options
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs b/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs index 0e8b1ca..06e4761 100644 --- a/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs +++ b/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs | |||
@@ -101,6 +101,23 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore.Tests | |||
101 | } | 101 | } |
102 | 102 | ||
103 | [Test] | 103 | [Test] |
104 | public void TestJsonTestPath() | ||
105 | { | ||
106 | TestHelpers.InMethod(); | ||
107 | // log4net.Config.XmlConfigurator.Configure(); | ||
108 | |||
109 | UUID storeId | ||
110 | = (UUID)m_smcm.InvokeOperation( | ||
111 | UUID.Zero, UUID.Zero, "JsonCreateStore", new object[] { "{ 'Hello' : 'World' }" }); | ||
112 | |||
113 | int result | ||
114 | = (int)m_smcm.InvokeOperation( | ||
115 | UUID.Zero, UUID.Zero, "JsonTestPath", new object[] { storeId, "Hello" }); | ||
116 | |||
117 | Assert.That(result, Is.EqualTo(1)); | ||
118 | } | ||
119 | |||
120 | [Test] | ||
104 | public void TestJsonSetValue() | 121 | public void TestJsonSetValue() |
105 | { | 122 | { |
106 | TestHelpers.InMethod(); | 123 | TestHelpers.InMethod(); |