summaryrefslogtreecommitdiff
path: root/external/rx/Ix/NET/Tests/AsyncTests.cs
diff options
context:
space:
mode:
Diffstat (limited to 'external/rx/Ix/NET/Tests/AsyncTests.cs')
-rw-r--r--external/rx/Ix/NET/Tests/AsyncTests.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/external/rx/Ix/NET/Tests/AsyncTests.cs b/external/rx/Ix/NET/Tests/AsyncTests.cs
index 9279bb765e..5186e16f20 100644
--- a/external/rx/Ix/NET/Tests/AsyncTests.cs
+++ b/external/rx/Ix/NET/Tests/AsyncTests.cs
@@ -1,10 +1,17 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
-#if DESKTOPCLR40
+#if !NO_TPL
using System;
using System.Collections.Generic;
using System.Linq;
-using Microsoft.VisualStudio.TestTools.UnitTesting;
+#if NUNIT
+using NUnit.Framework;
+using TestClassAttribute = NUnit.Framework.TestFixtureAttribute;
+using TestMethodAttribute = NUnit.Framework.TestAttribute;
+using TestInitializeAttribute = NUnit.Framework.SetUpAttribute;
+#else
+using Microsoft.VisualStudio.TestTools.UnitTesting;
+#endif
namespace Tests
{