3 references to AllAsync
Microsoft.DotNet.XUnitAssert.Tests (3)
AsyncCollectionAssertsTests.cs (3)
73
await Assert.ThrowsAsync<ArgumentNullException>("collection", () => Assert.
AllAsync
(default(IAsyncEnumerable<object>)!, async _ => await Task.Yield()));
74
await Assert.ThrowsAsync<ArgumentNullException>("action", () => Assert.
AllAsync
(new object[0].ToAsyncEnumerable(), (Func<object, Task>)null!));
83
await Assert.
AllAsync
(items, async item => { await Task.Yield(); Assert.Equal(1, item); });