2138 references to Collection
Aspire.Dashboard.Components.Tests (19)
Controls\PlotlyChartTests.cs (3)
41Assert.Collection(JSInterop.Invocations, 96Assert.Collection(JSInterop.Invocations, 106Assert.Collection((IEnumerable<PlotlyTrace>)i.Arguments[1]!, trace =>
Controls\ResourceDetailsTests.cs (12)
40Assert.Collection(cut.Instance.FilteredEnvironmentVariables, 57Assert.Collection(cut.Instance.FilteredEnvironmentVariables, 83Assert.Collection(cut.Instance.FilteredEnvironmentVariables, 123Assert.Collection(cut.Instance.FilteredEnvironmentVariables, 140Assert.Collection(cut.Instance.FilteredEnvironmentVariables, 166Assert.Collection(cut.Instance.FilteredEnvironmentVariables, 206Assert.Collection(cut.Instance.FilteredEnvironmentVariables, 223Assert.Collection(cut.Instance.FilteredEnvironmentVariables, 249Assert.Collection(cut.Instance.FilteredEnvironmentVariables, 289Assert.Collection(cut.Instance.FilteredEnvironmentVariables, 306Assert.Collection(cut.Instance.FilteredEnvironmentVariables, 332Assert.Collection(cut.Instance.FilteredEnvironmentVariables,
Pages\StructuredLogsTests.cs (3)
52Assert.Collection(viewModel.Filters, 92Assert.Collection(viewModel.Filters, 130Assert.Collection(viewModel.Filters,
Pages\TraceDetailsTests.cs (1)
74Assert.Collection(telemetryRepository.TracesSubscriptions, t =>
Aspire.Dashboard.Tests (120)
ConsoleLogsTests\CreateResourceSelectModelsTests.cs (1)
45Assert.Collection(viewModels,
ConsoleLogsTests\LogEntriesTests.cs (7)
53Assert.Collection(logEntries.GetEntries(), 74Assert.Collection(entries, 118Assert.Collection(entries, 163Assert.Collection(entries, 191Assert.Collection(entries, 212Assert.Collection(entries, 232Assert.Collection(entries,
Integration\FrontendBrowserTokenAuthTests.cs (1)
172Assert.Collection(l,
Integration\StartupTests.cs (4)
107Assert.Collection(app.ValidationFailures, 124Assert.Collection(app.ValidationFailures, 560Assert.Collection(l, 640Assert.Collection(l,
Model\ApplicationsSelectHelpersTests.cs (4)
30Assert.Collection(appVMs, 74Assert.Collection(appVMs, 140Assert.Collection(appVMs, 177Assert.Collection(appVMs,
Model\ResourceEndpointHelpersTests.cs (7)
30Assert.Collection(endpoints, 49Assert.Collection(endpoints, 76Assert.Collection(endpoints, 103Assert.Collection(endpoints, 130Assert.Collection(endpoints, 150Assert.Collection(endpoints, 180Assert.Collection(endpoints,
Model\ResourceViewModelNameComparerTests.cs (1)
28Assert.Collection(result,
Model\SpanWaterfallViewModelTests.cs (1)
31Assert.Collection(vm,
Model\TraceHelpersTests.cs (4)
28Assert.Collection(results, 51Assert.Collection(results, 78Assert.Collection(results, 108Assert.Collection(results,
TelemetryRepositoryTests\ApplicationTests.cs (4)
28Assert.Collection(applications, 71Assert.Collection(applications1, 87Assert.Collection(applications2, 109Assert.Collection(applications,
TelemetryRepositoryTests\LogTests.cs (19)
59Assert.Collection(applications, 73Assert.Collection(logs.Items, 81Assert.Collection(app.Attributes, 90Assert.Collection(propertyKeys, 128Assert.Collection(logs.Items, 180Assert.Collection(logs.Items, 482Assert.Collection(applications, 654Assert.Collection(applications, 668Assert.Collection(logs.Items, 673Assert.Collection(app.Attributes, 866Assert.Collection(applications, 885Assert.Collection(logs1.Items, 893Assert.Collection(app.Attributes, 908Assert.Collection(logs2.Items, 916Assert.Collection(app.Attributes, 984Assert.Collection(logs.Items, 989Assert.Collection(app.Attributes, 1000Assert.Collection(app.Attributes, 1009Assert.Collection(propertyKeys,
TelemetryRepositoryTests\MetricsTests.cs (15)
63Assert.Collection(applications, 71Assert.Collection(instruments, 136Assert.Collection(applications, 152Assert.Collection(instrument.Summary.Parent.Attributes, 181Assert.Collection(dimensionAttributes, 252Assert.Collection(applications, 268Assert.Collection(instrument.Summary.Parent.Attributes, 277Assert.Collection(dimensionAttributes, 350Assert.Collection(applications, 372Assert.Collection(instrumentData.KnownAttributeValues.OrderBy(kvp => kvp.Key), 457Assert.Collection(applications, 480Assert.Collection(dimension.Values, 566Assert.Collection(instruments, 594Assert.Collection(instrument.Dimensions.OrderBy(d => d.Name), 614Assert.Collection(knownValues.Value.Order(),
TelemetryRepositoryTests\OtlpHelpersTests.cs (9)
165Assert.Collection(copiedAttributes, 195Assert.Collection(copiedAttributes, 239Assert.Collection(copiedAttributes, 278Assert.Collection(copiedAttributes, 314Assert.Collection(copiedAttributes, 357Assert.Collection(copiedAttributes, 390Assert.Collection(results, 426Assert.Collection(results, 474Assert.Collection(results,
TelemetryRepositoryTests\TraceTests.cs (43)
70Assert.Collection(applications, 85Assert.Collection(traces.PagedResult.Items, 129Assert.Collection(applications, 184Assert.Collection(applications, 199Assert.Collection(traces.PagedResult.Items, 239Assert.Collection(applications, 254Assert.Collection(traces.PagedResult.Items, 310Assert.Collection(applications, 325Assert.Collection(traces.PagedResult.Items, 333Assert.Collection(trace.Spans, 387Assert.Collection(applications, 402Assert.Collection(traces1.PagedResult.Items, 444Assert.Collection(traces2.PagedResult.Items, 499Assert.Collection(traces.PagedResult.Items, 505Assert.Collection(trace.Spans, 568Assert.Collection(traces.PagedResult.Items, 573Assert.Collection(trace.FirstSpan.Events, 577Assert.Collection(e.Attributes, 645Assert.Collection(traces.PagedResult.Items, 650Assert.Collection(trace.FirstSpan.Links, 655Assert.Collection(l.Attributes, 666Assert.Collection(l.Attributes, 675Assert.Collection(repository.SpanLinks, 680Assert.Collection(l.Attributes, 691Assert.Collection(l.Attributes, 735Assert.Collection(traces1.PagedResult.Items, 804Assert.Collection(applications, 824Assert.Collection(trace.FirstSpan.Attributes, 875Assert.Collection(trace.Spans, 928Assert.Collection(applications, 1050Assert.Collection(traces.PagedResult.Items, 1120Assert.Collection(traces.PagedResult.Items, 1131Assert.Collection(propertyKeys, 1188Assert.Collection(traces.PagedResult.Items, 1207Assert.Collection(traces.PagedResult.Items, 1293Assert.Collection(traces.PagedResult.Items, 1483Assert.Collection(views, 1486Assert.Collection(v.Properties, 1495Assert.Collection(v.Properties, 1518Assert.Collection(trace.Spans, 1522Assert.Collection(s.Source.Properties, 1532Assert.Collection(s.Source.Properties, 1547Assert.Collection(s.Source.Properties,
Aspire.Hosting.Azure.Tests (5)
AzureBicepResourceTests.cs (3)
323Assert.Collection( 417Assert.Collection( 2653Assert.Collection(
AzureEventHubsExtensionsTests.cs (1)
179Assert.Collection(
AzureResourceExtensionsTests.cs (1)
129Assert.Collection(
Aspire.Hosting.Containers.Tests (1)
ContainerResourceTests.cs (1)
78Assert.Collection(args,
Aspire.Hosting.Elasticsearch.Tests (2)
AddElasticsearchTests.cs (2)
57Assert.Collection(config, 119Assert.Collection(config,
Aspire.Hosting.MongoDB.Tests (4)
AddMongoDBTests.cs (1)
151Assert.Collection(env,
MongoDbFunctionalTests.cs (3)
212Assert.Collection(results, 335Assert.Collection(results, 364Assert.Collection(results,
Aspire.Hosting.MySql.Tests (2)
AddMySqlTests.cs (2)
65Assert.Collection(config, 105Assert.Collection(config,
Aspire.Hosting.Nats.Tests (2)
AddNatsTests.cs (2)
115Assert.Collection(args, 161Assert.Collection(args,
Aspire.Hosting.Oracle.Tests (3)
AddOracleTests.cs (3)
64Assert.Collection(config, 104Assert.Collection(config, 187Assert.Collection(config,
Aspire.Hosting.PostgreSQL.Tests (5)
AddPostgresTests.cs (5)
74Assert.Collection(config, 129Assert.Collection(config, 221Assert.Collection(config, 520Assert.Collection(bookMarkFiles, 538Assert.Collection(bookmarkFilesContent,
Aspire.Hosting.Qdrant.Tests (2)
AddQdrantTests.cs (2)
69Assert.Collection(config, 142Assert.Collection(config,
Aspire.Hosting.Redis.Tests (1)
RedisFunctionalTests.cs (1)
266Assert.Collection(databases,
Aspire.Hosting.SqlServer.Tests (1)
AddSqlServerTests.cs (1)
65Assert.Collection(config,
Aspire.Hosting.Testing.Tests (1)
ResourceLoggerForwarderServiceTests.cs (1)
118Assert.Collection(hostLogs,
Aspire.Hosting.Tests (21)
AddParameterTests.cs (2)
36Assert.Collection(state.Properties, 75Assert.Collection(state.Properties,
Codespaces\CodespacesUrlRewriterTests.cs (1)
92Assert.Collection(
Dashboard\DashboardResourceTests.cs (2)
72Assert.Collection(model.Resources, 109Assert.Collection(config,
ExecutableResourceTests.cs (1)
41Assert.Collection(args,
KestrelConfigTests.cs (5)
24Assert.Collection( 61Assert.Collection( 93Assert.Collection( 110Assert.Collection( 146Assert.Collection(
ProjectResourceTests.cs (3)
80Assert.Collection(config, 250Assert.Collection( 589Assert.Collection(args,
ResourceExtensionsTests.cs (3)
178Assert.Collection(env, 211Assert.Collection(env, 244Assert.Collection(env,
ResourceLoggerServiceTests.cs (2)
79Assert.Collection(allLogs, 90Assert.Collection(allLogs,
ResourceNotificationTests.cs (1)
37Assert.Collection(state.Properties, c =>
WaitForTests.cs (1)
354Assert.Collection(
Aspire.StackExchange.Redis.DistributedCaching.Tests (1)
DistributedCacheConformanceTests.cs (1)
68Assert.Collection(activityList,
Aspire.StackExchange.Redis.OutputCaching.Tests (1)
OutputCacheConformanceTests.cs (1)
68Assert.Collection(activityList,
Aspire.Workload.Tests (1)
StarterTemplateRunTestsBase.cs (1)
131Assert.Collection(row,
InMemory.FunctionalTests (37)
BadHttpRequestTests.cs (5)
189Assert.Collection(connectionDuration.GetMeasurementSnapshot(), m => MetricsAssert.NoError(m.Tags)); 363Assert.Collection(connectionDuration.GetMeasurementSnapshot(), m => MetricsAssert.Equal(reason, m.Tags)); 436Assert.Collection(connectionDuration.GetMeasurementSnapshot(), m => MetricsAssert.NoError(m.Tags)); 505Assert.Collection(connectionDuration.GetMeasurementSnapshot(), m => MetricsAssert.NoError(m.Tags)); 563Assert.Collection(connectionDuration.GetMeasurementSnapshot(), m => MetricsAssert.NoError(m.Tags));
ConnectionLimitTests.cs (1)
146Assert.Collection(rejectedConnections.GetMeasurementSnapshot(), actions);
Http3\Http3ConnectionTests.cs (1)
372Assert.Collection(incomingSettings,
HttpsTests.cs (2)
622Assert.Collection(tlsOptions.ApplicationProtocols, p => Assert.Equal(SslApplicationProtocol.Http3, p)); 670Assert.Collection(tlsOptions.ApplicationProtocols, p => Assert.Equal(SslApplicationProtocol.Http3, p));
KeepAliveTimeoutTests.cs (4)
86Assert.Collection(connectionDuration.GetMeasurementSnapshot(), m => MetricsAssert.NoError(m.Tags)); 131Assert.Collection(connectionDuration.GetMeasurementSnapshot(), m => MetricsAssert.NoError(m.Tags)); 176Assert.Collection(connectionDuration.GetMeasurementSnapshot(), m => MetricsAssert.NoError(m.Tags)); 244Assert.Collection(connectionDuration.GetMeasurementSnapshot(), m => MetricsAssert.NoError(m.Tags));
KestrelMetricsTests.cs (17)
79Assert.Collection(activeConnections.GetMeasurementSnapshot(), m => AssertCount(m, 1, "127.0.0.1", localPort: 0, "tcp", "ipv4")); 99Assert.Collection(activeConnections.GetMeasurementSnapshot(), m => AssertCount(m, 1, "127.0.0.1", localPort: 0, "tcp", "ipv4"), m => AssertCount(m, -1, "127.0.0.1", localPort: 0, "tcp", "ipv4")); 100Assert.Collection(queuedConnections.GetMeasurementSnapshot(), m => AssertCount(m, 1, "127.0.0.1", localPort: 0, "tcp", "ipv4"), m => AssertCount(m, -1, "127.0.0.1", localPort: 0, "tcp", "ipv4")); 367Assert.Collection(activeConnections.GetMeasurementSnapshot(), m => AssertCount(m, 1, "127.0.0.1", localPort: 0, "tcp", "ipv4")); 388Assert.Collection(activeConnections.GetMeasurementSnapshot(), m => AssertCount(m, 1, "127.0.0.1", localPort: 0, "tcp", "ipv4"), m => AssertCount(m, -1, "127.0.0.1", localPort: 0, "tcp", "ipv4")); 389Assert.Collection(queuedConnections.GetMeasurementSnapshot(), m => AssertCount(m, 1, "127.0.0.1", localPort: 0, "tcp", "ipv4"), m => AssertCount(m, -1, "127.0.0.1", localPort: 0, "tcp", "ipv4")); 472Assert.Collection(activeConnections.GetMeasurementSnapshot(), m => AssertCount(m, 1, "127.0.0.1", localPort: 0, "tcp", "ipv4")); 482Assert.Collection(connectionDuration.GetMeasurementSnapshot(), m => 486Assert.Collection(activeConnections.GetMeasurementSnapshot(), m => AssertCount(m, 1, "127.0.0.1", localPort: 0, "tcp", "ipv4"), m => AssertCount(m, -1, "127.0.0.1", localPort: 0, "tcp", "ipv4")); 487Assert.Collection(queuedConnections.GetMeasurementSnapshot(), m => AssertCount(m, 1, "127.0.0.1", localPort: 0, "tcp", "ipv4"), m => AssertCount(m, -1, "127.0.0.1", localPort: 0, "tcp", "ipv4")); 515Assert.Collection(activeConnections.GetMeasurementSnapshot(), m => AssertCount(m, 1, "127.0.0.1", localPort: 0, "tcp", "ipv4"), m => AssertCount(m, -1, "127.0.0.1", localPort: 0, "tcp", "ipv4")); 516Assert.Collection(currentUpgradedRequests.GetMeasurementSnapshot(), m => Assert.Equal(1, m.Value), m => Assert.Equal(-1, m.Value)); 740Assert.Collection(activeConnections.GetMeasurementSnapshot(), m => AssertCount(m, 1, "127.0.0.1", localPort: 0, "tcp", "ipv4"), m => AssertCount(m, -1, "127.0.0.1", localPort: 0, "tcp", "ipv4")); 741Assert.Collection(queuedConnections.GetMeasurementSnapshot(), m => AssertCount(m, 1, "127.0.0.1", localPort: 0, "tcp", "ipv4"), m => AssertCount(m, -1, "127.0.0.1", localPort: 0, "tcp", "ipv4")); 749Assert.Collection(tlsHandshakeDuration.GetMeasurementSnapshot(), m => 755Assert.Collection(activeTlsHandshakes.GetMeasurementSnapshot(), m => Assert.Equal(1, m.Value), m => Assert.Equal(-1, m.Value)); 909Assert.Collection(tlsHandshakeDuration.GetMeasurementSnapshot(), m =>
MaxRequestLineSizeTests.cs (1)
52Assert.Collection(connectionDuration.GetMeasurementSnapshot(), m => MetricsAssert.NoError(m.Tags));
RequestHeaderLimitsTests.cs (2)
50Assert.Collection(connectionDuration.GetMeasurementSnapshot(), m => MetricsAssert.NoError(m.Tags)); 87Assert.Collection(connectionDuration.GetMeasurementSnapshot(), m => MetricsAssert.NoError(m.Tags));
RequestHeadersTimeoutTests.cs (1)
85Assert.Collection(connectionDuration.GetMeasurementSnapshot(), m => MetricsAssert.NoError(m.Tags));
ResponseTests.cs (3)
708Assert.Collection(connectionDuration.GetMeasurementSnapshot(), m => MetricsAssert.NoError(m.Tags)); 2466Assert.Collection(connectionDuration.GetMeasurementSnapshot(), m => MetricsAssert.NoError(m.Tags)); 2668Assert.Collection(connectionDuration.GetMeasurementSnapshot(), m => MetricsAssert.NoError(m.Tags));
Interop.FunctionalTests (2)
Http2\Http2RequestTests.cs (1)
141Assert.Collection(connectionDuration.GetMeasurementSnapshot(),
Http3\Http3RequestTests.cs (1)
102Assert.Collection(connectionDuration.GetMeasurementSnapshot(),
Microsoft.AspNetCore.Analyzers.Test (4)
StartupAnalyzerTest.cs (4)
61Assert.Collection(ConfigureServicesMethods, m => Assert.Equal("ConfigureServices", m.Name)); 62Assert.Collection(ConfigureMethods, m => Assert.Equal("Configure", m.Name)); 110Assert.Collection( 114Assert.Collection(
Microsoft.AspNetCore.App.Analyzers.Test (37)
Infrastructure\WellKnownTypesTests.cs (2)
36Assert.Collection(diagnostics, d => Assert.Equal("TEST001", d.Id)); 69Assert.Collection(diagnostics, d => Assert.Equal("TEST001", d.Id));
RouteEmbeddedLanguage\FrameworkParametersCompletionProviderTests.cs (24)
33Assert.Collection( 61Assert.Collection( 89Assert.Collection( 117Assert.Collection( 147Assert.Collection( 175Assert.Collection( 203Assert.Collection( 231Assert.Collection( 259Assert.Collection( 332Assert.Collection( 357Assert.Collection( 403Assert.Collection( 427Assert.Collection( 452Assert.Collection( 529Assert.Collection( 562Assert.Collection( 658Assert.Collection( 745Assert.Collection( 799Assert.Collection( 873Assert.Collection( 933Assert.Collection( 963Assert.Collection( 993Assert.Collection( 1058Assert.Collection(
RouteEmbeddedLanguage\RoutePatternCompletionProviderTests.cs (10)
256Assert.Collection( 281Assert.Collection( 310Assert.Collection( 339Assert.Collection( 368Assert.Collection( 404Assert.Collection( 444Assert.Collection( 518Assert.Collection( 601Assert.Collection( 634Assert.Collection(
RouteEmbeddedLanguage\RoutePatternParserTests_ConformanceTests.cs (1)
577Assert.Collection(parameter.Policies, p => Assert.Equal(":" + constraint.Replace("{", "{{").Replace("}", "}}"), p));
Microsoft.AspNetCore.Components.Authorization.Tests (50)
AuthorizeRouteViewTest.cs (15)
63Assert.Collection(layoutDiff.Edits, 74Assert.Collection(pageDiff.Edits, 100Assert.Collection(layoutDiff.Edits, 111Assert.Collection(pageDiff.Edits, 115Assert.Collection(_testAuthorizationService.AuthorizeCalls, call => 138Assert.Collection(layoutDiff.Edits, 144Assert.Collection(_testAuthorizationService.AuthorizeCalls, call => 167Assert.Collection(layoutDiff.Edits, 195Assert.Collection(layoutDiff.Edits, 223Assert.Collection(layoutDiff.Edits, 237Assert.Collection(nonEmptyDiff.Edits, edit => 267Assert.Collection(layoutDiff.Edits, 289Assert.Collection(componentInstances, 318Assert.Collection(componentInstances, 354Assert.Collection(diff.Edits,
AuthorizeViewTest.cs (31)
41Assert.Collection(authorizationService.AuthorizeCalls, call => 45Assert.Collection(call.requirements, 67Assert.Collection(diff.Edits, edit => 76Assert.Collection(authorizationService.AuthorizeCalls, call => 80Assert.Collection(call.requirements, 104Assert.Collection(authorizationService.AuthorizeCalls, call => 108Assert.Collection(call.requirements, 131Assert.Collection(diff.Edits, edit => 140Assert.Collection(authorizationService.AuthorizeCalls, call => 144Assert.Collection(call.requirements, 167Assert.Collection(diff.Edits, edit => 176Assert.Collection(authorizationService.AuthorizeCalls, call => 180Assert.Collection(call.requirements, 214Assert.Collection(diff.Edits, edit => 223Assert.Collection(authorizationService.AuthorizeCalls, call => 227Assert.Collection(call.requirements, 281Assert.Collection(diff2.Edits, edit => 312Assert.Collection(diff1.Edits, edit => 330Assert.Collection(diff2.Edits, edit => 340Assert.Collection(authorizationService.AuthorizeCalls, call => 344Assert.Collection(call.requirements, 370Assert.Collection(diff1.Edits, edit => 388Assert.Collection(diff2.Edits, edit => 398Assert.Collection(authorizationService.AuthorizeCalls, call => 402Assert.Collection(call.requirements, 421Assert.Collection(authorizationService.AuthorizeCalls, call => 425Assert.Collection(call.requirements, 444Assert.Collection(authorizationService.AuthorizeCalls, call => 448Assert.Collection(call.requirements, req => Assert.Equal( 469Assert.Collection(authorizationService.AuthorizeCalls, call => 473Assert.Collection(call.requirements, req =>
CascadingAuthenticationStateTest.cs (4)
55Assert.Collection(receiveAuthStateDiff.Edits, edit => 90Assert.Collection(receiveAuthStateDiff1.Edits, edit => 108Assert.Collection(receiveAuthStateDiff2.Edits, edit => 144Assert.Collection(receiveAuthStateDiff.Edits, edit =>
Microsoft.AspNetCore.Components.Endpoints.Tests (7)
Binding\FormDataMapperTests.cs (5)
638Assert.Collection(errors, 1147Assert.Collection(errors, 1206Assert.Collection(errors, 1454Assert.Collection(errors, 1949Assert.Collection(formFileResult,
HotReloadServiceTests.cs (1)
69Assert.Collection(
RazorComponentEndpointFactoryTest.cs (1)
48Assert.Collection(methods.HttpMethods,
Microsoft.AspNetCore.Components.Server.Tests (11)
Circuits\CircuitHostTest.cs (1)
152Assert.Collection(circuitUnhandledExceptions, eventArgs =>
Circuits\RevalidatingServerAuthenticationStateProviderTest.cs (3)
111Assert.Collection(provider.RevalidationCallLog, 123Assert.Collection(provider.RevalidationCallLog.Skip(1), 177Assert.Collection(provider.RevalidationCallLog.Skip(1),
ProtectedBrowserStorageTest.cs (7)
36Assert.Collection(invocation.Args, 62Assert.Collection(invocation.Args, 86Assert.Collection(invocation.Args, 117Assert.Collection(invocation.Args, arg => Assert.Equal(keyName, arg)); 144Assert.Collection(invocation.Args, arg => Assert.Equal(keyName, arg)); 253Assert.Collection(invocation.Args, arg => Assert.Equal("testKey", arg)); 281Assert.Collection(jsRuntime.Invocations,
Microsoft.AspNetCore.Components.Tests (230)
CascadingParameterTest.cs (16)
39Assert.Collection(nestedComponentDiff.Edits, 88Assert.Collection(nestedComponentDiff.Edits, 134Assert.Collection(nestedComponentDiff.Edits, 280Assert.Collection(nestedComponentDiff.Edits, edit => 423Assert.Collection(nestedComponentDiff1.Edits, 431Assert.Collection(nestedComponentDiff2.Edits, 470Assert.Collection(diff.Edits, 506Assert.Collection(diff.Edits, 544Assert.Collection(nestedComponentDiff.Edits, 586Assert.Collection(diff.Edits, 605Assert.Collection(diff2.Edits, 621Assert.Collection(diff3.Edits, 656Assert.Collection(diff.Edits, 681Assert.Collection(nestedComponentDiff.Edits, 752Assert.Collection(firstBatch.GetComponentDiffs<SingleDeliveryParameterConsumerComponent>().Single().Edits, 776Assert.Collection(nestedComponentDiff.Edits,
LayoutViewTest.cs (13)
52Assert.Collection(frames, 71Assert.Collection(layoutViewFrames, 77Assert.Collection(rootLayoutFrames, 101Assert.Collection(layoutViewFrames, 107Assert.Collection(rootLayoutFrames, 133Assert.Collection(layoutViewFrames, 139Assert.Collection(rootLayoutFrames, 148Assert.Collection(nestedLayoutFrames, 182Assert.Collection(batch.DiffsInOrder, 188Assert.Collection(diff.Edits, edit => 224Assert.Collection(batch.DiffsInOrder, 229Assert.Collection(diff.Edits, 247Assert.Collection(diff.Edits,
ParameterViewTest.Assignment.cs (2)
354Assert.Collection( 471Assert.Collection(
ParameterViewTest.cs (6)
58Assert.Collection(ToEnumerable(parameters), 80Assert.Collection(ToEnumerable(parameters), 103Assert.Collection(ToEnumerable(parameters), 284Assert.Collection(dict, 374Assert.Collection( 398Assert.Collection(
RendererTest.cs (34)
47Assert.Collection(diff.Edits, 86Assert.Collection(nestedComponentDiff.Edits, 108Assert.Collection(firstDiff.Edits, 121Assert.Collection(secondDiff.Edits, 153Assert.Collection(firstDiff.Edits, 166Assert.Collection(secondDiff.Edits, 196Assert.Collection(diff.Edits, 211Assert.Collection(updateDiff.Edits, 290Assert.Collection(diff.Edits, edit => 306Assert.Collection(diff2.Edits, edit => 2012Assert.Collection(renderer1Diff.Edits, 2022Assert.Collection(renderer2Diff.Edits, 2059Assert.Collection(diff.Edits, 2135Assert.Collection(diff.Edits, 2173Assert.Collection(diff.Edits, 2878Assert.Collection(batch.DiffsInOrder, 2883Assert.Collection(diff.Edits, edit => 2895Assert.Collection(diff.Edits, edit => 2907Assert.Collection(diff.Edits, edit => 2986Assert.Collection(diff1.Edits, 3070Assert.Collection(newBatch.DiffsByComponentId[componentId].Single().Edits, 3294Assert.Collection(latestDiff.Edits, 4355Assert.Collection(batch2.DiffsInOrder.Single().Edits.ToArray(), edit => 4407Assert.Collection(latestBatch.DiffsInOrder.Single().Edits.ToArray(), edit => 4503Assert.Collection(componentActivator.RequestedComponentTypes, 4521Assert.Collection(componentActivator.RequestedComponentTypes, 4564Assert.Collection(componentFrames.Select(f => (TestErrorBoundary)f.Component), 4600Assert.Collection(errorBoundaries, 4640Assert.Collection(errorBoundaries, 4678Assert.Collection(errorBoundaries, 4714Assert.Collection(errorBoundaries, 4722Assert.Collection(errorBoundaries, 4763Assert.Collection(errorBoundaries, 4777Assert.Collection(errorBoundaries,
Rendering\ArrayBuilderTest.cs (1)
311Assert.Collection(
Rendering\RenderTreeBuilderTest.cs (70)
39Assert.Collection(frames.AsEnumerable(), 59Assert.Collection(frames.AsEnumerable(), 80Assert.Collection(frames.AsEnumerable(), 102Assert.Collection(frames.AsEnumerable(), 118Assert.Collection(frames.AsEnumerable(), 135Assert.Collection(frames.AsEnumerable(), 215Assert.Collection(builder.GetFrames().AsEnumerable(), 248Assert.Collection(builder.GetFrames().AsEnumerable(), 270Assert.Collection( 309Assert.Collection( 343Assert.Collection( 617Assert.Collection(builder.GetFrames().AsEnumerable(), 645Assert.Collection(builder.GetFrames().AsEnumerable(), 673Assert.Collection(builder.GetFrames().AsEnumerable(), 701Assert.Collection(builder.GetFrames().AsEnumerable(), 724Assert.Collection(builder.GetFrames().AsEnumerable(), 792Assert.Collection(builder.GetFrames().AsEnumerable(), 813Assert.Collection(builder.GetFrames().AsEnumerable(), 881Assert.Collection(builder.GetFrames().AsEnumerable(), 916Assert.Collection( 934Assert.Collection( 953Assert.Collection( 973Assert.Collection( 991Assert.Collection( 1009Assert.Collection( 1028Assert.Collection( 1048Assert.Collection( 1068Assert.Collection( 1086Assert.Collection( 1105Assert.Collection( 1123Assert.Collection( 1147Assert.Collection( 1166Assert.Collection( 1204Assert.Collection( 1223Assert.Collection( 1243Assert.Collection( 1263Assert.Collection( 1301Assert.Collection( 1340Assert.Collection( 1360Assert.Collection( 1378Assert.Collection( 1396Assert.Collection( 1415Assert.Collection( 1433Assert.Collection( 1451Assert.Collection( 1471Assert.Collection( 1491Assert.Collection( 1511Assert.Collection( 1531Assert.Collection( 1569Assert.Collection( 1588Assert.Collection( 1608Assert.Collection( 1646Assert.Collection( 1683Assert.Collection( 1703Assert.Collection( 1729Assert.Collection( 1782Assert.Collection( 1803Assert.Collection( 1826Assert.Collection( 1853Assert.Collection( 1878Assert.Collection( 1902Assert.Collection( 1925Assert.Collection( 1949Assert.Collection( 1976Assert.Collection( 2014Assert.Collection( 2094Assert.Collection( 2117Assert.Collection( 2156Assert.Collection( 2196Assert.Collection(
RenderTreeDiffBuilderTest.cs (77)
84Assert.Collection(result.Edits, 107Assert.Collection(result.Edits, 137Assert.Collection(result.Edits, 172Assert.Collection(result.Edits, 197Assert.Collection(result.Edits, 240Assert.Collection(batchBuilder.UpdatedComponents.Array[0].Edits, 282Assert.Collection(result.Edits, 314Assert.Collection(result.Edits, 343Assert.Collection(result.Edits, 375Assert.Collection(result.Edits, 462Assert.Collection(result.Edits, 493Assert.Collection(result.Edits, 517Assert.Collection(result.Edits, 547Assert.Collection(result.Edits, 569Assert.Collection(result.Edits, 589Assert.Collection(result.Edits, 619Assert.Collection(result.Edits, 639Assert.Collection(result.Edits, 669Assert.Collection(result.Edits, 699Assert.Collection(result.Edits, 715Assert.Collection(result.Edits, 733Assert.Collection(result.Edits, 761Assert.Collection(result.Edits, 797Assert.Collection(result.Edits, 848Assert.Collection(result.Edits, 873Assert.Collection(result.Edits, 898Assert.Collection(result.Edits, 928Assert.Collection(result.Edits, 956Assert.Collection(result.Edits, 988Assert.Collection( 995Assert.Collection( 1018Assert.Collection( 1026Assert.Collection( 1049Assert.Collection( 1057Assert.Collection( 1080Assert.Collection( 1087Assert.Collection( 1110Assert.Collection( 1118Assert.Collection( 1141Assert.Collection( 1149Assert.Collection( 1172Assert.Collection( 1199Assert.Collection( 1226Assert.Collection( 1253Assert.Collection( 1280Assert.Collection( 1307Assert.Collection( 1342Assert.Collection(result.Edits, 1383Assert.Collection(result.Edits, 1411Assert.Collection(result.Edits, 1436Assert.Collection(result.Edits, 1442Assert.Collection(referenceFrames, 1467Assert.Collection(result.Edits, 1501Assert.Collection(result.Edits, 1531Assert.Collection(result.Edits, 1567Assert.Collection(diff.Edits, 1858Assert.Collection(diff.Edits, edit => 1863Assert.Collection(referenceFrames, 1928Assert.Collection(diff.Edits, edit => 1933Assert.Collection(referenceFrames, 2003Assert.Collection(result.Edits, 2068Assert.Collection(result.Edits, 2089Assert.Collection(result.Edits, 2116Assert.Collection(result.Edits, 2138Assert.Collection(result.Edits, 2165Assert.Collection(result.Edits, 2185Assert.Collection(result.Edits, 2209Assert.Collection(result.Edits, 2238Assert.Collection(result.Edits, 2245Assert.Collection(batch.NamedEventChanges.Value.AsEnumerable(), 2269Assert.Collection(result.Edits, 2271Assert.Collection(batch.NamedEventChanges.Value.AsEnumerable(), 2292Assert.Collection(result.Edits, 2299Assert.Collection(batch.NamedEventChanges.Value.AsEnumerable(), 2322Assert.Collection(batch.NamedEventChanges.Value.AsEnumerable(), 2353Assert.Collection(result.Edits, 2386Assert.Collection(result.Edits,
RenderTreeUpdaterTest.cs (4)
31Assert.Collection(frames.AsEnumerable(), 59Assert.Collection(frames.AsEnumerable(), 92Assert.Collection(frames.AsEnumerable(), 147Assert.Collection(frames.AsEnumerable(),
RouteViewTest.cs (7)
63Assert.Collection(routeViewFrames, 71Assert.Collection(layoutViewFrames, 78Assert.Collection(testLayoutFrames, 88Assert.Collection(pageFrames, 113Assert.Collection(routeViewFrames, 136Assert.Collection(routeViewFrames, 160Assert.Collection(routeViewFrames,
Microsoft.AspNetCore.Components.Web.Tests (1)
Forms\EditFormTest.cs (1)
120Assert.Collection(editFormFrames.AsEnumerable(),
Microsoft.AspNetCore.Components.WebView.Test (4)
WebViewManagerTests.cs (4)
24Assert.Collection(webViewManager.SentIpcMessages, 42Assert.Collection(webViewManager.SentIpcMessages, 47Assert.Collection(webViewManager.SentIpcMessages.Skip(1), 68Assert.Collection(webViewManager.SentIpcMessages,
Microsoft.AspNetCore.Cors.Test (6)
CorsMiddlewareTests.cs (6)
200Assert.Collection( 266Assert.Collection( 487Assert.Collection( 544Assert.Collection( 622Assert.Collection( 667Assert.Collection(
Microsoft.AspNetCore.DataProtection.Tests (3)
Internal\KeyManagementOptionsSetupTest.cs (3)
34Assert.Collection( 62Assert.Collection( 69Assert.Collection(
Microsoft.AspNetCore.Diagnostics.Tests (13)
DeveloperExceptionPageMiddlewareTest.cs (2)
612Assert.Collection( 620Assert.Collection(requestExceptionCollector.GetMeasurementSnapshot(),
ExceptionHandlerMiddlewareTest.cs (8)
246Assert.Collection(diagnosticsRequestExceptionCollector.GetMeasurementSnapshot(), 268Assert.Collection(diagnosticsRequestExceptionCollector.GetMeasurementSnapshot(), 293Assert.Collection(diagnosticsRequestExceptionCollector.GetMeasurementSnapshot(), 344Assert.Collection( 353Assert.Collection(requestExceptionCollector.GetMeasurementSnapshot(), 411Assert.Collection( 420Assert.Collection(requestExceptionCollector.GetMeasurementSnapshot(), 444Assert.Collection(diagnosticsRequestExceptionCollector.GetMeasurementSnapshot(),
ExceptionHandlerTest.cs (3)
1034Assert.Collection( 1104Assert.Collection( 1166Assert.Collection(
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (18)
HttpRoutePatternParserTests.cs (16)
21Assert.Collection( 50Assert.Collection( 72Assert.Collection( 83Assert.Collection( 93Assert.Collection( 112Assert.Collection( 122Assert.Collection( 133Assert.Collection( 145Assert.Collection( 164Assert.Collection( 183Assert.Collection( 202Assert.Collection( 222Assert.Collection( 243Assert.Collection( 263Assert.Collection( 286Assert.Collection(
UnaryServerCallHandlerTests.cs (2)
937Assert.Collection(details, 1015Assert.Collection(details,
Microsoft.AspNetCore.Grpc.Swagger.Tests (4)
Binding\ResponseBodyTests.cs (1)
68Assert.Collection(enumValues,
SchemaGeneratorIntegrationTests.cs (2)
48Assert.Collection(enumValues, 68Assert.Collection(enumValues,
XmlComments\XmlDocumentationIntegrationTests.cs (1)
119Assert.Collection(path.Operations[OperationType.Get].Parameters,
Microsoft.AspNetCore.Hosting.Tests (25)
HostingApplicationDiagnosticsTests.cs (17)
85Assert.Collection(activeRequestsCollector1.GetMeasurementSnapshot(), 88Assert.Collection(activeRequestsCollector2.GetMeasurementSnapshot(), 91Assert.Collection(requestDurationCollector1.GetMeasurementSnapshot(), 93Assert.Collection(requestDurationCollector2.GetMeasurementSnapshot(), 119Assert.Collection(activeRequestsCollector1.GetMeasurementSnapshot(), 124Assert.Collection(activeRequestsCollector2.GetMeasurementSnapshot(), 129Assert.Collection(requestDurationCollector1.GetMeasurementSnapshot(), 132Assert.Collection(requestDurationCollector2.GetMeasurementSnapshot(), 255Assert.Collection(activeRequestsCollector.GetMeasurementSnapshot(), 271Assert.Collection(activeRequestsCollector.GetMeasurementSnapshot(), 314Assert.Collection(activeRequestsCollector.GetMeasurementSnapshot(), 330Assert.Collection(activeRequestsCollector.GetMeasurementSnapshot(), 343Assert.Collection(requestDurationCollector.GetMeasurementSnapshot(), 374Assert.Collection(activeRequestsCollector.GetMeasurementSnapshot(), 390Assert.Collection(activeRequestsCollector.GetMeasurementSnapshot(), 429Assert.Collection(activeRequestsCollector.GetMeasurementSnapshot(), 445Assert.Collection(activeRequestsCollector.GetMeasurementSnapshot(),
HostingMetricsTests.cs (8)
41Assert.Collection(activeRequestsCollector.GetMeasurementSnapshot(), 44Assert.Collection(requestDurationCollector.GetMeasurementSnapshot(), 53Assert.Collection(activeRequestsCollector.GetMeasurementSnapshot(), 58Assert.Collection(requestDurationCollector.GetMeasurementSnapshot(), 68Assert.Collection(activeRequestsCollector.GetMeasurementSnapshot(), 74Assert.Collection(requestDurationCollector.GetMeasurementSnapshot(), 80Assert.Collection(activeRequestsCollector.GetMeasurementSnapshot(), 87Assert.Collection(requestDurationCollector.GetMeasurementSnapshot(),
Microsoft.AspNetCore.Html.Abstractions.Tests (12)
HtmlContentBuilderExtensionsTest.cs (7)
23Assert.Collection( 38Assert.Collection( 55Assert.Collection( 71Assert.Collection( 88Assert.Collection( 106Assert.Collection( 122Assert.Collection(
HtmlContentBuilderTest.cs (5)
89Assert.Collection( 128Assert.Collection( 156Assert.Collection( 180Assert.Collection( 208Assert.Collection(
Microsoft.AspNetCore.Http.Abstractions.Tests (51)
EndpointMetadataCollectionTests.cs (2)
24Assert.Collection(metadata, 39Assert.Collection(metadata,
HttpValidationProblemDetailsJsonConverterTest.cs (6)
71Assert.Collection( 78Assert.Collection( 112Assert.Collection( 119Assert.Collection( 151Assert.Collection( 158Assert.Collection(
ProblemDetailsJsonConverterTest.cs (4)
55Assert.Collection( 86Assert.Collection( 118Assert.Collection( 148Assert.Collection(
RouteValueDictionaryTests.cs (39)
123Assert.Collection( 145Assert.Collection( 197Assert.Collection( 214Assert.Collection( 240Assert.Collection( 292Assert.Collection( 320Assert.Collection( 373Assert.Collection( 391Assert.Collection( 580Assert.Collection(dict, kvp => { Assert.Equal("key", kvp.Key); Assert.Equal("value", kvp.Value); }); 594Assert.Collection( 611Assert.Collection(dict, kvp => { Assert.Equal("key", kvp.Key); Assert.Equal("value", kvp.Value); }); 625Assert.Collection(dict, kvp => { Assert.Equal("kEy", kvp.Key); Assert.Equal("value", kvp.Value); }); 642Assert.Collection( 662Assert.Collection(dict, kvp => { Assert.Equal("key", kvp.Key); Assert.Equal("value", kvp.Value); }); 679Assert.Collection(dict, kvp => { Assert.Equal("key", kvp.Key); Assert.Equal("value", kvp.Value); }); 827Assert.Collection(dict, kvp => { Assert.Equal("key", kvp.Key); Assert.Equal("value", kvp.Value); }); 854Assert.Collection( 861Assert.Collection( 882Assert.Collection( 904Assert.Collection( 925Assert.Collection( 944Assert.Collection( 1104Assert.Collection( 1124Assert.Collection( 1144Assert.Collection( 1165Assert.Collection( 1373Assert.Collection(dict, kvp => { Assert.Equal("key", kvp.Key); Assert.Equal("value", kvp.Value); }); 1394Assert.Collection(dict, kvp => { Assert.Equal("key", kvp.Key); Assert.Equal("value", kvp.Value); }); 1450Assert.Collection(dict, kvp => { Assert.Equal("key", kvp.Key); Assert.Equal("value", kvp.Value); }); 1498Assert.Collection(dict, kvp => { Assert.Equal("key", kvp.Key); Assert.Equal("value", kvp.Value); }); 1594Assert.Collection(dict, kvp => { Assert.Equal("key", kvp.Key); Assert.Equal("value", kvp.Value); }); 1647Assert.Collection(dict, kvp => { Assert.Equal("key", kvp.Key); Assert.Equal("value", kvp.Value); }); 1791Assert.Collection( 1812Assert.Collection( 1828Assert.Collection( 1850Assert.Collection( 1875Assert.Collection( 1901Assert.Collection(
Microsoft.AspNetCore.Http.Connections.Tests (19)
HttpConnectionDispatcherTests.cs (2)
1122Assert.Collection(connectionDuration.GetMeasurementSnapshot(), m => AssertDuration(m, "normal_closure", "long_polling")); 1123Assert.Collection(currentConnections.GetMeasurementSnapshot(), m => AssertTransport(m, 1, "long_polling"), m => AssertTransport(m, -1, "long_polling"));
Internal\HttpConnectionsEventSourceTests.cs (3)
47Assert.Collection(eventData.Payload, 74Assert.Collection(eventData.Payload, 101Assert.Collection(eventData.Payload,
MapConnectionHandlerTests.cs (14)
47Assert.Collection(dataSource.Endpoints, 84Assert.Collection(dataSource.Endpoints, 111Assert.Collection(dataSource.Endpoints, 139Assert.Collection(dataSource.Endpoints, 170Assert.Collection(dataSource.Endpoints, 199Assert.Collection(dataSource.Endpoints, 229Assert.Collection(dataSource.Endpoints, 261Assert.Collection(dataSource.Endpoints, 265Assert.Collection(endpoint.Metadata.GetOrderedMetadata<IAuthorizeData>(), 275Assert.Collection(endpoint.Metadata.GetOrderedMetadata<IAuthorizeData>(), 299Assert.Collection(dataSource.Endpoints, 335Assert.Collection(dataSource.Endpoints, 369Assert.Collection(dataSource.Endpoints, 417Assert.Collection(dataSource.Endpoints,
Microsoft.AspNetCore.Http.Extensions.Tests (20)
HttpRequestJsonExtensionsTests.cs (5)
95Assert.Collection(result, 113Assert.Collection(result, 227Assert.Collection(result, 249Assert.Collection(result, 272Assert.Collection(result,
HttpResponseJsonExtensionsTests.cs (2)
36Assert.Collection(data, b => Assert.Equal((byte)'1', b)); 177Assert.Collection(data, b => Assert.Equal((byte)'1', b));
ProblemDetailsDefaultWriterTest.cs (2)
481Assert.Collection(problemDetails.Extensions, 529Assert.Collection(problemDetails.Extensions,
RequestDelegateFactoryTests.cs (2)
2568Assert.Collection(result.EndpointMetadata, 2818Assert.Collection(result.EndpointMetadata,
RequestDelegateGenerator\CompileTimeIncrementalityTests.cs (4)
22Assert.Collection(outputSteps, 39Assert.Collection(outputSteps, 56Assert.Collection(outputSteps, 77Assert.Collection(outputSteps,
RequestDelegateGenerator\RequestDelegateCreationTests.Forms.cs (4)
559Assert.Collection(formArgument!, 606Assert.Collection(formArgument!, 844Assert.Collection(formArgument!, 852Assert.Collection(allAcceptsMetadata,
RequestDelegateGenerator\RequestDelegateCreationTests.Metadata.cs (1)
530Assert.Collection(filteredMetadata,
Microsoft.AspNetCore.InternalTesting (3)
Tracing\EventAssert.cs (3)
28Assert.Collection( 59Assert.Collection(evt.PayloadNames, _payloadAsserters.Select(CreateNameAsserter).ToArray()); 60Assert.Collection(evt.Payload, _payloadAsserters.Select(t => t.asserter).ToArray());
Microsoft.AspNetCore.Localization.Tests (4)
RequestLocalizationOptionsTest.cs (4)
65Assert.Collection(options.SupportedCultures, item => Assert.Equal(CultureInfo.CurrentCulture, item)); 66Assert.Collection(options.SupportedUICultures, item => Assert.Equal(CultureInfo.CurrentUICulture, item)); 81Assert.Collection(options.SupportedCultures, item => Assert.Equal(explicitCulture, item)); 82Assert.Collection(options.SupportedUICultures, item => Assert.Equal(explicitCulture, item));
Microsoft.AspNetCore.Mvc.Abstractions.Test (7)
ModelBinding\ModelStateDictionaryTest.cs (7)
573Assert.Collection(item.Errors, 606Assert.Collection(item.Errors, 1410Assert.Collection( 1442Assert.Collection(entry.Value.Errors, 1457Assert.Collection(modelStateDictionary, 1534Assert.Collection(dictionary.Values, 1561Assert.Collection(
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (57)
ApiResponseTypeProviderTest.cs (40)
35Assert.Collection( 42Assert.Collection( 100Assert.Collection( 107Assert.Collection( 120Assert.Collection( 158Assert.Collection( 165Assert.Collection( 209Assert.Collection( 216Assert.Collection( 248Assert.Collection( 254Assert.Collection( 263Assert.Collection( 304Assert.Collection( 311Assert.Collection( 347Assert.Collection( 353Assert.Collection( 362Assert.Collection( 371Assert.Collection( 399Assert.Collection( 405Assert.Collection( 413Assert.Collection( 442Assert.Collection( 448Assert.Collection( 456Assert.Collection( 465Assert.Collection( 493Assert.Collection( 499Assert.Collection( 539Assert.Collection( 552Assert.Collection( 585Assert.Collection( 591Assert.Collection( 600Assert.Collection( 609Assert.Collection( 635Assert.Collection( 642Assert.Collection( 665Assert.Collection( 672Assert.Collection( 691Assert.Collection( 698Assert.Collection( 724Assert.Collection(
DefaultApiDescriptionProviderTest.cs (8)
701Assert.Collection( 811Assert.Collection( 874Assert.Collection( 944Assert.Collection( 1014Assert.Collection( 1233Assert.Collection( 1257Assert.Collection( 1275Assert.Collection(
EndpointMetadataApiDescriptionProviderTest.cs (9)
651Assert.Collection( 703Assert.Collection(apiDescription.ParameterDescriptions, 733Assert.Collection(apiDescription.ParameterDescriptions, 926Assert.Collection( 976Assert.Collection( 1013Assert.Collection( 1076Assert.Collection( 1381Assert.Collection(apiDescription.ParameterDescriptions, 1420Assert.Collection(parameter.RouteInfo.Constraints,
Microsoft.AspNetCore.Mvc.Core.Test (206)
ActionConstraints\ActionConstraintCacheTest.cs (6)
36Assert.Collection( 46Assert.Collection( 73Assert.Collection( 83Assert.Collection( 110Assert.Collection( 120Assert.Collection(
ApiExplorer\ApiConventionResultTest.cs (7)
41Assert.Collection( 81Assert.Collection( 106Assert.Collection( 126Assert.Collection( 149Assert.Collection( 173Assert.Collection( 197Assert.Collection(
ApplicationModels\ApiBehaviorApplicationModelProviderTest.cs (1)
133Assert.Collection(
ApplicationModels\ControllerActionDescriptorProviderTests.cs (4)
265Assert.Collection(anonymousAction.EndpointMetadata, 273Assert.Collection(authorizeAction.EndpointMetadata, 290Assert.Collection(action.EndpointMetadata, 314Assert.Collection(actions,
ApplicationModels\DefaultApplicationModelProviderTest.cs (7)
54Assert.Collection( 76Assert.Collection( 128Assert.Collection( 181Assert.Collection( 225Assert.Collection( 273Assert.Collection( 301Assert.Collection(
ApplicationModels\EndpointMetadataProviderTest.cs (5)
48Assert.Collection(endpoints, 70Assert.Collection(endpoints, 92Assert.Collection(endpoints, 119Assert.Collection( 210Assert.Collection(endpoints,
ApplicationModels\InferParameterBindingInfoConventionTest.cs (4)
122Assert.Collection( 156Assert.Collection( 182Assert.Collection( 208Assert.Collection(
Builder\MvcAreaRouteBuilderExtensionsTest.cs (14)
28Assert.Collection( 36Assert.Collection( 63Assert.Collection( 71Assert.Collection( 104Assert.Collection( 117Assert.Collection( 151Assert.Collection( 163Assert.Collection( 170Assert.Collection( 204Assert.Collection( 211Assert.Collection( 218Assert.Collection( 242Assert.Collection( 260Assert.Collection(
ConsumesAttributeTests.cs (1)
397Assert.Collection(
ControllerBaseTest.cs (5)
1047Assert.Collection( 1092Assert.Collection( 1150Assert.Collection( 1197Assert.Collection( 3186Assert.Collection(result.RouteValues,
Filters\FilterFactoryTest.cs (5)
43Assert.Collection(filterResult.CacheableFilters, 70Assert.Collection( 82Assert.Collection( 107Assert.Collection( 137Assert.Collection(
Formatters\InputFormatterTest.cs (3)
344Assert.Collection(results, c => Assert.Equal("text/xml", c)); 359Assert.Collection( 377Assert.Collection(results, c => Assert.Equal("text/xml", c));
Formatters\JsonInputFormatterTestBase.cs (9)
147Assert.Collection( 174Assert.Collection( 202Assert.Collection( 326Assert.Collection(formatterContext.ModelState.OrderBy(k => k.Key), 352Assert.Collection(formatterContext.ModelState.OrderBy(k => k.Key), 379Assert.Collection(formatterContext.ModelState.OrderBy(k => k.Key), 404Assert.Collection( 486Assert.Collection(formatterContext.ModelState.OrderBy(k => k.Key), 510Assert.Collection(
Formatters\SystemTextJsonInputFormatterTest.cs (1)
79Assert.Collection(
Infrastructure\ActionSelectorTest.cs (2)
62Assert.Collection(candidates, (a) => Assert.Same(actions[0], a)); 105Assert.Collection(candidates, (a) => Assert.Same(actions[0], a));
Infrastructure\ControllerActionInvokerTest.cs (1)
1580Assert.Collection(
Infrastructure\DefaultActionDescriptorCollectionProviderTest.cs (4)
34Assert.Collection( 115Assert.Collection(collection1.Items, 137Assert.Collection(collection2.Items, 154Assert.Collection(collection3.Items,
Infrastructure\ProblemDetailsFactoryTest.cs (9)
27Assert.Collection( 48Assert.Collection( 71Assert.Collection( 94Assert.Collection( 101Assert.Collection( 124Assert.Collection( 131Assert.Collection( 156Assert.Collection( 163Assert.Collection(
Infrastructure\ValidationProblemDetailsJsonConverterTest.cs (6)
37Assert.Collection( 44Assert.Collection( 77Assert.Collection( 84Assert.Collection( 115Assert.Collection( 122Assert.Collection(
ModelBinding\Binders\BodyModelBinderTests.cs (1)
641Assert.Collection(
ModelBinding\DefaultModelBindingContextTest.cs (3)
80Assert.Collection( 108Assert.Collection( 137Assert.Collection(
ModelBinding\FormFileValueProviderFactoryTest.cs (1)
55Assert.Collection(
ModelBinding\Metadata\DefaultBindingMetadataProviderTest.cs (4)
402Assert.Collection(context.Attributes, 744Assert.Collection( 810Assert.Collection( 841Assert.Collection(
ModelBinding\Metadata\DefaultModelMetadataProviderTest.cs (10)
70Assert.Collection( 232Assert.Collection( 282Assert.Collection( 288Assert.Collection( 295Assert.Collection( 304Assert.Collection( 366Assert.Collection( 372Assert.Collection( 379Assert.Collection( 388Assert.Collection(
ModelBinding\Metadata\ModelAttributesTest.cs (8)
205Assert.Collection( 210Assert.Collection( 215Assert.Collection( 233Assert.Collection(attributes.Attributes, 253Assert.Collection( 260Assert.Collection( 277Assert.Collection( 284Assert.Collection(
ModelBinding\ModelBindingHelperTest.cs (1)
1304Assert.Collection(
ModelBinding\ParameterBinderTest.cs (6)
348Assert.Collection( 403Assert.Collection( 458Assert.Collection( 512Assert.Collection( 570Assert.Collection( 631Assert.Collection(
ModelBinding\PrefixContainerTest.cs (3)
210Assert.Collection(result.OrderBy(k => k.Key, StringComparer.OrdinalIgnoreCase), 253Assert.Collection(result.OrderBy(k => k.Key, StringComparer.OrdinalIgnoreCase), 287Assert.Collection(result.OrderBy(k => k.Key, StringComparer.OrdinalIgnoreCase),
ModelBinding\Validation\DefaultCollectionValidationStrategyTest.cs (3)
23Assert.Collection( 63Assert.Collection( 98Assert.Collection(
ModelBinding\Validation\DefaultComplexObjectValidationStrategyTest.cs (4)
30Assert.Collection( 70Assert.Collection( 104Assert.Collection( 139Assert.Collection(
ModelBinding\Validation\DefaultObjectValidatorTests.cs (5)
413Assert.Collection( 447Assert.Collection( 534Assert.Collection( 959Assert.Collection( 1243Assert.Collection(
ModelBinding\Validation\ExplicitIndexCollectionValidationStrategyTest.cs (5)
23Assert.Collection( 63Assert.Collection( 98Assert.Collection( 134Assert.Collection( 164Assert.Collection(
ModelBinding\Validation\ShortFormDictionaryValidationStrategyTest.cs (3)
34Assert.Collection( 81Assert.Collection( 122Assert.Collection(
RedirectToPageResultTest.cs (4)
112Assert.Collection(Assert.IsType<RouteValueDictionary>(context.Values), 166Assert.Collection(Assert.IsType<RouteValueDictionary>(context.Values), 228Assert.Collection(Assert.IsType<RouteValueDictionary>(context.Values), 279Assert.Collection(Assert.IsType<RouteValueDictionary>(context.Values),
Routing\ActionEndpointDataSourceBaseTest.cs (3)
59Assert.Collection( 95Assert.Collection(endpoints, 117Assert.Collection(newEndpoints,
Routing\ActionEndpointFactoryTest.cs (1)
342Assert.Collection(
Routing\AttributeRouteTest.cs (13)
142Assert.Collection( 186Assert.Collection( 230Assert.Collection( 291Assert.Collection( 345Assert.Collection( 388Assert.Collection( 431Assert.Collection( 440Assert.Collection( 493Assert.Collection( 582Assert.Collection( 638Assert.Collection( 694Assert.Collection( 750Assert.Collection(
Routing\ControllerActionEndpointDataSourceTest.cs (11)
90Assert.Collection( 103Assert.Collection( 172Assert.Collection( 187Assert.Collection( 259Assert.Collection( 272Assert.Collection( 341Assert.Collection( 356Assert.Collection( 435Assert.Collection( 452Assert.Collection( 525Assert.Collection(
Routing\DynamicControllerEndpointMatcherPolicyTest.cs (3)
190Assert.Collection( 268Assert.Collection( 368Assert.Collection(
Routing\UrlHelperExtensionsTest.cs (17)
41Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.Values), 89Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.Values), 121Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.Values), 153Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.Values), 185Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.Values), 235Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.Values), 284Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.Values), 327Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.Values), 375Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.Values), 418Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.Values), 453Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.Values), 480Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.Values), 524Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.Values), 587Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.Values).OrderBy(v => v.Key), 743Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.Values), 791Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.Values), 839Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.Values),
ValidationProblemDetailsTest.cs (3)
36Assert.Collection( 66Assert.Collection( 90Assert.Collection(
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (36)
CompareAttributeAdapterTest.cs (6)
39Assert.Collection( 82Assert.Collection( 117Assert.Collection( 154Assert.Collection( 194Assert.Collection( 231Assert.Collection(
DataAnnotationsMetadataProviderTest.cs (1)
286Assert.Collection(context.DisplayMetadata.EnumGroupedDisplayNamesAndValues, (e) =>
FileExtensionsAttributeAdapterTest.cs (4)
39Assert.Collection( 90Assert.Collection( 125Assert.Collection( 154Assert.Collection(
MaxLengthAttributeAdapterTest.cs (5)
42Assert.Collection( 69Assert.Collection( 98Assert.Collection( 131Assert.Collection( 162Assert.Collection(
MinLengthAttributeAdapterTest.cs (4)
42Assert.Collection( 69Assert.Collection( 97Assert.Collection( 127Assert.Collection(
NumericClientModelValidatorTest.cs (5)
32Assert.Collection( 64Assert.Collection( 96Assert.Collection( 122Assert.Collection( 148Assert.Collection(
RangeAttributeAdapterTest.cs (3)
36Assert.Collection( 72Assert.Collection( 105Assert.Collection(
RequiredAttributeAdapterTest.cs (3)
43Assert.Collection( 68Assert.Collection( 96Assert.Collection(
StringLengthAttributeAdapterTest.cs (5)
43Assert.Collection( 70Assert.Collection( 97Assert.Collection( 125Assert.Collection( 156Assert.Collection(
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (5)
ProblemDetailsWrapperTest.cs (1)
37Assert.Collection(
SerializableErrorWrapperTests.cs (1)
71Assert.Collection(
ValidationProblemDetailsWrapperTest.cs (3)
41Assert.Collection( 54Assert.Collection( 97Assert.Collection(
Microsoft.AspNetCore.Mvc.FunctionalTests (37)
ApiBehaviorTest.cs (5)
73Assert.Collection( 89Assert.Collection( 307Assert.Collection( 369Assert.Collection( 377Assert.Collection(
ApiExplorerTest.cs (16)
750Assert.Collection( 787Assert.Collection( 822Assert.Collection( 902Assert.Collection( 1117Assert.Collection( 1149Assert.Collection( 1245Assert.Collection( 1274Assert.Collection( 1308Assert.Collection( 1334Assert.Collection( 1365Assert.Collection( 1400Assert.Collection( 1435Assert.Collection( 1475Assert.Collection( 1516Assert.Collection( 1545Assert.Collection(
BasicTests.cs (2)
631Assert.Collection( 657Assert.Collection(
CorsTestsBase.cs (1)
132Assert.Collection(
HtmlGenerationTest.cs (1)
798Assert.Collection(
InputFormatterTests.cs (5)
108Assert.Collection( 140Assert.Collection( 172Assert.Collection( 191Assert.Collection( 209Assert.Collection(
InputObjectValidationTests.cs (3)
302Assert.Collection( 331Assert.Collection( 363Assert.Collection(
JsonInputFormatterTestBase.cs (1)
162Assert.Collection(
LinkParserTest.cs (2)
46Assert.Collection( 76Assert.Collection(
RazorPagesTest.cs (1)
827Assert.Collection(
Microsoft.AspNetCore.Mvc.IntegrationTests (75)
ArrayModelBinderIntegrationTest.cs (1)
365Assert.Collection(
CollectionModelBinderIntegrationTest.cs (5)
1033Assert.Collection( 1156Assert.Collection( 1161Assert.Collection( 1205Assert.Collection( 1210Assert.Collection(
ComplexRecordIntegrationTest.cs (14)
1418Assert.Collection( 1423Assert.Collection( 1437Assert.Collection( 1525Assert.Collection( 1530Assert.Collection( 1544Assert.Collection( 1632Assert.Collection( 1637Assert.Collection( 1651Assert.Collection( 1855Assert.Collection( 3076Assert.Collection( 3082Assert.Collection( 3207Assert.Collection( 3267Assert.Collection(
ComplexTypeIntegrationTestBase.cs (14)
1454Assert.Collection( 1459Assert.Collection( 1473Assert.Collection( 1561Assert.Collection( 1566Assert.Collection( 1580Assert.Collection( 1668Assert.Collection( 1673Assert.Collection( 1687Assert.Collection( 1995Assert.Collection( 3291Assert.Collection( 3297Assert.Collection( 3429Assert.Collection( 3496Assert.Collection(
DictionaryModelBinderIntegrationTest.cs (6)
1256Assert.Collection( 1264Assert.Collection( 1310Assert.Collection( 1327Assert.Collection( 1463Assert.Collection( 1480Assert.Collection(
FormFileModelBindingIntegrationTest.cs (17)
113Assert.Collection( 164Assert.Collection( 227Assert.Collection( 317Assert.Collection( 383Assert.Collection( 445Assert.Collection( 789Assert.Collection( 854Assert.Collection( 954Assert.Collection( 959Assert.Collection( 1070Assert.Collection( 1074Assert.Collection( 1080Assert.Collection( 1169Assert.Collection( 1173Assert.Collection( 1179Assert.Collection( 1230Assert.Collection(
HeaderModelBinderIntegrationTest.cs (1)
359Assert.Collection(
NullableReferenceTypeIntegrationTest.cs (3)
49Assert.Collection( 136Assert.Collection( 191Assert.Collection(
TryUpdateModelIntegrationTest.cs (5)
137Assert.Collection( 568Assert.Collection( 615Assert.Collection( 737Assert.Collection( 1251Assert.Collection(
ValidationIntegrationTests.cs (5)
1373Assert.Collection( 1637Assert.Collection( 2232Assert.Collection( 2279Assert.Collection( 2550Assert.Collection(
ValidationWithRecordIntegrationTests.cs (4)
1217Assert.Collection( 1445Assert.Collection( 2023Assert.Collection( 2070Assert.Collection(
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (11)
JsonPatchOperationsArrayProviderTests.cs (1)
42Assert.Collection(apiDescription.ParameterDescriptions,
NewtonsoftJsonInputFormatterTest.cs (1)
271Assert.Collection(
src\Mvc\Mvc.Core\test\Formatters\JsonInputFormatterTestBase.cs (9)
147Assert.Collection( 174Assert.Collection( 202Assert.Collection( 326Assert.Collection(formatterContext.ModelState.OrderBy(k => k.Key), 352Assert.Collection(formatterContext.ModelState.OrderBy(k => k.Key), 379Assert.Collection(formatterContext.ModelState.OrderBy(k => k.Key), 404Assert.Collection( 486Assert.Collection(formatterContext.ModelState.OrderBy(k => k.Key), 510Assert.Collection(
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (15)
CompilerFailedExceptionFactoryTest.cs (11)
36Assert.Collection(orderedMessages, 63Assert.Collection( 131Assert.Collection( 136Assert.Collection(failure.Messages, 146Assert.Collection(failure.Messages, 176Assert.Collection(result.CompilationFailures, 181Assert.Collection(failure.Messages, 214Assert.Collection(failure.Messages, 266Assert.Collection(compilationResult.CompilationFailures, 271Assert.Collection(failure.Messages, 295Assert.Collection(failure.Messages,
CSharpCompilerTest.cs (1)
98Assert.Collection(compilationOptions.SpecificDiagnosticOptions.OrderBy(d => d.Key),
FileProviderRazorProjectFileSystemTest.cs (3)
47Assert.Collection( 99Assert.Collection(razorFiles.OrderBy(f => f.FilePath), 164Assert.Collection(razorFiles.OrderBy(f => f.FilePath),
Microsoft.AspNetCore.Mvc.Razor.Test (1)
ApplicationParts\RazorCompiledItemFeatureProviderTest.cs (1)
137Assert.Collection(
Microsoft.AspNetCore.Mvc.RazorPages.Test (141)
ApplicationModels\CompiledPageActionDescriptorBuilderTest.cs (5)
170Assert.Collection( 231Assert.Collection( 284Assert.Collection( 332Assert.Collection( 381Assert.Collection(
ApplicationModels\CompiledPageRouteModelProviderTest.cs (32)
36Assert.Collection( 42Assert.Collection( 45Assert.Collection( 57Assert.Collection( 60Assert.Collection( 98Assert.Collection( 104Assert.Collection( 107Assert.Collection( 124Assert.Collection(result.Selectors, 127Assert.Collection( 144Assert.Collection( 147Assert.Collection( 186Assert.Collection( 192Assert.Collection( 195Assert.Collection( 212Assert.Collection( 215Assert.Collection( 246Assert.Collection( 252Assert.Collection( 261Assert.Collection( 288Assert.Collection( 294Assert.Collection( 303Assert.Collection( 333Assert.Collection( 339Assert.Collection( 347Assert.Collection( 377Assert.Collection( 408Assert.Collection( 414Assert.Collection( 417Assert.Collection( 429Assert.Collection( 432Assert.Collection(
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (18)
147Assert.Collection( 200Assert.Collection( 243Assert.Collection( 297Assert.Collection( 340Assert.Collection( 382Assert.Collection( 429Assert.Collection( 587Assert.Collection( 631Assert.Collection( 636Assert.Collection( 681Assert.Collection( 783Assert.Collection( 813Assert.Collection( 841Assert.Collection( 871Assert.Collection( 908Assert.Collection( 949Assert.Collection( 982Assert.Collection(
ApplicationModels\PageConventionCollectionTest.cs (2)
90Assert.Collection( 110Assert.Collection(
ApplicationModels\PageRouteModelFactoryTest.cs (10)
27Assert.Collection( 31Assert.Collection( 55Assert.Collection( 60Assert.Collection( 84Assert.Collection( 88Assert.Collection( 113Assert.Collection( 117Assert.Collection( 147Assert.Collection( 152Assert.Collection(
DependencyInjection\MvcRazorPagesMvcBuilderExtensionsTest.cs (1)
35Assert.Collection(
DependencyInjection\PageConventionCollectionExtensionsTest.cs (37)
36Assert.Collection(models, 60Assert.Collection(models, 95Assert.Collection(models, 126Assert.Collection(models, 152Assert.Collection(models, 181Assert.Collection(models, 186Assert.Collection(model.EndpointMetadata, 193Assert.Collection(model.EndpointMetadata, 200Assert.Collection(model.EndpointMetadata, 226Assert.Collection(models, 266Assert.Collection(models, 271Assert.Collection(model.EndpointMetadata, 278Assert.Collection(model.EndpointMetadata, 286Assert.Collection(model.EndpointMetadata, 312Assert.Collection(models, 351Assert.Collection(models, 388Assert.Collection(models, 421Assert.Collection(models, 450Assert.Collection(models, 478Assert.Collection(models, 505Assert.Collection(models, 532Assert.Collection(models, 559Assert.Collection(models, 587Assert.Collection(models, 616Assert.Collection(models, 647Assert.Collection(models, 684Assert.Collection(models, 721Assert.Collection(models, 760Assert.Collection(models, 799Assert.Collection(models, 838Assert.Collection(models, 887Assert.Collection(models, 891Assert.Collection(model.Selectors, 911Assert.Collection(model.Selectors, 948Assert.Collection(models, 952Assert.Collection(model.Selectors, 962Assert.Collection(model.Selectors,
DependencyInjection\RazorPagesRazorViewEngineOptionsSetupTest.cs (1)
178Assert.Collection(
Filters\AutoValidateAntiforgeryPageApplicationModelProviderTest.cs (3)
33Assert.Collection( 58Assert.Collection( 83Assert.Collection(
Filters\PageSaveTempDataPropertyFilterTest.cs (1)
181Assert.Collection(
Filters\PageViewDataAttributeFilterTest.cs (1)
78Assert.Collection(
Infrastructure\DynamicPageEndpointMatcherPolicyTest.cs (3)
206Assert.Collection( 247Assert.Collection( 374Assert.Collection(
Infrastructure\PageActionDescriptorProviderTest.cs (4)
102Assert.Collection( 152Assert.Collection( 283Assert.Collection(context.Results, 327Assert.Collection(context.Results,
Infrastructure\PageActionEndpointDataSourceTest.cs (4)
83Assert.Collection( 153Assert.Collection( 203Assert.Collection( 251Assert.Collection(
Infrastructure\PageActionInvokerTest.cs (1)
1418Assert.Collection(
Infrastructure\PageBinderFactoryTest.cs (3)
567Assert.Collection( 609Assert.Collection( 697Assert.Collection(
PageModelTest.cs (6)
1001Assert.Collection( 1041Assert.Collection( 1086Assert.Collection( 1144Assert.Collection( 1170Assert.Collection( 1217Assert.Collection(
PageTest.cs (6)
1075Assert.Collection( 1115Assert.Collection( 1160Assert.Collection( 1218Assert.Collection( 1244Assert.Collection( 1291Assert.Collection(
src\Mvc\Mvc.Core\test\Routing\ActionEndpointDataSourceBaseTest.cs (3)
59Assert.Collection( 95Assert.Collection(endpoints, 117Assert.Collection(newEndpoints,
Microsoft.AspNetCore.Mvc.TagHelpers.Test (18)
AnchorTagHelperTest.cs (1)
451Assert.Collection(rvd.OrderBy(item => item.Key),
FormActionTagHelperTest.cs (3)
69Assert.Collection( 143Assert.Collection( 461Assert.Collection(
FormTagHelperTest.cs (1)
929Assert.Collection(
GlobbingUrlBuilderTest.cs (10)
29Assert.Collection(urlList, url => Assert.Equal("/site.css", url)); 45Assert.Collection(urlList, 219Assert.Collection(urlList, collectionAssertions.ToArray()); 240Assert.Collection(urlList, 262Assert.Collection(actual, 292Assert.Collection(urlList, 378Assert.Collection(includePatterns, pattern => Assert.Equal("**/*.css", pattern)); 379Assert.Collection(excludePatterns, pattern => Assert.Equal("**/*.min.css", pattern)); 406Assert.Collection(includePatterns, pattern => Assert.Equal($"{prefix}**/*.css", pattern)); 407Assert.Collection(excludePatterns, pattern => Assert.Equal($"{prefix}**/*.min.css", pattern));
JavaScriptResourcesTest.cs (1)
42Assert.Collection(cache, kvp =>
ValidationMessageTagHelperTest.cs (1)
177Assert.Collection(output.Attributes,
ValidationSummaryTagHelperTest.cs (1)
442Assert.Collection(
Microsoft.AspNetCore.Mvc.Test (4)
MvcOptionsSetupTest.cs (4)
46Assert.Collection( 76Assert.Collection(valueProviders, 91Assert.Collection(options.OutputFormatters, 105Assert.Collection(
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (43)
AttributeDictionaryTest.cs (12)
21Assert.Collection( 41Assert.Collection( 164Assert.Collection( 200Assert.Collection( 223Assert.Collection( 245Assert.Collection( 268Assert.Collection( 290Assert.Collection( 352Assert.Collection( 405Assert.Collection( 427Assert.Collection( 450Assert.Collection(
Buffers\PagedCharBufferTest.cs (8)
39Assert.Collection(buffer.Pages, 102Assert.Collection(buffer.Pages, 162Assert.Collection( 224Assert.Collection( 253Assert.Collection( 308Assert.Collection(buffer.Pages, 374Assert.Collection( 403Assert.Collection(
Buffers\ViewBufferTest.cs (2)
97Assert.Collection(new[] { buffer[0], buffer[1] }, 129Assert.Collection(new[] { buffer[0], buffer[1], buffer[2] },
DefaultValidationHtmlAttributeProviderTest.cs (3)
41Assert.Collection( 77Assert.Collection( 176Assert.Collection(
Filters\AntiforgeryApplicationModelProviderTest.cs (1)
112Assert.Collection(controller.Actions,
Filters\ControllerSaveTempDataPropertyFilterTest.cs (1)
185Assert.Collection(
Filters\ControllerViewDataAttributeFilterTest.cs (1)
73Assert.Collection(
RemoteAttributeBaseTest.cs (8)
157Assert.Collection( 192Assert.Collection( 232Assert.Collection( 280Assert.Collection( 323Assert.Collection( 364Assert.Collection( 417Assert.Collection( 451Assert.Collection(
RemoteAttributeTest.cs (1)
345Assert.Collection(
TemplateRendererTest.cs (1)
58Assert.Collection(typeNames, collectionAssertions.ToArray());
ViewComponents\DefaultViewComponentHelperTest.cs (5)
40Assert.Collection(argumentDictionary, 60Assert.Collection(argumentDictionary, 80Assert.Collection(argumentDictionary, 107Assert.Collection(argumentDictionary, 131Assert.Collection(argumentDictionary,
Microsoft.AspNetCore.OpenApi.Tests (92)
Extensions\OpenApiRouteHandlerBuilderExtensionTests.cs (1)
114Assert.Collection(groupDataSource.Endpoints,
Services\CreateSchemaReferenceIdTests.cs (6)
43Assert.Collection(schema.Discriminator.Mapping, 47Assert.Collection(schema.Discriminator.Mapping, 83Assert.Collection(schema.Properties, 133Assert.Collection(schema.Properties, 248Assert.Collection(effectiveResponseSchema.Properties, 279Assert.Collection(effectiveRequestSchema.Properties,
Services\OpenApiDocumentProviderTests.cs (1)
45Assert.Collection(documentNames,
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.Operations.cs (5)
97Assert.Collection(operation.Tags, tag => 121Assert.Collection(operation.Tags, tag => 145Assert.Collection(document.Tags, tag => 149Assert.Collection(operation.Tags, tag => 169Assert.Collection(document.Tags, tag =>
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.Paths.cs (10)
23Assert.Collection(document.Paths.OrderBy(p => p.Key), 27Assert.Collection(path.Value.Operations.OrderBy(o => o.Key), 36Assert.Collection(path.Value.Operations.OrderBy(o => o.Key), 61Assert.Collection(document.Paths.OrderBy(p => p.Key), 83Assert.Collection(document.Paths.OrderBy(p => p.Key), 87Assert.Collection(path.Value.Operations.OrderBy(o => o.Key), 115Assert.Collection(document.Paths.OrderBy(p => p.Key), 119Assert.Collection(path.Value.Operations.OrderBy(o => o.Key), 154Assert.Collection(document.Paths.OrderBy(p => p.Key), 158Assert.Collection(path.Value.Operations.OrderBy(o => o.Key),
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.RequestBody.cs (14)
186Assert.Collection(content.Value.Schema.AllOf, 426Assert.Collection(item.Schema.Properties, 482Assert.Collection(item.Schema.AllOf, 525Assert.Collection(item.Schema.Properties, 581Assert.Collection(item.Schema.AllOf, 584Assert.Collection(allOfItem.Properties, property => 608Assert.Collection(allOfItem.Properties, 646Assert.Collection(item.Schema.AllOf, 649Assert.Collection(allOfItem.Properties, property => 673Assert.Collection(allOfItem.Properties, 714Assert.Collection(item.Schema.Properties, 790Assert.Collection(item.Schema.Properties, 833Assert.Collection(item.Schema.Properties, 873Assert.Collection(item.Schema.Properties,
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.Responses.cs (9)
28Assert.Collection(operation.Responses.OrderBy(r => r.Key), 131Assert.Collection(response.Value.Content.OrderBy(c => c.Key), 161Assert.Collection(response.Value.Content.OrderBy(c => c.Key), 204Assert.Collection(response.Value.Content.OrderBy(c => c.Key), 236Assert.Collection(schema.Properties, property => 268Assert.Collection(defaultSchema.Properties, 287Assert.Collection(schema.Properties, property => 328Assert.Collection(operation.Responses.OrderBy(r => r.Key), 359Assert.Collection(operation.Responses.OrderBy(r => r.Key),
Services\OpenApiGeneratorTests.cs (7)
67Assert.Collection(operation.Tags, 469Assert.Collection( 595Assert.Collection( 637Assert.Collection( 667Assert.Collection( 957Assert.Collection(operation.Parameters, 977Assert.Collection(operation.Parameters,
Services\OpenApiSchemaService\OpenApiSchemaService.ParameterSchemas.cs (2)
627Assert.Collection(schema.Enum, 700Assert.Collection(schema.Properties, property =>
Services\OpenApiSchemaService\OpenApiSchemaService.PolymorphicSchemas.cs (14)
30Assert.Collection(schema.Discriminator.Mapping, 34Assert.Collection(schema.Discriminator.Mapping, 67Assert.Collection(schema.Discriminator.Mapping, 72Assert.Collection(schema.Discriminator.Mapping, 112Assert.Collection(schema.Discriminator.Mapping, 116Assert.Collection(schema.Discriminator.Mapping, 152Assert.Collection(schema.AnyOf, 189Assert.Collection(schema.Discriminator.Mapping, 194Assert.Collection(schema.Discriminator.Mapping, 204Assert.Collection(schema.AnyOf, 244Assert.Collection(schema.AnyOf, 278Assert.Collection(schema.Discriminator.Mapping, 282Assert.Collection(schema.Discriminator.Mapping, 287Assert.Collection(schema.AnyOf,
Services\OpenApiSchemaService\OpenApiSchemaService.RequestBodySchemas.cs (14)
38Assert.Collection(schema.Properties, 94Assert.Collection(effectiveSchema.Properties, 168Assert.Collection(schema.Required, 219Assert.Collection(effectiveSchema.Properties, 270Assert.Collection(element.Items.GetEffective(document).Properties, 315Assert.Collection(schema.Properties, 354Assert.Collection(schema.Properties, 418Assert.Collection(schema.Properties, 471Assert.Collection(schema.Properties, 516Assert.Collection(schema.Properties, 577Assert.Collection(operation.RequestBody.Content["application/x-www-form-urlencoded"].Schema.AllOf, 615Assert.Collection(schema.Properties, 641Assert.Collection(schema.Properties, 679Assert.Collection(schema.Properties,
Transformers\OperationTransformerTests.cs (9)
30Assert.Collection(document.Paths.OrderBy(p => p.Key), 94Assert.Collection(document.Paths.OrderBy(p => p.Key), 162Assert.Collection(document.Paths.OrderBy(p => p.Key), 195Assert.Collection(document.Paths.OrderBy(p => p.Key), 224Assert.Collection(document.Paths.OrderBy(p => p.Key), 253Assert.Collection(document.Paths.OrderBy(p => p.Key), 303Assert.Collection(document.Paths.OrderBy(p => p.Key), 353Assert.Collection(document.Paths.OrderBy(p => p.Key), 384Assert.Collection(document.Paths.OrderBy(p => p.Key),
Microsoft.AspNetCore.RateLimiting.Tests (10)
RateLimitingMetricsTests.cs (10)
54Assert.Collection(rateLimitingRequestsCollector.GetMeasurementSnapshot(), 96Assert.Collection(currentLeaseRequestsCollector.GetMeasurementSnapshot(), 107Assert.Collection(currentLeaseRequestsCollector.GetMeasurementSnapshot(), 110Assert.Collection(leaseRequestDurationCollector.GetMeasurementSnapshot(), 114Assert.Collection(rateLimitingRequestsCollector.GetMeasurementSnapshot(), 163Assert.Collection(leaseRequestDurationCollector.GetMeasurementSnapshot(), 221Assert.Collection(currentRequestsQueuedCollector.GetMeasurementSnapshot(), 231Assert.Collection(currentRequestsQueuedCollector.GetMeasurementSnapshot(), 234Assert.Collection(queuedRequestDurationCollector.GetMeasurementSnapshot(), 307Assert.Collection(queuedRequestDurationCollector.GetMeasurementSnapshot(),
Microsoft.AspNetCore.Routing.Tests (122)
Builder\EndpointRoutingApplicationBuilderExtensionsTest.cs (7)
213Assert.Collection(matcherEndpointDataSources[0].Endpoints, 217Assert.Collection(matcherEndpointDataSources[1].Endpoints, 224Assert.Collection(compositeEndpointBuilder.Endpoints, 279Assert.Collection(matcherEndpointDataSources[1].Endpoints, // app.UseRouter 283Assert.Collection(matcherEndpointDataSources[0].Endpoints, // b.UseRouter 290Assert.Collection(compositeEndpointBuilder.Endpoints, 320Assert.Collection(endpointDataSource.Endpoints,
Builder\GroupTest.cs (1)
346Assert.Collection(dataSource.Endpoints.OfType<RouteEndpoint>(),
Builder\OpenApiRouteHandlerBuilderExtensionsTest.cs (1)
34Assert.Collection(tags.Tags,
Builder\RequestDelegateEndpointRouteBuilderExtensionsTest.cs (1)
488Assert.Collection(metadata,
CompositeEndpointDataSourceTest.cs (8)
103Assert.Collection( 134Assert.Collection( 146Assert.Collection( 311Assert.Collection(resolvedEndpoint.Metadata, 355Assert.Collection(groupedEndpoints, 410Assert.Collection(groupedEndpoints, 472Assert.Collection(dataSource.ReceivedRouteGroupContexts, 476Assert.Collection(groupedEndpoints,
DefaultEndpointDataSourceTests.cs (2)
20Assert.Collection(dataSource.Endpoints, 64Assert.Collection(dataSource.Endpoints,
DefaultLinkParserTest.cs (3)
35Assert.Collection( 57Assert.Collection( 81Assert.Collection(
EndpointNameAddressSchemeTest.cs (1)
29Assert.Collection(
InlineRouteParameterParserTests.cs (11)
188Assert.Collection(templatePart.InlineConstraints, 202Assert.Collection(templatePart.InlineConstraints, 218Assert.Collection(templatePart.InlineConstraints, 234Assert.Collection(templatePart.InlineConstraints, 250Assert.Collection(templatePart.InlineConstraints, 287Assert.Collection(param1.InlineConstraints, 446Assert.Collection(templatePart.InlineConstraints, 460Assert.Collection(templatePart.InlineConstraints, 722Assert.Collection(templatePart.InlineConstraints, 737Assert.Collection(templatePart.InlineConstraints, 858Assert.Collection(templatePart.InlineConstraints,
Matching\AcceptsMatcherPolicyTest.cs (1)
177Assert.Collection(
Matching\ContentEncodingNegotiationMatcherPolicyTest.cs (2)
397Assert.Collection(e.Endpoints, 404Assert.Collection(e.Endpoints,
Matching\DataSourceDependentMatcherTest.cs (1)
49Assert.Collection(
Matching\DfaMatcherBuilderTest.cs (13)
2524Assert.Collection( 2578Assert.Collection( 2619Assert.Collection( 3222Assert.Collection( 3247Assert.Collection( 3252Assert.Collection( 3279Assert.Collection( 3284Assert.Collection( 3309Assert.Collection( 3315Assert.Collection( 3342Assert.Collection( 3346Assert.Collection( 3350Assert.Collection(
Matching\DfaMatcherTest.cs (8)
157Assert.Collection( 222Assert.Collection( 340Assert.Collection( 600Assert.Collection( 799Assert.Collection( 829Assert.Collection( 869Assert.Collection( 911Assert.Collection(
Matching\EndpointComparerTest.cs (2)
208Assert.Collection( 235Assert.Collection(
Matching\EndpointMetadataComparerTest.cs (1)
79Assert.Collection(
Matching\HostMatcherPolicyTest.cs (1)
219Assert.Collection(
Patterns\DefaultRoutePatternTransformerTest.cs (12)
37Assert.Collection( 78Assert.Collection( 83Assert.Collection( 142Assert.Collection( 164Assert.Collection( 191Assert.Collection( 226Assert.Collection( 267Assert.Collection( 308Assert.Collection( 330Assert.Collection( 352Assert.Collection( 374Assert.Collection(
Patterns\InlineRouteParameterParserTest.cs (11)
181Assert.Collection(templatePart.ParameterPolicies, 195Assert.Collection( 210Assert.Collection(templatePart.ParameterPolicies, 226Assert.Collection(templatePart.ParameterPolicies, 242Assert.Collection( 279Assert.Collection(param1.ParameterPolicies, 438Assert.Collection( 452Assert.Collection( 714Assert.Collection(templatePart.ParameterPolicies, 729Assert.Collection(templatePart.ParameterPolicies, 850Assert.Collection(templatePart.ParameterPolicies,
Patterns\RoutePatternFactoryTest.cs (25)
34Assert.Collection( 59Assert.Collection( 108Assert.Collection( 154Assert.Collection( 158Assert.Collection( 162Assert.Collection( 167Assert.Collection( 175Assert.Collection( 199Assert.Collection( 204Assert.Collection( 211Assert.Collection( 235Assert.Collection( 240Assert.Collection( 266Assert.Collection( 271Assert.Collection( 278Assert.Collection( 285Assert.Collection( 333Assert.Collection( 338Assert.Collection( 345Assert.Collection( 369Assert.Collection( 551Assert.Collection( 571Assert.Collection( 591Assert.Collection( 747Assert.Collection(combined.PathSegments, AssertLiteral("a"), AssertLiteral("b"));
RouteEndpointBuilderTest.cs (3)
45Assert.Collection(endpoint.Metadata, 64Assert.Collection(endpoint.Metadata, 114Assert.Collection(endpoint.Metadata.GetOrderedMetadata<HttpMethodMetadata>(),
RouteOptionsTests.cs (1)
54Assert.Collection(endpointDataSource.Endpoints,
RouteValuesAddressSchemeTest.cs (2)
127Assert.Collection( 230Assert.Collection(foundEndpoints,
RoutingMetricsTests.cs (4)
47Assert.Collection(routingMatchAttemptsCollector.GetMeasurementSnapshot(), 81Assert.Collection(routingMatchAttemptsCollector.GetMeasurementSnapshot(), 108Assert.Collection(routingMatchAttemptsCollector.GetMeasurementSnapshot(), 132Assert.Collection(routingMatchAttemptsCollector.GetMeasurementSnapshot(),
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
HeartbeatTests.cs (1)
74Assert.Collection(splits,
KestrelServerTests.cs (2)
371Assert.Collection(transportFactory.BoundEndPoints, 416Assert.Collection(transportFactory.BoundEndPoints,
Microsoft.AspNetCore.Server.Kestrel.Tests (1)
WebHostBuilderKestrelExtensionsTests.cs (1)
72Assert.Collection(transportFactories,
Microsoft.AspNetCore.Shared.Tests (29)
AdaptiveCapacityDictionaryTests.cs (16)
198Assert.Collection(dict, kvp => { Assert.Equal("key", kvp.Key); Assert.Equal("value", kvp.Value); }); 215Assert.Collection( 235Assert.Collection(dict, kvp => { Assert.Equal("key", kvp.Key); Assert.Equal("value", kvp.Value); }); 252Assert.Collection(dict, kvp => { Assert.Equal("key", kvp.Key); Assert.Equal("value", kvp.Value); }); 358Assert.Collection(dict, kvp => { Assert.Equal("key", kvp.Key); Assert.Equal("value", kvp.Value); }); 388Assert.Collection( 410Assert.Collection( 431Assert.Collection( 450Assert.Collection( 723Assert.Collection(dict, kvp => { Assert.Equal("key", kvp.Key); Assert.Equal("value", kvp.Value); }); 744Assert.Collection(dict, kvp => { Assert.Equal("key", kvp.Key); Assert.Equal("value", kvp.Value); }); 788Assert.Collection(dict, kvp => { Assert.Equal("key", kvp.Key); Assert.Equal("value", kvp.Value); }); 871Assert.Collection(dict, kvp => { Assert.Equal("key", kvp.Key); Assert.Equal("value", kvp.Value); }); 1014Assert.Collection( 1042Assert.Collection( 1070Assert.Collection(
PropertyActivatorTest.cs (2)
67Assert.Collection( 91Assert.Collection(
PropertyHelperTest.cs (2)
295Assert.Collection( 311Assert.Collection(
QueryStringEnumerableTest.cs (8)
15Assert.Collection(Parse("?key1=value1&key2=value2"), 23Assert.Collection(Parse("key1=value1&key2=value2"), 31Assert.Collection(Parse("?key1=valueA&key2=valueB&key1=valueC"), 40Assert.Collection(Parse("?key1=&key2="), 48Assert.Collection(Parse("?=value1&="), 56Assert.Collection(Parse("?fields+%5BtodoItems%5D"), 63Assert.Collection(Parse("?=fields+%5BtodoItems%5D"), 80Assert.Collection(Parse("?&key1=value1&&key2=value2&"),
StackTraceHelperTest.cs (1)
39Assert.Collection(stackFrames,
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (4)
HubConnectionTests.Tracing.cs (4)
442Assert.Collection(serverActivities, 539Assert.Collection(serverActivities, 634Assert.Collection(serverActivities, 733Assert.Collection(serverActivities,
Microsoft.AspNetCore.SignalR.Client.Tests (3)
HttpConnectionTests.ConnectionLifecycle.cs (1)
306Assert.Collection(data, i => Assert.Equal(0x42, i));
HubServerProxyGeneratorTests.cs (2)
119Assert.Collection(result, item => Assert.Equal(10, item)); 167Assert.Collection(result, item => Assert.Equal(10, item));
Microsoft.AspNetCore.SignalR.Common.Tests (1)
Internal\Protocol\Utf8BufferTextWriterTests.cs (1)
282Assert.Collection(allSegments,
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (4)
RedisDependencyInjectionExtensionsTests.cs (1)
31Assert.Collection(options.Value.Configuration.EndPoints,
RedisHubLifetimeManagerTests.cs (2)
74Assert.Collection( 79Assert.Collection(dict.Properties(),
RedisProtocolTests.cs (1)
162Assert.Collection(writtenMessages,
Microsoft.AspNetCore.SignalR.Tests (27)
AddSignalRTests.cs (1)
182Assert.Collection(serviceProvider.GetRequiredService<IOptions<HubOptions<CustomHub>>>().Value.SupportedProtocols,
HubConnectionHandlerTests.cs (1)
2566Assert.Collection(message.Arguments, arg => Assert.Equal("Hi!", arg));
Internal\TypedClientBuilderTests.cs (11)
21Assert.Collection(clientProxy.Sends, 45Assert.Collection(clientProxy.Sends, 72Assert.Collection(clientProxy.Sends, 76Assert.Collection(send1.Arguments, 86Assert.Collection(send2.Arguments, 109Assert.Collection(clientProxy.Sends, 114Assert.Collection(send1.Arguments, 215Assert.Collection(clientProxy.Sends, 219Assert.Collection(send.Arguments, 257Assert.Collection(clientProxy.Sends, 262Assert.Collection(send1.Arguments,
MapSignalRTests.cs (11)
86Assert.Collection(dataSource.Endpoints, 119Assert.Collection(dataSource.Endpoints, 158Assert.Collection(dataSource.Endpoints, 187Assert.Collection(dataSource.Endpoints, 216Assert.Collection(dataSource.Endpoints, 248Assert.Collection(dataSource.Endpoints, 280Assert.Collection(dataSource.Endpoints, 284Assert.Collection(endpoint.Metadata.GetOrderedMetadata<IAuthorizeData>(), 294Assert.Collection(endpoint.Metadata.GetOrderedMetadata<IAuthorizeData>(), 319Assert.Collection(dataSource.Endpoints, 350Assert.Collection(dataSource.Endpoints,
SerializedHubMessageTests.cs (3)
25Assert.Collection(protocol.GetWrittenMessages(), 45Assert.Collection(protocol.GetWrittenMessages(), 84Assert.Collection(message.GetAllSerializations().Skip(numberOfSerializationsToPreCache).ToArray(),
Microsoft.AspNetCore.TestHost.Tests (1)
ClientHandlerTests.cs (1)
249Assert.Collection(response.TrailingHeaders,
Microsoft.AspNetCore.Testing.Tests (1)
FakesExtensionsTests.cs (1)
219Assert.Collection(hostMock.Object.GetListenUris(),
Microsoft.AspNetCore.Tests (7)
WebApplicationTests.cs (7)
2698Assert.Collection(debugView.Middleware, 2747Assert.Collection(debugView.Middleware, 2770Assert.Collection(debugView.Middleware, 2807Assert.Collection(debugView.Endpoints, 2813Assert.Collection(debugView.Endpoints, 2831Assert.Collection(debugView.Endpoints, 2837Assert.Collection(debugView.Endpoints,
Microsoft.Build.Engine.UnitTests (2)
Evaluation\Evaluator_Tests.cs (2)
1689Assert.Collection(project.GetItems("i"), item => 1779Assert.Collection(project.GetItems("i"), item =>
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (6)
Completion\CompletionProviders\ConversionCompletionProviderTests.cs (3)
55Assert.Collection(completionList, 250Assert.Collection(items, 278Assert.Collection(items,
Completion\CompletionProviders\OperatorCompletionProviderTests.cs (2)
226Assert.Collection(items, 452Assert.Collection(items,
QuickInfo\DiagnosticAnalyzerQuickInfoSourceTests.cs (1)
185Assert.Collection(relatedSpans,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Semantics\PatternMatchingTests_ListPatterns.cs (3)
3619Assert.Collection(nodes, 3678Assert.Collection(nodes, 4406Assert.Collection(nodes,
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (1)
EndToEndTests.cs (1)
833Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"],
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (323)
Semantics\InterceptorsTests.cs (1)
1378Assert.Collection(source.GetRoot().DescendantNodes().OfType<InvocationExpressionSyntax>(),
SourceGeneration\GeneratorDriverTests.cs (78)
1695Assert.Collection(runResult.TrackedSteps["IdentityTransform"], 1698Assert.Collection(step.Inputs, 1700Assert.Collection(step.Outputs, 1707Assert.Collection(runResult.TrackedSteps["IdentityTransform"], 1710Assert.Collection(step.Inputs, 1712Assert.Collection(step.Outputs, 1744Assert.Collection(runResult.TrackedSteps["CompilationTransform"], 1747Assert.Collection(step.Inputs, 1753Assert.Collection(step.Outputs, 1760Assert.Collection(runResult.TrackedSteps["AdditionalTextsTransform"], 1763Assert.Collection(step.Inputs, 1769Assert.Collection(step.Outputs, 1782Assert.Collection(runResult.TrackedSteps["CompilationTransform"], 1785Assert.Collection(step.Inputs, 1791Assert.Collection(step.Outputs, 1798Assert.Collection(runResult.TrackedSteps["AdditionalTextsTransform"], 1801Assert.Collection(step.Inputs, 1807Assert.Collection(step.Outputs, 1816Assert.Collection(step.Inputs, 1822Assert.Collection(step.Outputs, 1835Assert.Collection(runResult.TrackedSteps["CompilationTransform"], 1838Assert.Collection(step.Inputs, 1844Assert.Collection(step.Outputs, 1851Assert.Collection(runResult.TrackedSteps["AdditionalTextsTransform"], 1854Assert.Collection(step.Inputs, 1860Assert.Collection(step.Outputs, 1869Assert.Collection(step.Inputs, 1875Assert.Collection(step.Outputs, 1887Assert.Collection(runResult.TrackedSteps["CompilationTransform"], 1890Assert.Collection(step.Inputs, 1896Assert.Collection(step.Outputs, 1903Assert.Collection(runResult.TrackedSteps["AdditionalTextsTransform"], 1906Assert.Collection(step.Inputs, 1912Assert.Collection(step.Outputs, 1921Assert.Collection(step.Inputs, 1927Assert.Collection(step.Outputs, 2004Assert.Collection(runResult.TrackedSteps["Step"], 2007Assert.Collection(step.Inputs, 2018Assert.Collection(step.Outputs, 2033Assert.Collection(runResult.TrackedSteps["Step"], 2036Assert.Collection(step.Inputs, 2047Assert.Collection(step.Outputs, 2059Assert.Collection(runResult.TrackedSteps["Step2"], 2062Assert.Collection(step.Inputs, 2070Assert.Collection(step.Outputs, 2085Assert.Collection(runResult.TrackedSteps["Step"], 2088Assert.Collection(step.Inputs, 2099Assert.Collection(step.Outputs, 2403Assert.Collection(runResult.TrackedSteps["Classes"], 2419Assert.Collection(runResult.TrackedSteps["Classes"], 2436Assert.Collection(runResult.TrackedSteps["Classes"], 2509Assert.Collection(runResult.TrackedSteps["ParseOptions"], 2529Assert.Collection(runResult.TrackedSteps["ParseOptions"], 2636Assert.Collection(runResult.TrackedSteps["AnalyzerConfig"], 2640Assert.Collection(step.Outputs, 2652Assert.Collection(runResult.TrackedSteps["AnalyzerConfig"], 2656Assert.Collection(step.Outputs, 2674Assert.Collection(runResult.TrackedSteps["AnalyzerConfig"], 2678Assert.Collection(step.Outputs, 2724Assert.Collection(step.Outputs, 2740Assert.Collection(step.Outputs, 2756Assert.Collection(step.Outputs, 2777Assert.Collection(step.Outputs, 2793Assert.Collection(step.Outputs, 2809Assert.Collection(step.Outputs, 2833Assert.Collection(step.Outputs, 2849Assert.Collection(step.Outputs, 2865Assert.Collection(step.Outputs, 2914Assert.Collection(step.Outputs, 2931Assert.Collection(step.Outputs, 2952Assert.Collection(step.Outputs, 2969Assert.Collection(step.Outputs, 2994Assert.Collection(step.Outputs, 3011Assert.Collection(step.Outputs, 3036Assert.Collection(step.Outputs, 3053Assert.Collection(step.Outputs, 4598Assert.Collection(runResult.Results, 4616Assert.Collection(runResult.Results,
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.cs (59)
82Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 161Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 191Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 221Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 248Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 275Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 303Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 334Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 370Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 409Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 438Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 471Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 504Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 536Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 568Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 599Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 630Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 631step => Assert.Collection(step.Outputs, 663Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 694Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 695step => Assert.Collection(step.Outputs, 723Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 757Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 786Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 823Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 860Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 897Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 934Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1042Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1079Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1117Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1155Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1193Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1231Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1428Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1435Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1475Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1482Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1522Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1528Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1535Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1574Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1581Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1622Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1623step => Assert.Collection(step.Outputs, 1631Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1634Assert.Collection(runResult.TrackedSteps["result_ForAttributeInternal"].Single().Outputs, 1637Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"].Single().Outputs, 1675Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1676step => Assert.Collection(step.Outputs, t => Assert.True(t.Value is ClassDeclarationSyntax { Identifier.ValueText: "C1" })), 1677step => Assert.Collection(step.Outputs, t => Assert.True(t.Value is ClassDeclarationSyntax { Identifier.ValueText: "C2" }))); 1683Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1686Assert.Collection(runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"], 1689Assert.Collection(runResult.TrackedSteps["result_ForAttributeInternal"], 1692Assert.Collection(runResult.TrackedSteps["compilationAndGroupedNodes_ForAttributeWithMetadataName"], 1695Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1739Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1787Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"], 1794Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs,
SourceGeneration\GeneratorDriverTests_Attributes_SimpleName.cs (64)
53Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 85Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 161Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 189Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 221Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 253Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 287Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 320Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 346Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 372Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 398Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 431Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 459Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 545Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 578Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 610Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 809Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 840Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 870Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 955Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 984Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1016Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1023Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1056Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1063Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1102Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1109Assert.Collection(runResult.TrackedSteps["individualFileGlobalAliases_ForAttribute"], 1119Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1155Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1165Assert.Collection(runResult.TrackedSteps["individualFileGlobalAliases_ForAttribute"], 1171Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1216Assert.Collection(runResult.TrackedSteps["individualFileGlobalAliases_ForAttribute"], 1222Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1229Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1261Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1272Assert.Collection(runResult.TrackedSteps["individualFileGlobalAliases_ForAttribute"], 1278Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1314Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1321Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1328Assert.Collection(runResult.TrackedSteps["individualFileGlobalAliases_ForAttribute"], 1334Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1372Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1379Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1382Assert.Collection(runResult.TrackedSteps["individualFileGlobalAliases_ForAttribute"], 1388Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1428Assert.Collection(runResult.TrackedSteps["individualFileGlobalAliases_ForAttribute"], 1434Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1441Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1473Assert.Collection(runResult.TrackedSteps["individualFileGlobalAliases_ForAttribute"], 1478Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1484Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1516Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1525Assert.Collection(runResult.TrackedSteps["individualFileGlobalAliases_ForAttribute"], 1531Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1567Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1577Assert.Collection(runResult.TrackedSteps["individualFileGlobalAliases_ForAttribute"], 1583Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1588Assert.Collection(runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"], 1591Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1595Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1628Assert.Collection(runResult.TrackedSteps["result_ForAttribute"], 1639Assert.Collection(runResult.TrackedSteps["individualFileGlobalAliases_ForAttribute"], 1645Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1652Assert.Collection(runResult.TrackedSteps["result_ForAttribute"],
SourceGeneration\StateTableTests.cs (37)
379Assert.Collection(table.Steps, 383Assert.Collection(step.Inputs, 402Assert.Collection(step.Outputs, 446Assert.Collection(step.Inputs, 465Assert.Collection(step.Outputs, 493Assert.Collection(step.Inputs, 512Assert.Collection(step.Outputs, 556Assert.Collection(table.Steps, 560Assert.Collection(step.Inputs, 579Assert.Collection(step.Outputs, 638Assert.Collection(table.Steps, 642Assert.Collection(step.Inputs, 649Assert.Collection(step.Outputs, 673Assert.Collection(table.Steps, 677Assert.Collection(step.Inputs, 684Assert.Collection(step.Outputs, 711Assert.Collection(table.Steps, 715Assert.Collection(step.Inputs, 722Assert.Collection(step.Outputs, 750Assert.Collection(table.Steps, 754Assert.Collection(step.Inputs, 761Assert.Collection(step.Outputs, 790Assert.Collection(table.Steps, 842Assert.Collection(table.Steps, 844Assert.Collection(step.Outputs, output => Assert.Equal((1, IncrementalStepRunReason.Cached), output)), 846Assert.Collection(step.Outputs, output => Assert.Equal((2, IncrementalStepRunReason.Removed), output)), 848Assert.Collection(step.Outputs, output => Assert.Equal((3, IncrementalStepRunReason.Removed), output)), 850Assert.Collection(step.Outputs, output => Assert.Equal((4, IncrementalStepRunReason.New), output)), 852Assert.Collection(step.Outputs, output => Assert.Equal((5, IncrementalStepRunReason.New), output)), 854Assert.Collection(step.Outputs, output => Assert.Equal((6, IncrementalStepRunReason.New), output))); 877Assert.Collection(table.Steps, 882Assert.Collection(step.Outputs, output => Assert.Equal(((1, 0), IncrementalStepRunReason.Cached), output)); 888Assert.Collection(step.Outputs, output => Assert.Equal(((2, 0), IncrementalStepRunReason.Removed), output)); 894Assert.Collection(step.Outputs, output => Assert.Equal(((3, 0), IncrementalStepRunReason.Removed), output)); 900Assert.Collection(step.Outputs, output => Assert.Equal(((4, 0), IncrementalStepRunReason.New), output)); 906Assert.Collection(step.Outputs, output => Assert.Equal(((5, 0), IncrementalStepRunReason.New), output)); 912Assert.Collection(step.Outputs, output => Assert.Equal(((6, 0), IncrementalStepRunReason.New), output));
SourceGeneration\SyntaxAwareGeneratorTests.cs (84)
1032Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1033step => Assert.Collection(step.Outputs, 1035step => Assert.Collection(step.Outputs, 1037step => Assert.Collection(step.Outputs, 1052Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1053step => Assert.Collection(step.Outputs, 1055step => Assert.Collection(step.Outputs, 1057step => Assert.Collection(step.Outputs, 1059step => Assert.Collection(step.Outputs, 1061step => Assert.Collection(step.Outputs, 1109Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1110step => Assert.Collection(step.Outputs, 1112step => Assert.Collection(step.Outputs, 1114step => Assert.Collection(step.Outputs, 1116step => Assert.Collection(step.Outputs, 1118step => Assert.Collection(step.Outputs, 1131Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1132step => Assert.Collection(step.Outputs, 1134step => Assert.Collection(step.Outputs, 1136step => Assert.Collection(step.Outputs, 1138step => Assert.Collection(step.Outputs, 1140step => Assert.Collection(step.Outputs, 1239Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1240step => Assert.Collection(step.Outputs, 1242step => Assert.Collection(step.Outputs, 1244step => Assert.Collection(step.Outputs, 1268Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1269step => Assert.Collection(step.Outputs, 1271step => Assert.Collection(step.Outputs, 1273step => Assert.Collection(step.Outputs, 1414Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1415step => Assert.Collection(step.Outputs, 1417step => Assert.Collection(step.Outputs, 1419step => Assert.Collection(step.Outputs, 1444Assert.Collection(results.Results[0].TrackedSteps["Syntax"], 1445step => Assert.Collection(step.Outputs, 1447step => Assert.Collection(step.Outputs, 1449step => Assert.Collection(step.Outputs, 1451Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1452step => Assert.Collection(step.Outputs, 1454step => Assert.Collection(step.Outputs, 1456step => Assert.Collection(step.Outputs, 1477Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1478step => Assert.Collection(step.Outputs, 1480step => Assert.Collection(step.Outputs, 1482step => Assert.Collection(step.Outputs, 1528Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1529step => Assert.Collection(step.Outputs, 1531step => Assert.Collection(step.Outputs, 1533step => Assert.Collection(step.Outputs, 1543Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1544step => Assert.Collection(step.Outputs, 1546step => Assert.Collection(step.Outputs, 1548step => Assert.Collection(step.Outputs, 1699Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1700step => Assert.Collection(step.Outputs, 1702step => Assert.Collection(step.Outputs, 1704step => Assert.Collection(step.Outputs, 1706Assert.Collection(results.Results[0].TrackedSteps["Output"], 1707step => Assert.Collection(step.Outputs, 1709step => Assert.Collection(step.Outputs, 1711step => Assert.Collection(step.Outputs, 1713step => Assert.Collection(step.Outputs, 1715step => Assert.Collection(step.Outputs, 1717step => Assert.Collection(step.Outputs, 1758Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1759step => Assert.Collection(step.Outputs, 1761step => Assert.Collection(step.Outputs, 1763step => Assert.Collection(step.Outputs, 1765Assert.Collection(results.Results[0].TrackedSteps["Output"], 1766step => Assert.Collection(step.Outputs, 1768step => Assert.Collection(step.Outputs, 1770step => Assert.Collection(step.Outputs, 1812Assert.Collection(results.Results[0].TrackedSteps["Fields"], 1813step => Assert.Collection(step.Outputs, 1815step => Assert.Collection(step.Outputs, 1817step => Assert.Collection(step.Outputs, 1819step => Assert.Collection(step.Outputs, 1821step => Assert.Collection(step.Outputs, 1823step => Assert.Collection(step.Outputs, 1825Assert.Collection(results.Results[0].TrackedSteps["Output"], 1826step => Assert.Collection(step.Outputs, 1828step => Assert.Collection(step.Outputs, 1830step => Assert.Collection(step.Outputs,
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (7)
Structure\StructureTaggerTests.cs (7)
66Assert.Collection(tags, 132Assert.Collection(tags, 178Assert.Collection(tags, 222Assert.Collection(tags, 274Assert.Collection(tags, 345Assert.Collection(tags, programTag => 378Assert.Collection(tags, programTag =>
Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests (1)
GlobalAssemblyCacheTests.cs (1)
97Assert.Collection(names, name =>
Microsoft.DotNet.XliffTasks.Tests (1)
XlfDocumentTests.cs (1)
602Assert.Collection(validationErrors,
Microsoft.DotNet.XUnitAssert.Tests (5)
CollectionAssertsTests.cs (4)
126 Assert.Collection(list); 136 () => Assert.Collection(list, 157 Assert.Collection(list, 170 Assert.Collection(list,
MultipleAssertsTests.cs (1)
69 Assert.Collection(
Microsoft.Extensions.ApiDescription.Client.Tests (1)
GetOpenApiReferenceMetadataTest.cs (1)
536Assert.Collection(
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (23)
DefaultHealthCheckServiceTest.cs (19)
83Assert.Collection( 100Assert.Collection(actual.Value.Data, item => 137Assert.Collection( 186Assert.Collection(results.Entries, 193Assert.Collection(actual.Value.Data, item => 219Assert.Collection( 224Assert.Collection( 231Assert.Collection( 238Assert.Collection( 291Assert.Collection( 327Assert.Collection((IEnumerable<KeyValuePair<string, object>>)actual.Scope, 350Assert.Collection(results.Entries, actual => 372Assert.Collection( 396Assert.Collection( 422Assert.Collection( 476Assert.Collection( 520Assert.Collection((await checkHealthTask).Entries, 550Assert.Collection( 607Assert.Collection(
DependencyInjection\HealthChecksBuilderTest.cs (1)
217Assert.Collection(
HealthCheckPublisherHostedServiceTest.cs (3)
220Assert.Collection( 485Assert.Collection( 691Assert.Collection(
Microsoft.Extensions.FileProviders.Embedded.Tests (1)
EmbeddedFileProviderTests.cs (1)
212Assert.Collection(files.OrderBy(f => f.Name, StringComparer.Ordinal),
Microsoft.Extensions.Hosting.Testing.Tests (9)
FakeConfigurationSourceTests.cs (1)
18Assert.Collection(
FakeHostBuilderTests.cs (2)
138Assert.Collection( 170Assert.Collection(
HostingFakesExtensionsTests.cs (6)
142Assert.Collection( 168Assert.Collection( 197Assert.Collection( 228Assert.Collection( 254Assert.Collection( 283Assert.Collection(
Microsoft.Extensions.Http.Diagnostics.Tests (2)
Logging\AcceptanceTests.cs (2)
73Assert.Collection( 623Assert.Collection(logRecords,
Microsoft.Extensions.Http.Polly.Tests (9)
DependencyInjection\PollyHttpClientBuilderExtensionsTest.cs (9)
60Assert.Collection( 95Assert.Collection( 133Assert.Collection( 174Assert.Collection( 218Assert.Collection( 271Assert.Collection( 316Assert.Collection( 359Assert.Collection( 430Assert.Collection(
Microsoft.Gen.Metrics.Generated.Tests (8)
MetricTests.cs (4)
56Assert.Collection(measurements, x => Assert.Equal(10L, x.Value), x => Assert.Equal(5L, x.Value)); 83Assert.Collection(measurements, x => Assert.Equal(12L, x.Value), x => Assert.Equal(6L, x.Value)); 111Assert.Collection(measurements, x => Assert.Equal(10, x.Value), x => Assert.Equal(5, x.Value)); 139Assert.Collection(measurements, x => Assert.Equal(12, x.Value), x => Assert.Equal(6, x.Value));
MetricTests.Ext.cs (4)
42Assert.Collection(measurements, x => Assert.Equal(10L, x.Value), x => Assert.Equal(5L, x.Value)); 67Assert.Collection(measurements, x => Assert.Equal(12L, x.Value), x => Assert.Equal(6L, x.Value)); 94Assert.Collection(measurements, x => Assert.Equal(10, x.Value), x => Assert.Equal(5, x.Value)); 121Assert.Collection(measurements, x => Assert.Equal(12, x.Value), x => Assert.Equal(6, x.Value));
Microsoft.JSInterop.Tests (2)
Infrastructure\DotNetDispatcherTest.cs (1)
817Assert.Collection(
JSRuntimeTest.cs (1)
25Assert.Collection(runtime.BeginInvokeCalls,
Mvc.Analyzers.Test (10)
CodeAnalysisExtensionsTest.cs (10)
61Assert.Collection( 98Assert.Collection( 135Assert.Collection( 172Assert.Collection( 217Assert.Collection( 260Assert.Collection( 313Assert.Collection( 356Assert.Collection( 404Assert.Collection( 442Assert.Collection(
Mvc.Api.Analyzers.Test (2)
ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest.cs (1)
73Assert.Collection(
ApiConventionAnalyzerIntegrationTest.cs (1)
289Assert.Collection(
Sockets.FunctionalTests (3)
src\Servers\Kestrel\test\FunctionalTests\RequestTests.cs (1)
627Assert.Collection(connectionDuration.GetMeasurementSnapshot(), m => MetricsAssert.NoError(m.Tags));
src\Servers\Kestrel\test\FunctionalTests\ResponseTests.cs (2)
256Assert.Collection(connectionDuration.GetMeasurementSnapshot(), m => MetricsAssert.NoError(m.Tags)); 1089Assert.Collection(connectionDuration.GetMeasurementSnapshot(), m => MetricsAssert.NoError(m.Tags));
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\Shared\E2ETesting\WaitAssert.cs (1)
45=> WaitAssertCore(driver, () => Assert.Collection(actualValues(), elementInspectors));
Templates.Blazor.WebAssembly.Tests (1)
src\Shared\E2ETesting\WaitAssert.cs (1)
45=> WaitAssertCore(driver, () => Assert.Collection(actualValues(), elementInspectors));
Templates.Mvc.Tests (1)
src\Shared\E2ETesting\WaitAssert.cs (1)
45=> WaitAssertCore(driver, () => Assert.Collection(actualValues(), elementInspectors));
Templates.Tests (1)
src\Shared\E2ETesting\WaitAssert.cs (1)
45=> WaitAssertCore(driver, () => Assert.Collection(actualValues(), elementInspectors));
xunit.assert (1)
AsyncCollectionAsserts.cs (1)
90 Collection(AssertHelper.ToEnumerable(collection), elementInspectors);