This commit is contained in:
James Newton-King
2017-04-08 16:22:13 +12:00
parent c89b5b45aa
commit d56b2fa55b
5 changed files with 14 additions and 5 deletions
@@ -210,6 +210,15 @@ namespace Newtonsoft.Json.Tests
}
#endif
protected string ResolvePath(string path)
{
#if !DNXCORE50
return Path.Combine(TestContext.CurrentContext.TestDirectory, path);
#else
return path;
#endif
}
protected string GetOffset(DateTime d, DateFormatHandling dateFormatHandling)
{
char[] chars = new char[8];