-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 SerializeBenchmarks()
{
string json = System.IO.File.ReadAllText("large.json");
string json = System.IO.File.ReadAllText(TestFixtureBase.ResolvePath("large.json"));
LargeCollection = JsonConvert.DeserializeObject<IList<RootObject>>(json);
}
@@ -53,7 +53,7 @@ namespace Newtonsoft.Json.Tests.Benchmarks
[Benchmark]
public void SerializeLargeJsonFile()
{
using (StreamWriter file = System.IO.File.CreateText("largewrite.json"))
using (StreamWriter file = System.IO.File.CreateText(TestFixtureBase.ResolvePath("largewrite.json")))
{
JsonSerializer serializer = new JsonSerializer();
serializer.Formatting = Formatting.Indented;