-Modern project system all the things

This commit is contained in:
James Newton-King
2017-04-27 22:09:01 +12:00
parent 8eecadd0ef
commit 64124e6edd
44 changed files with 305 additions and 5606 deletions
@@ -45,7 +45,7 @@ namespace Newtonsoft.Json.Tests.Benchmarks
static DeserializeBenchmarks()
{
LargeJsonText = System.IO.File.ReadAllText("large.json");
LargeJsonText = System.IO.File.ReadAllText(TestFixtureBase.ResolvePath("large.json"));
FloatArrayJson = new JArray(Enumerable.Range(0, 5000).Select(i => i * 1.1m)).ToString(Formatting.None);
}
@@ -59,7 +59,7 @@ namespace Newtonsoft.Json.Tests.Benchmarks
[Benchmark]
public IList<RootObject> DeserializeLargeJsonFile()
{
using (var jsonFile = System.IO.File.OpenText("large.json"))
using (var jsonFile = System.IO.File.OpenText(TestFixtureBase.ResolvePath("large.json")))
using (JsonTextReader jsonTextReader = new JsonTextReader(jsonFile))
{
JsonSerializer serializer = new JsonSerializer();