From a6662b595dbc316c6e7aa8ec1ac262dd68a7ffe4 Mon Sep 17 00:00:00 2001 From: JamesNK Date: Sat, 23 Aug 2008 02:10:53 +0000 Subject: [PATCH] -Include SilverlightTests.cs --- .../Newtonsoft.Json.Tests.Silverlight.csproj | 1 + Src/Newtonsoft.Json.Tests/SilverlightTests.cs | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 Src/Newtonsoft.Json.Tests/SilverlightTests.cs diff --git a/Src/Newtonsoft.Json.Tests/Newtonsoft.Json.Tests.Silverlight.csproj b/Src/Newtonsoft.Json.Tests/Newtonsoft.Json.Tests.Silverlight.csproj index d53fe24b..81b39043 100644 --- a/Src/Newtonsoft.Json.Tests/Newtonsoft.Json.Tests.Silverlight.csproj +++ b/Src/Newtonsoft.Json.Tests/Newtonsoft.Json.Tests.Silverlight.csproj @@ -131,6 +131,7 @@ + diff --git a/Src/Newtonsoft.Json.Tests/SilverlightTests.cs b/Src/Newtonsoft.Json.Tests/SilverlightTests.cs new file mode 100644 index 00000000..edce32ee --- /dev/null +++ b/Src/Newtonsoft.Json.Tests/SilverlightTests.cs @@ -0,0 +1,20 @@ +using System; +using System.Reflection; +using NUnit.Framework; + +namespace Newtonsoft.Json.Tests +{ +#if SILVERLIGHT + [TestFixture] + public class SilverlightTests + { + [Test] + public void SystemVersion() + { + Assembly systemAssembly = typeof(Uri).Assembly; + StringAssert.Contains("=2.0.5.0,", systemAssembly.FullName, + "Check we're testing a Silverlight 2.0 assembly"); + } + } +#endif +} \ No newline at end of file