21 lines
508 B
C#
21 lines
508 B
C#
using System;
|
|
using System.Reflection;
|
|
using NUnit.Framework;
|
|
|
|
namespace Newtonsoft.Json.Tests
|
|
{
|
|
// todo: need to fix this to get WP unit tests running off right dlls
|
|
#if SILVERLIGHT
|
|
[TestFixture]
|
|
public class SilverlightTests
|
|
{
|
|
[Test]
|
|
public void SystemVersion()
|
|
{
|
|
Assembly systemAssembly = typeof(Uri).Assembly;
|
|
StringAssert.Contains("=4.0.0.0,", systemAssembly.FullName,
|
|
"Check we're testing a Silverlight 4.0 assembly");
|
|
}
|
|
}
|
|
#endif
|
|
} |