浏览代码

run tests on netcoreapp1.0

Oren Novotny 8 年之前
父节点
当前提交
69817fecd5

+ 1 - 1
Rx.NET/Source/tests/Tests.System.Reactive/DispatcherHelpers.cs

@@ -3,7 +3,7 @@
 // See the LICENSE file in the project root for more information. 
 
 using System;
-#if NETCOREAPP1_1 || NET46
+#if NETCOREAPP1_1 || NET46 || NETCOREAPP1_0
 using System.Threading;
 #endif
 #if HAS_DISPATCHER

+ 1 - 1
Rx.NET/Source/tests/Tests.System.Reactive/Tests.System.Reactive.csproj

@@ -1,6 +1,6 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <TargetFrameworks>net46;netcoreapp1.1;netcoreapp2.0</TargetFrameworks>
+    <TargetFrameworks>net46;netcoreapp1.0;netcoreapp2.0</TargetFrameworks>
     <NoWarn>$(NoWarn);CS0618</NoWarn>
   </PropertyGroup>
   

+ 1 - 1
Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/ObservableAggregateTest.cs

@@ -2460,7 +2460,7 @@ namespace ReactiveTests.Tests
             ReactiveAssert.Throws<OverflowException>(() => res.ForEach(_ => { }));
         }
 #endif
-#if !CRIPPLED_REFLECTION || NETCOREAPP1_1
+#if !CRIPPLED_REFLECTION || NETCOREAPP1_1 || NETCOREAPP1_0
         class OverflowInjection<T> : IObservable<T>
         {
             private readonly IObservable<T> _source;

+ 1 - 1
Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/ObservableMultipleTest.cs

@@ -6608,7 +6608,7 @@ namespace ReactiveTests.Tests
             res.Messages.AssertEqual(expected);
         }
 
-#if !NO_THREAD && !NETCOREAPP1_1
+#if !NO_THREAD && !NETCOREAPP1_1 && !NETCOREAPP1_0
         [Fact]
         public void Concat_TailRecursive2()
         {