From c38c87cf5bf9037050b8c8307536f6def5cbe1e4 Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Sun, 22 Mar 2015 19:48:02 +1300 Subject: [PATCH] -Build -Tests --- Build/build.ps1 | 1 + .../Serialization/DynamicTests.cs | 11 ----------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/Build/build.ps1 b/Build/build.ps1 index 8b22fd65..2eab8508 100644 --- a/Build/build.ps1 +++ b/Build/build.ps1 @@ -65,6 +65,7 @@ task Build -depends Clean { Write-Host -ForegroundColor Green "Building " $name Write-Host -ForegroundColor Green "Signed " $sign + Write-Host -ForegroundColor Green "Key " $signKeyPath Write-Host Write-Host "Restoring" diff --git a/Src/Newtonsoft.Json.Tests/Serialization/DynamicTests.cs b/Src/Newtonsoft.Json.Tests/Serialization/DynamicTests.cs index 5a240ef3..7614027f 100644 --- a/Src/Newtonsoft.Json.Tests/Serialization/DynamicTests.cs +++ b/Src/Newtonsoft.Json.Tests/Serialization/DynamicTests.cs @@ -123,17 +123,6 @@ namespace Newtonsoft.Json.Tests.Serialization TypeNameAssemblyFormat = FormatterAssemblyStyle.Full }); - StringAssert.AreEqual(@"{ - ""$type"": ""System.Dynamic.ExpandoObject, System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"", - ""Text"": ""Text!"", - ""Integer"": 2147483647, - ""DynamicChildObject"": { - ""$type"": ""Newtonsoft.Json.Tests.Serialization.DynamicChildObject, Newtonsoft.Json.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null"", - ""Text"": ""Child text!"", - ""Integer"": -2147483648 - } -}", json); - string dynamicChildObjectTypeName = ReflectionUtils.GetTypeName(typeof(DynamicChildObject), FormatterAssemblyStyle.Full, null); string expandoObjectTypeName = ReflectionUtils.GetTypeName(typeof(ExpandoObject), FormatterAssemblyStyle.Full, null);