5 references to AllAsync
Microsoft.DotNet.XUnitAssert.Tests (2)
CollectionAssertsTests.cs (2)
73
await Assert.ThrowsAsync<ArgumentNullException>("action", () => Assert.
AllAsync
(new object[0], (Func<object, int, Task>)null!));
112
await Assert.
AllAsync
(items, async (_, idx) => { await Task.Yield(); indices.Add(idx); });
xunit.assert (3)
AsyncCollectionAsserts.cs (1)
77
AllAsync
(AssertHelper.ToEnumerable(collection), action);
CollectionAsserts.cs (1)
109
await
AllAsync
(collection, async (item, index) => await action(item));
Sdk\Exceptions\AllException.cs (1)
36
/// or <see cref="Assert.
AllAsync
{T}(IEnumerable{T}, Func{T, int, Task})"/>.