Re-enable subtest for single quoted token in TestJsonSetValueJson()

This is in response to the resolution of http://opensimulator.org/mantis/view.php?id=6540
0.7.4-extended
Justin Clark-Casey (justincc) 2013-02-12 20:51:36 +00:00
parent b6cbda61b3
commit b1740e11de
1 changed files with 9 additions and 9 deletions

View File

@ -369,15 +369,15 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore.Tests
// TestHelpers.EnableLogging();
// Single quoted token case
// {
// UUID storeId = (UUID)InvokeOp("JsonCreateStore", "{ }");
//
// int result = (int)InvokeOp("JsonSetValueJson", storeId, "Fun", "'Times'");
// Assert.That(result, Is.EqualTo(1));
//
// string value = (string)InvokeOp("JsonGetValue", storeId, "Fun");
// Assert.That(value, Is.EqualTo("Times"));
// }
{
UUID storeId = (UUID)InvokeOp("JsonCreateStore", "{ }");
int result = (int)InvokeOp("JsonSetValueJson", storeId, "Fun", "'Times'");
Assert.That(result, Is.EqualTo(1));
string value = (string)InvokeOp("JsonGetValue", storeId, "Fun");
Assert.That(value, Is.EqualTo("Times"));
}
// Sub-tree case
{