Commit 9209724
authored
Upgrade xunit version to 2.9.0 (#57303)
* Upgrade Xunit version to 2.9.0
* React to removed/changed xunit exceptions
* Fix ambiguous calls
* Replace Assert.True(false, ...) with Assert.Fail
* Await async methods and change async void -> async Task
* Use Assert.Equal for string equality checks
* Apply analyzer fixes: use Assert.Single and Assert.Empty
* Apply analyzer fixes: null parameter in Theory data
* Fix TheoryData generic mismatch
* Test methods can't return value
* Suppress Do not call ConfigureAwait(false) in test method
* Suppress Do not use blocking task operations in test method
* Suppress Fixture arguments to test classes must have fixture sources
* Fix DllNotFoundException in HttpApi on non-Windows platforms
* Disable tests that were unintentionally skipped before and fail now
* Fix generated test code
* Disable generated tests that were unintentionally skipped before and fail now
* Add issue link to ResultsOfTTests.Generated.cs
* Add issue link to UserManagerTest.cs
* Disable xUnit1030 globally
* Move check for HttpApi into test code
* Revert changes to ResultsOfTTests, they were fixed1 parent 30fb87c commit 9209724
File tree
270 files changed
+870
-836
lines changed- eng
- src
- Analyzers/Microsoft.AspNetCore.Analyzer.Testing/src
- Antiforgery/test
- Components
- Analyzers/test/Verifiers
- Authorization/test
- Components/test
- Routing
- Endpoints/test
- Builder
- Server/test/Circuits
- WebAssembly/WebAssembly.Authentication/test
- Web/test/Forms
- test/E2ETest
- ServerRenderingTests
- Tests
- DataProtection
- Cryptography.Internal/test/Cng
- DataProtection/test/Microsoft.AspNetCore.DataProtection.Tests
- AuthenticatedEncryption/ConfigurationModel
- KeyManagement
- Repositories
- DefaultBuilder/test
- Microsoft.AspNetCore.FunctionalTests
- Microsoft.AspNetCore.Tests
- Features/JsonPatch/test/IntegrationTests
- FileProviders/Embedded/test
- Framework
- AspNetCoreAnalyzers/test/RouteEmbeddedLanguage
- test
- Grpc/JsonTranscoding/test
- Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests
- Microsoft.AspNetCore.Grpc.Swagger.Tests
- Binding
- XmlComments
- HealthChecks/HealthChecks/test
- Hosting
- Hosting/test
- TestHost/test
- Http
- Authentication.Core/test
- Headers/test
- Http.Abstractions/test
- Http.Extensions/test
- RequestDelegateGenerator
- Http.Results
- test
- tools/ResultsOfTGenerator
- Http/test
- Features
- Internal
- Routing/test/UnitTests
- Builder
- Matching
- Template
- Identity
- EntityFrameworkCore/test
- EF.InMemory.Test
- EF.Test
- Specification.Tests/src
- test/Identity.Test
- JSInterop/Microsoft.JSInterop/test
- Infrastructure
- Localization/Localization/test/Microsoft.Extensions.Localization.Tests
- Logging.AzureAppServices/test
- Middleware
- ConcurrencyLimiter/test/PolicyTests
- Diagnostics.EntityFrameworkCore/test/UnitTests
- Diagnostics/test/UnitTests
- HttpLogging/test
- MiddlewareAnalysis/test
- OutputCaching/test
- RequestDecompression/test
- ResponseCompression/test
- Rewrite/test/IISUrlRewrite
- Session/test
- WebSockets/test/UnitTests
- Mvc
- Mvc.Abstractions/test/ModelBinding
- Mvc.ApiExplorer/test
- Mvc.Core/test
- ActionConstraints
- Authorization
- DependencyInjection
- Filters
- Infrastructure
- ModelBinding
- Binders
- Validation
- Routing
- Mvc.Cors/test
- Mvc.DataAnnotations/test
- Mvc.Formatters.Xml/test
- Mvc.Localization/test
- Mvc.Razor.RuntimeCompilation/test
- Mvc.RazorPages/test
- ApplicationModels
- Builder
- Infrastructure
- Mvc.Razor/test
- TagHelpers
- Mvc.TagHelpers/test
- Mvc.ViewFeatures/test
- Builder
- Rendering
- ViewComponents
- Mvc/test
- test
- Mvc.FunctionalTests
- Infrastructure
- Mvc.IntegrationTests
- OpenApi/test/Microsoft.AspNetCore.OpenApi.Tests/Transformers/Implementations
- ProjectTemplates/test
- Templates.Blazor.Tests
- Templates.Blazor.WebAssembly.Auth.Tests
- Templates.Blazor.WebAssembly.Tests
- Templates.Mvc.Tests
- Templates.Tests
- ItemTemplateTests
- Razor
- Razor.Runtime/test/Runtime/TagHelpers
- Razor/test/TagHelpers
- Security
- Authentication
- Negotiate/test/Negotiate.Test
- test
- OpenIdConnect
- Authorization/test
- CookiePolicy/test
- Servers
- HttpSys/test
- FunctionalTests
- NonHelixTests
- IIS
- IIS/test
- Common.FunctionalTests
- Common.LongTests
- IntegrationTesting.IIS/src
- Kestrel
- Core/test
- Http1
- Kestrel/test
- test
- BindTests
- FunctionalTests
- InMemory.FunctionalTests
- Interop.FunctionalTests/Http3
- test/FunctionalTests
- SignalR
- clients/csharp/Client/test/FunctionalTests
- common
- Http.Connections/test
- SignalR.Common/test/Internal/Protocol
- server
- SignalR/test/Microsoft.AspNetCore.SignalR.Tests
- Internal
- StackExchangeRedis/test
- Testing
- src/Logging
- test
- Tools/SDK-Analyzers/Components/test/Verifiers
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
270 files changed
+870
-836
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
133 | 136 | | |
134 | 137 | | |
135 | 138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
325 | | - | |
326 | | - | |
| 325 | + | |
| 326 | + | |
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
330 | | - | |
| 330 | + | |
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
| |||
Lines changed: 2 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | 40 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1079 | 1079 | | |
1080 | 1080 | | |
1081 | 1081 | | |
1082 | | - | |
| 1082 | + | |
1083 | 1083 | | |
1084 | 1084 | | |
1085 | 1085 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
399 | | - | |
| 399 | + | |
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| |||
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
| 207 | + | |
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
324 | | - | |
| 324 | + | |
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
350 | | - | |
| 350 | + | |
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
| |||
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
380 | | - | |
| 380 | + | |
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
| 223 | + | |
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| |||
0 commit comments