From 3a6b068b6bc79155f095bd76afa70410469b9a14 Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Sun, 3 Jul 2016 15:05:14 +0900 Subject: [PATCH] Add test case for Newtonsoft.Json v9.0.1 (.NET 4.0) --- ICSharpCode.Decompiler/Tests/RoundtripAssembly.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ICSharpCode.Decompiler/Tests/RoundtripAssembly.cs b/ICSharpCode.Decompiler/Tests/RoundtripAssembly.cs index 2b66d561f..e55d9ec43 100644 --- a/ICSharpCode.Decompiler/Tests/RoundtripAssembly.cs +++ b/ICSharpCode.Decompiler/Tests/RoundtripAssembly.cs @@ -40,6 +40,16 @@ namespace ICSharpCode.Decompiler.Tests RunWithTest("Mono.Cecil-net45", "Mono.Cecil.dll", "Mono.Cecil.Tests.dll"); } + [Test] + public void NewtonsoftJson_net40() + { + try { + RunWithTest("Newtonsoft.Json-net40", "Newtonsoft.Json.dll", "Newtonsoft.Json.Tests.dll"); + } catch (CompilationFailedException ex) { + Assert.Ignore(ex.Message); + } + } + [Test] public void NRefactory_CSharp() {