Skip to content

Commit b23648f

Browse files
committed
removed some hopefully optional Categories on tests
(if that was the only thing changed from the original version)
1 parent 5eb76b5 commit b23648f

21 files changed

+43
-89
lines changed

Assets/Tests/Tests.System.Reactive/Tests/Concurrency/AsyncLockTest.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
// Licensed to the .NET Foundation under one or more agreements.
1+
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT License.
33
// See the LICENSE file in the project root for more information.
44

55
using System;
66
using System.Reactive.Concurrency;
77
using NUnit.Framework;
8-
using UnityEngine.TestTools;
98

109
namespace ReactiveTests.Tests
1110
{
12-
[Category("async")]
11+
1312
public class AsyncLockTest
1413
{
1514
[Test]

Assets/Tests/Tests.System.Reactive/Tests/Concurrency/SchedulerTest.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Licensed to the .NET Foundation under one or more agreements.
1+
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT License.
33
// See the LICENSE file in the project root for more information.
44

@@ -12,7 +12,6 @@
1212
using System.Runtime.CompilerServices;
1313
using System.Threading;
1414
using NUnit.Framework;
15-
using UnityEngine.TestTools;
1615
using Microsoft.Reactive.Testing;
1716

1817
#if HAS_WINFORMS
@@ -24,7 +23,7 @@
2423

2524
namespace ReactiveTests.Tests
2625
{
27-
[Category("async")]
26+
2827
public class SchedulerTest : ReactiveTest
2928
{
3029
#region IScheduler

Assets/Tests/Tests.System.Reactive/Tests/Linq/Observable/CreateAsyncTest.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Licensed to the .NET Foundation under one or more agreements.
1+
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT License.
33
// See the LICENSE file in the project root for more information.
44

@@ -13,11 +13,9 @@
1313
using System.Threading.Tasks;
1414
using Microsoft.Reactive.Testing;
1515
using NUnit.Framework;
16-
using UnityEngine.TestTools;
1716

1817
namespace ReactiveTests.Tests
1918
{
20-
[Category("async")]
2119
public class CreateAsyncTest : ReactiveTest
2220
{
2321

Assets/Tests/Tests.System.Reactive/Tests/Linq/Observable/DeferAsyncTest.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Licensed to the .NET Foundation under one or more agreements.
1+
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT License.
33
// See the LICENSE file in the project root for more information.
44

@@ -9,11 +9,9 @@
99
using System.Threading.Tasks;
1010
using Microsoft.Reactive.Testing;
1111
using NUnit.Framework;
12-
using UnityEngine.TestTools;
1312

1413
namespace ReactiveTests.Tests
1514
{
16-
[Category("async")]
1715
public class DeferAsyncTest : ReactiveTest
1816
{
1917

Assets/Tests/Tests.System.Reactive/Tests/Linq/Observable/FirstAsyncTest.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Licensed to the .NET Foundation under one or more agreements.
1+
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT License.
33
// See the LICENSE file in the project root for more information.
44

@@ -7,10 +7,9 @@
77
using Microsoft.Reactive.Testing;
88
using ReactiveTests.Dummies;
99
using NUnit.Framework;
10-
using UnityEngine.TestTools;
1110

12-
namespace ReactiveTests.Tests {
13-
[Category("async")]
11+
namespace ReactiveTests.Tests
12+
{
1413
public class FirstAsyncTest : ReactiveTest
1514
{
1615
[Test]

Assets/Tests/Tests.System.Reactive/Tests/Linq/Observable/FirstOrDefaultAsyncTest.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Licensed to the .NET Foundation under one or more agreements.
1+
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT License.
33
// See the LICENSE file in the project root for more information.
44

@@ -7,10 +7,9 @@
77
using Microsoft.Reactive.Testing;
88
using ReactiveTests.Dummies;
99
using NUnit.Framework;
10-
using UnityEngine.TestTools;
1110

12-
namespace ReactiveTests.Tests {
13-
[Category("async")]
11+
namespace ReactiveTests.Tests
12+
{
1413
public class FirstOrDefaultAsyncTest : ReactiveTest
1514
{
1615
[Test]

Assets/Tests/Tests.System.Reactive/Tests/Linq/Observable/FromAsyncPatternTest.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Licensed to the .NET Foundation under one or more agreements.
1+
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT License.
33
// See the LICENSE file in the project root for more information.
44

@@ -9,12 +9,10 @@
99
using System.Threading.Tasks;
1010
using Microsoft.Reactive.Testing;
1111
using NUnit.Framework;
12-
using UnityEngine.TestTools;
1312

1413
namespace ReactiveTests.Tests
1514
{
1615
#pragma warning disable IDE0039 // Use local function
17-
[Category("async")]
1816
public class FromAsyncPatternTest : ReactiveTest
1917
{
2018
private readonly Task<int> _doneTask;

Assets/Tests/Tests.System.Reactive/Tests/Linq/Observable/FromAsyncTest.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Licensed to the .NET Foundation under one or more agreements.
1+
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT License.
33
// See the LICENSE file in the project root for more information.
44

@@ -11,10 +11,9 @@
1111
using System.Threading.Tasks;
1212
using Microsoft.Reactive.Testing;
1313
using NUnit.Framework;
14-
using UnityEngine.TestTools;
1514

16-
namespace ReactiveTests.Tests {
17-
[Category("async")]
15+
namespace ReactiveTests.Tests
16+
{
1817
public class FromAsyncTest : ReactiveTest
1918
{
2019
private readonly Task<int> _doneTask;

Assets/Tests/Tests.System.Reactive/Tests/Linq/Observable/LastAsyncTest.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Licensed to the .NET Foundation under one or more agreements.
1+
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT License.
33
// See the LICENSE file in the project root for more information.
44

@@ -7,10 +7,9 @@
77
using Microsoft.Reactive.Testing;
88
using ReactiveTests.Dummies;
99
using NUnit.Framework;
10-
using UnityEngine.TestTools;
1110

12-
namespace ReactiveTests.Tests {
13-
[Category("async")]
11+
namespace ReactiveTests.Tests
12+
{
1413
public class LastAsyncTest : ReactiveTest
1514
{
1615

Assets/Tests/Tests.System.Reactive/Tests/Linq/Observable/LastOrDefaultAsyncTest.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Licensed to the .NET Foundation under one or more agreements.
1+
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT License.
33
// See the LICENSE file in the project root for more information.
44

@@ -7,10 +7,9 @@
77
using Microsoft.Reactive.Testing;
88
using ReactiveTests.Dummies;
99
using NUnit.Framework;
10-
using UnityEngine.TestTools;
1110

12-
namespace ReactiveTests.Tests {
13-
[Category("async")]
11+
namespace ReactiveTests.Tests
12+
{
1413
public class LastOrDefaultAsyncTest : ReactiveTest
1514
{
1615

0 commit comments

Comments
 (0)