1 instantiation of EventAssert
Microsoft.AspNetCore.InternalTesting (1)
Tracing\EventAssert.cs (1)
35
return new
EventAssert
(id, name, level);
7 references to EventAssert
Microsoft.AspNetCore.InternalTesting (4)
Tracing\EventAssert.cs (4)
26
public static void Collection(IEnumerable<EventWrittenEventArgs> events, params
EventAssert
[] asserts)
33
public static
EventAssert
Event(int id, string name, EventLevel level)
38
public
EventAssert
Payload(string name, object expectedValue) => Payload(name, actualValue => Assert.Equal(expectedValue, actualValue));
40
public
EventAssert
Payload(string name, Action<object> asserter)
Microsoft.AspNetCore.InternalTesting.Tests (3)
CollectingEventListenerTest.cs (3)
30
EventAssert
.Collection(events,
31
EventAssert
.Event(1, "Test", EventLevel.Informational),
32
EventAssert
.Event(2, "TestWithPayload", EventLevel.Verbose)