-Lots and lots of JSON Schema work

-JSON Schema spec tests added
-Added Path to JToken
-Fixed JTokenWriter returning null reference
-Build script logging
-Documentation
-Updated to NUnit 2.6
This commit is contained in:
James Newton-King
2012-12-31 00:53:08 +13:00
parent 86a9b7b66b
commit e3a720504e
110 changed files with 19585 additions and 5992 deletions
@@ -75,6 +75,23 @@ namespace Newtonsoft.Json.Tests.Linq
Assert.IsTrue(ReferenceEquals(newValue1, newValue2));
}
[Test]
public void JObjectCount()
{
JObject o = new JObject();
dynamic d = o;
long? c1 = d.Count;
o["Count"] = 99;
long? c2 = d.Count;
Assert.AreEqual(null, c1);
Assert.AreEqual(99, c2);
}
[Test]
public void JObjectEnumerator()
{