From b6f5d14c6154c1d6aa58f85c12b3a469752a9894 Mon Sep 17 00:00:00 2001 From: Daniel Weber Date: Mon, 28 May 2018 15:51:21 +0200 Subject: [PATCH] Fix ImmutableListTest: The code should be tested when System.Reactive is visible to the test assembly, which is exactly when it is signed (and not vice versa). The SIGNED-directive is thus added to the Uwp-DeviceRunner project. --- .../Tests.System.Reactive.Uwp.DeviceRunner.csproj | 1 + .../tests/Tests.System.Reactive/Tests/ImmutableListTest.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Rx.NET/Source/tests/Tests.System.Reactive.Uwp.DeviceRunner/Tests.System.Reactive.Uwp.DeviceRunner.csproj b/Rx.NET/Source/tests/Tests.System.Reactive.Uwp.DeviceRunner/Tests.System.Reactive.Uwp.DeviceRunner.csproj index 98fd72d650..610cc79141 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive.Uwp.DeviceRunner/Tests.System.Reactive.Uwp.DeviceRunner.csproj +++ b/Rx.NET/Source/tests/Tests.System.Reactive.Uwp.DeviceRunner/Tests.System.Reactive.Uwp.DeviceRunner.csproj @@ -156,6 +156,7 @@ true + $(DefineConstants);SIGNED false diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/ImmutableListTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/ImmutableListTest.cs index 81ac62fc35..3e3c4f3e33 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/ImmutableListTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/ImmutableListTest.cs @@ -4,7 +4,7 @@ namespace ReactiveTests.Tests { -#if !SIGNED +#if SIGNED public class ImmutableListTest {