File tree Expand file tree Collapse file tree 21 files changed +43
-89
lines changed
Assets/Tests/Tests.System.Reactive/Tests Expand file tree Collapse file tree 21 files changed +43
-89
lines changed Original file line number Diff line number Diff line change 1
- // Licensed to the .NET Foundation under one or more agreements.
1
+ // Licensed to the .NET Foundation under one or more agreements.
2
2
// The .NET Foundation licenses this file to you under the MIT License.
3
3
// See the LICENSE file in the project root for more information.
4
4
5
5
using System ;
6
6
using System . Reactive . Concurrency ;
7
7
using NUnit . Framework ;
8
- using UnityEngine . TestTools ;
9
8
10
9
namespace ReactiveTests . Tests
11
10
{
12
- [ Category ( "async" ) ]
11
+
13
12
public class AsyncLockTest
14
13
{
15
14
[ Test ]
Original file line number Diff line number Diff line change 1
- // Licensed to the .NET Foundation under one or more agreements.
1
+ // Licensed to the .NET Foundation under one or more agreements.
2
2
// The .NET Foundation licenses this file to you under the MIT License.
3
3
// See the LICENSE file in the project root for more information.
4
4
12
12
using System . Runtime . CompilerServices ;
13
13
using System . Threading ;
14
14
using NUnit . Framework ;
15
- using UnityEngine . TestTools ;
16
15
using Microsoft . Reactive . Testing ;
17
16
18
17
#if HAS_WINFORMS
24
23
25
24
namespace ReactiveTests . Tests
26
25
{
27
- [ Category ( "async" ) ]
26
+
28
27
public class SchedulerTest : ReactiveTest
29
28
{
30
29
#region IScheduler
Original file line number Diff line number Diff line change 1
- // Licensed to the .NET Foundation under one or more agreements.
1
+ // Licensed to the .NET Foundation under one or more agreements.
2
2
// The .NET Foundation licenses this file to you under the MIT License.
3
3
// See the LICENSE file in the project root for more information.
4
4
13
13
using System . Threading . Tasks ;
14
14
using Microsoft . Reactive . Testing ;
15
15
using NUnit . Framework ;
16
- using UnityEngine . TestTools ;
17
16
18
17
namespace ReactiveTests . Tests
19
18
{
20
- [ Category ( "async" ) ]
21
19
public class CreateAsyncTest : ReactiveTest
22
20
{
23
21
Original file line number Diff line number Diff line change 1
- // Licensed to the .NET Foundation under one or more agreements.
1
+ // Licensed to the .NET Foundation under one or more agreements.
2
2
// The .NET Foundation licenses this file to you under the MIT License.
3
3
// See the LICENSE file in the project root for more information.
4
4
9
9
using System . Threading . Tasks ;
10
10
using Microsoft . Reactive . Testing ;
11
11
using NUnit . Framework ;
12
- using UnityEngine . TestTools ;
13
12
14
13
namespace ReactiveTests . Tests
15
14
{
16
- [ Category ( "async" ) ]
17
15
public class DeferAsyncTest : ReactiveTest
18
16
{
19
17
Original file line number Diff line number Diff line change 1
- // Licensed to the .NET Foundation under one or more agreements.
1
+ // Licensed to the .NET Foundation under one or more agreements.
2
2
// The .NET Foundation licenses this file to you under the MIT License.
3
3
// See the LICENSE file in the project root for more information.
4
4
7
7
using Microsoft . Reactive . Testing ;
8
8
using ReactiveTests . Dummies ;
9
9
using NUnit . Framework ;
10
- using UnityEngine . TestTools ;
11
10
12
- namespace ReactiveTests . Tests {
13
- [ Category ( "async" ) ]
11
+ namespace ReactiveTests . Tests
12
+ {
14
13
public class FirstAsyncTest : ReactiveTest
15
14
{
16
15
[ Test ]
Original file line number Diff line number Diff line change 1
- // Licensed to the .NET Foundation under one or more agreements.
1
+ // Licensed to the .NET Foundation under one or more agreements.
2
2
// The .NET Foundation licenses this file to you under the MIT License.
3
3
// See the LICENSE file in the project root for more information.
4
4
7
7
using Microsoft . Reactive . Testing ;
8
8
using ReactiveTests . Dummies ;
9
9
using NUnit . Framework ;
10
- using UnityEngine . TestTools ;
11
10
12
- namespace ReactiveTests . Tests {
13
- [ Category ( "async" ) ]
11
+ namespace ReactiveTests . Tests
12
+ {
14
13
public class FirstOrDefaultAsyncTest : ReactiveTest
15
14
{
16
15
[ Test ]
Original file line number Diff line number Diff line change 1
- // Licensed to the .NET Foundation under one or more agreements.
1
+ // Licensed to the .NET Foundation under one or more agreements.
2
2
// The .NET Foundation licenses this file to you under the MIT License.
3
3
// See the LICENSE file in the project root for more information.
4
4
9
9
using System . Threading . Tasks ;
10
10
using Microsoft . Reactive . Testing ;
11
11
using NUnit . Framework ;
12
- using UnityEngine . TestTools ;
13
12
14
13
namespace ReactiveTests . Tests
15
14
{
16
15
#pragma warning disable IDE0039 // Use local function
17
- [ Category ( "async" ) ]
18
16
public class FromAsyncPatternTest : ReactiveTest
19
17
{
20
18
private readonly Task < int > _doneTask ;
Original file line number Diff line number Diff line change 1
- // Licensed to the .NET Foundation under one or more agreements.
1
+ // Licensed to the .NET Foundation under one or more agreements.
2
2
// The .NET Foundation licenses this file to you under the MIT License.
3
3
// See the LICENSE file in the project root for more information.
4
4
11
11
using System . Threading . Tasks ;
12
12
using Microsoft . Reactive . Testing ;
13
13
using NUnit . Framework ;
14
- using UnityEngine . TestTools ;
15
14
16
- namespace ReactiveTests . Tests {
17
- [ Category ( "async" ) ]
15
+ namespace ReactiveTests . Tests
16
+ {
18
17
public class FromAsyncTest : ReactiveTest
19
18
{
20
19
private readonly Task < int > _doneTask ;
Original file line number Diff line number Diff line change 1
- // Licensed to the .NET Foundation under one or more agreements.
1
+ // Licensed to the .NET Foundation under one or more agreements.
2
2
// The .NET Foundation licenses this file to you under the MIT License.
3
3
// See the LICENSE file in the project root for more information.
4
4
7
7
using Microsoft . Reactive . Testing ;
8
8
using ReactiveTests . Dummies ;
9
9
using NUnit . Framework ;
10
- using UnityEngine . TestTools ;
11
10
12
- namespace ReactiveTests . Tests {
13
- [ Category ( "async" ) ]
11
+ namespace ReactiveTests . Tests
12
+ {
14
13
public class LastAsyncTest : ReactiveTest
15
14
{
16
15
Original file line number Diff line number Diff line change 1
- // Licensed to the .NET Foundation under one or more agreements.
1
+ // Licensed to the .NET Foundation under one or more agreements.
2
2
// The .NET Foundation licenses this file to you under the MIT License.
3
3
// See the LICENSE file in the project root for more information.
4
4
7
7
using Microsoft . Reactive . Testing ;
8
8
using ReactiveTests . Dummies ;
9
9
using NUnit . Framework ;
10
- using UnityEngine . TestTools ;
11
10
12
- namespace ReactiveTests . Tests {
13
- [ Category ( "async" ) ]
11
+ namespace ReactiveTests . Tests
12
+ {
14
13
public class LastOrDefaultAsyncTest : ReactiveTest
15
14
{
16
15
You can’t perform that action at this time.
0 commit comments