5 references to AllAsync
Microsoft.DotNet.XUnitAssert.Tests (3)
Asserts\CollectionAssertsTests.cs (3)
90
await Assert.ThrowsAsync<ArgumentNullException>("collection", () => Assert.
AllAsync
(default(IEnumerable<object>)!, async _ => await Task.Yield()));
91
await Assert.ThrowsAsync<ArgumentNullException>("action", () => Assert.
AllAsync
([], (Func<object, Task>)null!));
100
await Assert.
AllAsync
(items, async item => { await Task.Yield(); Assert.Equal(1, item); });
xunit.assert (2)
AsyncCollectionAsserts.cs (1)
57
AllAsync
(AssertHelper.ToEnumerable(collection), action);
Sdk\Exceptions\AllException.cs (1)
33
/// <see cref="Assert.
AllAsync
{T}(IEnumerable{T}, Func{T, Task})"/>,