Commit 416da77
committed
Updated tests to use .NET 5
Currently, none of the core OnTopic libraries rely on .NET 5 specific capabilities and, therefore, none of them multi-target .NET 5. That said, we _expect_ most implementors to be using .NET 5 and, therefore, it makes sense that the test hosts will be running in .NET 5 themselves. That should also provide them with some minor performance benefits.
For reasons that aren't entirely clear, migrating the `OnTopic.Tests` project to .NET 5 required introducing its own copy of `IsExternalInit`. This is surprising since a) this is available in `OnTopic`, which makes its internals visible to `OnTopic.Tests`, and b) this class is available in .NET 5. Regardless, an easy fix and one we don't expect to affect most scenarios, since internals aren't usually made available outside of unit tests.1 parent 9f2da06 commit 416da77
3 files changed
Lines changed: 21 additions & 4 deletions
File tree
- OnTopic.AspNetCore.Mvc.Tests
- OnTopic.Tests
- Internal
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
0 commit comments