-Include SilverlightTests.cs
This commit is contained in:
@@ -131,6 +131,7 @@
|
||||
<Compile Include="Linq\JValueTests.cs" />
|
||||
<Compile Include="Linq\LinqToJsonTest.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="SilverlightTests.cs" />
|
||||
<Compile Include="TestFixtureBase.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user