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