227 references to All
Aspire.Components.Common.Tests (1)
InMemory.FunctionalTests (24)
EventSourceTests.cs (20)
85Assert.All(new[] { "connectionId", "remoteEndPoint", "localEndPoint" }, p => Assert.Contains(p, connectionStart.PayloadNames));
93Assert.All(new[] { "connectionId", "requestId" }, p => Assert.Contains(p, firstRequestStart.PayloadNames));
102Assert.All(new[] { "connectionId", "requestId" }, p => Assert.Contains(p, firstRequestStop.PayloadNames));
111Assert.All(new[] { "connectionId", "requestId" }, p => Assert.Contains(p, secondRequestStart.PayloadNames));
120Assert.All(new[] { "connectionId", "requestId" }, p => Assert.Contains(p, secondRequestStop.PayloadNames));
129Assert.All(new[] { "connectionId" }, p => Assert.Contains(p, connectionStop.PayloadNames));
210Assert.All(new[] { "connectionId", "remoteEndPoint", "localEndPoint" }, p => Assert.Contains(p, connectionStart.PayloadNames));
218Assert.All(new[] { "connectionId", "sslProtocols" }, p => Assert.Contains(p, tlsHandshakeStart.PayloadNames));
226Assert.All(new[] { "connectionId", "sslProtocols", "applicationProtocol", "hostName" }, p => Assert.Contains(p, tlsHandshakeStop.PayloadNames));
237Assert.All(new[] { "connectionId", "requestId" }, p => Assert.Contains(p, requestStart.PayloadNames));
246Assert.All(new[] { "connectionId", "requestId" }, p => Assert.Contains(p, requestStop.PayloadNames));
256Assert.All(new[] { "connectionId" }, p => Assert.Contains(p, connectionStop.PayloadNames));
314Assert.All(new[] { "connectionId", "remoteEndPoint", "localEndPoint" }, p => Assert.Contains(p, connectionStart.PayloadNames));
322Assert.All(new[] { "connectionId", "sslProtocols" }, p => Assert.Contains(p, tlsHandshakeStart.PayloadNames));
330Assert.All(new[] { "connectionId" }, p => Assert.Contains(p, tlsHandshakeFailed.PayloadNames));
338Assert.All(new[] { "connectionId", "sslProtocols", "applicationProtocol", "hostName" }, p => Assert.Contains(p, tlsHandshakeStop.PayloadNames));
346Assert.All(new[] { "connectionId" }, p => Assert.Contains(p, connectionStop.PayloadNames));
395Assert.All(new[] { "connectionId", "remoteEndPoint", "localEndPoint" }, p => Assert.Contains(p, connectionStart.PayloadNames));
403Assert.All(new[] { "connectionId" }, p => Assert.Contains(p, connectionRejected.PayloadNames));
411Assert.All(new[] { "connectionId" }, p => Assert.Contains(p, connectionStop.PayloadNames));
Microsoft.AspNetCore.App.UnitTests (15)
Microsoft.AspNetCore.Components.Endpoints.Tests (9)
Microsoft.AspNetCore.Components.Web.Tests (3)
Microsoft.AspNetCore.Components.WebAssembly.Tests (1)
Microsoft.AspNetCore.DataProtection.Tests (1)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (9)
Logging\AcceptanceTests.cs (9)
305Assert.All(logRecords, x => Assert.Null(x.Exception));
306Assert.All(logRecords, x => Assert.Equal(LogLevel.Information, x.Level));
307Assert.All(logRecords, x => Assert.Equal(LoggingCategory, x.Category));
486Assert.All(logRecords, x => Assert.Null(x.Exception));
487Assert.All(logRecords, x => Assert.Equal(LogLevel.Information, x.Level));
488Assert.All(logRecords, x => Assert.Equal(LoggingCategory, x.Category));
524Assert.All(logRecords, x => Assert.Null(x.Exception));
525Assert.All(logRecords, x => Assert.Equal(LogLevel.Information, x.Level));
526Assert.All(logRecords, x => Assert.Equal(LoggingCategory, x.Category));
Microsoft.AspNetCore.Hosting.Tests (2)
Microsoft.AspNetCore.Http.Extensions.Tests (1)
Microsoft.AspNetCore.Http.Results.Tests (1)
Microsoft.AspNetCore.Http.Tests (2)
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
Microsoft.AspNetCore.Mvc.RazorPages.Test (8)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (8)
Microsoft.AspNetCore.OpenApi.Tests (3)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (12)
CodeGen\CodeGenTupleTest.cs (12)
5883Assert.All(tupleWithoutNames.GetMembers().OfType<IFieldSymbol>().Select(f => f.Locations.FirstOrDefault()),
5960Assert.All(tupleWithoutNames.GetMembers().OfType<IFieldSymbol>().Select(f => f.Locations.FirstOrDefault()),
5979Assert.All(tupleWithNames.GetMembers().OfType<IFieldSymbol>().Select(f => f.Locations.FirstOrDefault()),
5998Assert.All(tupleWithSomeNames.GetMembers().OfType<IFieldSymbol>().Select(f => f.Locations.FirstOrDefault()),
6016Assert.All(tupleWithNames.GetMembers().OfType<IFieldSymbol>().Select(f => f.Locations.FirstOrDefault()),
6041Assert.All(tuple8WithoutNames.TupleElements.Select(f => f.Locations.FirstOrDefault()),
6068Assert.All(tuple8WithoutNames.GetMembers().OfType<IFieldSymbol>().Where(f => f.Name != "Rest").Select(f => f.Locations.FirstOrDefault()),
6093Assert.All(tuple8WithNames.GetMembers().OfType<IFieldSymbol>().Select(f => f.Locations.FirstOrDefault()),
6118Assert.All(tuple9WithoutNames.GetMembers().OfType<IFieldSymbol>().Select(f => f.Locations.FirstOrDefault()),
6144Assert.All(tuple9WithNames.GetMembers().OfType<IFieldSymbol>().Select(f => f.Locations.FirstOrDefault()),
6176Assert.All(tuple9WithNames.GetMembers().OfType<IFieldSymbol>().Select(f => f.Locations.FirstOrDefault()),
6200Assert.All(tupleWithoutNames.GetMembers().OfType<IFieldSymbol>().Select(f => f.Locations.FirstOrDefault()),
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (3)
Microsoft.CodeAnalysis.Test.Utilities (2)
Microsoft.CodeAnalysis.UnitTests (70)
Collections\List\IEnumerable.Generic.Tests.cs (14)
425Assert.All(GetModifyEnumerables(ModifyEnumeratorThrows), ModifyEnumerable =>
449Assert.All(GetModifyEnumerables(ModifyEnumeratorAllowed), ModifyEnumerable =>
469Assert.All(GetModifyEnumerables(ModifyEnumeratorThrows), ModifyEnumerable =>
495Assert.All(GetModifyEnumerables(ModifyEnumeratorAllowed), ModifyEnumerable =>
514Assert.All(GetModifyEnumerables(ModifyEnumeratorThrows), ModifyEnumerable =>
539Assert.All(GetModifyEnumerables(ModifyEnumeratorAllowed), ModifyEnumerable =>
680Assert.All(GetModifyEnumerables(ModifyEnumeratorThrows), ModifyEnumerable =>
701Assert.All(GetModifyEnumerables(ModifyEnumeratorAllowed), ModifyEnumerable =>
736Assert.All(GetModifyEnumerables(ModifyEnumeratorThrows), ModifyEnumerable =>
760Assert.All(GetModifyEnumerables(ModifyEnumeratorAllowed), ModifyEnumerable =>
777Assert.All(GetModifyEnumerables(ModifyEnumeratorThrows), ModifyEnumerable =>
803Assert.All(GetModifyEnumerables(ModifyEnumeratorAllowed), ModifyEnumerable =>
822Assert.All(GetModifyEnumerables(ModifyEnumeratorThrows), ModifyEnumerable =>
847Assert.All(GetModifyEnumerables(ModifyEnumeratorAllowed), ModifyEnumerable =>
Collections\List\IList.Generic.Tests.cs (8)
134Assert.All(Enumerable.Range(0, count), index => result = list[index]);
271Assert.All(InvalidValues, value =>
357Assert.All(Enumerable.Range(0, count), index =>
369Assert.All(InvalidValues, value =>
388Assert.All(Enumerable.Range(0, count), (index =>
525Assert.All(InvalidValues, value =>
585Assert.All(Enumerable.Range(0, count).Reverse(), index =>
600Assert.All(Enumerable.Range(0, count), index =>
Collections\List\IList.NonGeneric.Tests.cs (14)
239Assert.All(Enumerable.Range(0, count), index => result = list[index]);
361Assert.All(InvalidValues, value =>
391Assert.All(InvalidValues, invalidValue =>
408Assert.All(InvalidValues, invalidValue =>
425Assert.All(InvalidValues, invalidValue =>
619Assert.All(InvalidValues, invalidValue =>
685Assert.All(Enumerable.Range(0, count), index =>
697Assert.All(InvalidValues, value =>
721Assert.All(Enumerable.Range(0, count), (index =>
851Assert.All(InvalidValues, value =>
982Assert.All(arr, value =>
997Assert.All(InvalidValues, value =>
1057Assert.All(Enumerable.Range(0, count).Reverse(), index =>
1072Assert.All(Enumerable.Range(0, count), index =>
Collections\List\SegmentedList.Generic.Tests.IndexOf.cs (7)
95Assert.All(Enumerable.Range(0, count), i =>
110Assert.All(nonexistentValues, nonexistentValue =>
139Assert.All(Enumerable.Range(0, count), i =>
158Assert.All(Enumerable.Range(0, count), i =>
160Assert.All(Enumerable.Range(0, 4), j =>
179Assert.All(Enumerable.Range(0, count), i =>
181Assert.All(Enumerable.Range(0, 4), j =>
Collections\List\SegmentedList.Generic.Tests.Sort.cs (8)
39Assert.All(Enumerable.Range(0, count - 2), i =>
53Assert.All(Enumerable.Range(0, count - 2), i =>
70Assert.All(Enumerable.Range(0, count - 2), i =>
84Assert.All(Enumerable.Range(0, count - 2), i =>
102Assert.All(Enumerable.Range(0, count - 2), i =>
117Assert.All(Enumerable.Range(0, count - 2), i =>
180Assert.All(InvalidParameters, invalidSet =>
198Assert.All(InvalidParameters, invalidSet =>
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
Microsoft.DotNet.XUnitAssert.Tests (5)
CollectionAssertsTests.cs (5)
19 Assert.Throws<ArgumentNullException>("collection", () => Assert.All(default(IEnumerable<object>)!, _ => { }));
20 Assert.Throws<ArgumentNullException>("action", () => Assert.All(new object[0], (Action<object>)null!));
29 Assert.All(items, x => Assert.Equal(1, x));
37 var ex = Record.Exception(() => Assert.All(items, item => Assert.Equal(1, item)));
89 var ex = Record.Exception(() => Assert.All(items, x => Assert.Equal(1, x)));
Microsoft.Extensions.AsyncState.Tests (1)
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
Microsoft.Gen.Logging.Generated.Tests (5)
SensitiveRecordTests.cs (5)
22Assert.All(logRecord.StructuredState, x => Assert.DoesNotContain(SensitiveRecordExtensions.Sensitive, x.Value));
34Assert.All(logRecord.StructuredState, x => Assert.DoesNotContain(SensitiveRecordExtensions.Sensitive, x.Value));
51Assert.All(logRecord.StructuredState, x => Assert.DoesNotContain(SensitiveRecordExtensions.Sensitive, x.Value));
68Assert.All(logRecord.StructuredState, x => Assert.DoesNotContain(SensitiveRecordExtensions.Sensitive, x.Value));
85Assert.All(logRecord.StructuredState, x => Assert.DoesNotContain(SensitiveRecordExtensions.Sensitive, x.Value));
Microsoft.Gen.Metrics.Generated.Tests (10)
Microsoft.ML.IntegrationTests (6)
Microsoft.ML.Tests (4)
System.Windows.Forms.Tests (1)
xunit.assert (2)