-Updated NuGet packages
-Changed .NET Core test project to 1.1
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
// OTHER DEALINGS IN THE SOFTWARE.
|
||||
#endregion
|
||||
|
||||
#if !(NET20 || NET35 || NET40 || PORTABLE || PORTABLE40) || DNXCORE50
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -44,11 +46,16 @@ namespace Newtonsoft.Json.Tests.Benchmarks
|
||||
[TestFixture]
|
||||
public class Runner : TestFixtureBase
|
||||
{
|
||||
[Test]
|
||||
#if DNXCORE50
|
||||
[Test(Skip = "Don't run with other unit tests")]
|
||||
#else
|
||||
[Ignore("Don't run with other unit tests")]
|
||||
#endif
|
||||
public void RunBenchmarks()
|
||||
{
|
||||
new BenchmarkSwitcher(typeof(Runner).GetTypeInfo().Assembly).Run(new []{ "*" });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user