-Include SilverlightTests.cs

This commit is contained in:
JamesNK
2008-08-23 02:10:53 +00:00
parent c312906712
commit a6662b595d
2 changed files with 21 additions and 0 deletions
@@ -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
}