58 references to All
InMemory.FunctionalTests (24)
BadHttpRequestTests.cs (1)
206Assert.All(TestSink.Writes.Where(w => w.LoggerName != "Microsoft.Hosting.Lifetime"), w => Assert.InRange(w.LogLevel, LogLevel.Trace, LogLevel.Debug));
ChunkedRequestTests.cs (1)
1070Assert.All(TestSink.Writes, w => Assert.InRange(w.LogLevel, LogLevel.Trace, LogLevel.Information));
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));
Http2\Http2ConnectionTests.cs (1)
4982Assert.All(LogMessages, w => Assert.InRange(w.LogLevel, LogLevel.Trace, LogLevel.Debug));
RequestTests.cs (1)
2024Assert.All(TestSink.Writes, w => Assert.InRange(w.LogLevel, LogLevel.Trace, LogLevel.Information));
Microsoft.AspNetCore.App.UnitTests (15)
SharedFxTests.cs (7)
118Assert.All(depsFile["libraries"], item => 133Assert.All(runtimeLibrary["runtime"], item => 146Assert.All(runtimeLibrary["native"], item => 176Assert.All(dlls, path => 225Assert.All(dlls, path => 238Assert.All(reader.AssemblyReferences, handle => 299Assert.All(runtimeListEntries, i =>
TargetingPackTests.cs (8)
76Assert.All(dlls, path => 116Assert.All(dlls, path => 122Assert.All(reader.AssemblyReferences, handle => 168Assert.All(packageOverrideFileLines, entry => 197Assert.All(dlls, path => 275Assert.All(manifestFileLines, line => 344Assert.All(frameworkListEntries, i => 409Assert.All(analyzerEntries, analyzerEntry =>
Microsoft.AspNetCore.Components.Web.Tests (3)
Forms\InputRadioTest.cs (3)
42Assert.All(inputRadioComponents, inputRadio => Assert.True(Guid.TryParseExact(inputRadio.GroupName, "N", out _))); 58Assert.All(inputRadioComponents, inputRadio => Assert.Equal(groupName, inputRadio.GroupName)); 73Assert.All(inputRadioComponents, inputRadio => Assert.NotNull(inputRadio.Element));
Microsoft.AspNetCore.Components.WebAssembly.Tests (1)
Hosting\WebAssemblyHostConfigurationTest.cs (1)
54Assert.All(root.Providers, provider =>
Microsoft.AspNetCore.DataProtection.Tests (1)
KeyManagement\KeyRingProviderTests.cs (1)
850Assert.All(actualKeyRings, actualKeyRing => ReferenceEquals(expectedKeyRing1, actualKeyRing));
Microsoft.AspNetCore.Hosting.Tests (2)
WebHostTests.AsyncDisposable.cs (2)
28Assert.All(providerFactory.Providers, provider => 36Assert.All(providerFactory.Providers, provider =>
Microsoft.AspNetCore.Http.Extensions.Tests (1)
RequestDelegateGenerator\CompileTimeCreationTests.cs (1)
387Assert.All(TestSink.Writes, context => Assert.Equal("RequiredParameterNotProvided", context.EventId.Name));
Microsoft.AspNetCore.Http.Results.Tests (1)
ResultsTests.cs (1)
1636Assert.All(actualMethods, name => Assert.Single(testedMethods, name));
Microsoft.AspNetCore.Http.Tests (2)
ResponseCookiesTest.cs (2)
144Assert.All(deletedCookies, cookie => Assert.Contains("expires=Thu, 01 Jan 1970 00:00:00 GMT", cookie)); 172Assert.All(deletedCookies, cookie => Assert.Contains("expires=Thu, 01 Jan 1970 00:00:00 GMT", cookie));
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
DictionaryModelBinderIntegrationTest.cs (1)
808Assert.All(modelState, kvp =>
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)));
xunit.assert (2)
AsyncCollectionAsserts.cs (1)
34 All(AssertHelper.ToEnumerable(collection), action);
Sdk\Exceptions\AllException.cs (1)
29 /// more items failed during <see cref="Assert.All{T}(IEnumerable{T}, Action{T})"/>