-Build
-Tests
This commit is contained in:
@@ -65,6 +65,7 @@ task Build -depends Clean {
|
|||||||
|
|
||||||
Write-Host -ForegroundColor Green "Building " $name
|
Write-Host -ForegroundColor Green "Building " $name
|
||||||
Write-Host -ForegroundColor Green "Signed " $sign
|
Write-Host -ForegroundColor Green "Signed " $sign
|
||||||
|
Write-Host -ForegroundColor Green "Key " $signKeyPath
|
||||||
|
|
||||||
Write-Host
|
Write-Host
|
||||||
Write-Host "Restoring"
|
Write-Host "Restoring"
|
||||||
|
|||||||
@@ -123,17 +123,6 @@ namespace Newtonsoft.Json.Tests.Serialization
|
|||||||
TypeNameAssemblyFormat = FormatterAssemblyStyle.Full
|
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 dynamicChildObjectTypeName = ReflectionUtils.GetTypeName(typeof(DynamicChildObject), FormatterAssemblyStyle.Full, null);
|
||||||
string expandoObjectTypeName = ReflectionUtils.GetTypeName(typeof(ExpandoObject), FormatterAssemblyStyle.Full, null);
|
string expandoObjectTypeName = ReflectionUtils.GetTypeName(typeof(ExpandoObject), FormatterAssemblyStyle.Full, null);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user