17 references to TestPublisher
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (17)
HealthCheckPublisherHostedServiceTest.cs (17)
73new TestPublisher(), 105new TestPublisher() { Wait = unblock0.Task, }, 106new TestPublisher() { Wait = unblock1.Task, }, 107new TestPublisher() { Wait = unblock2.Task, }, 146var publisher = new TestPublisher() { Wait = unblock.Task, }; 189var publisher = new TestPublisher() { Wait = unblock.Task, }; 244var publisher = new TestPublisher() { Wait = unblock.Task, }; 404new TestPublisher() { Wait = unblock0.Task, }, 405new TestPublisher() { Wait = unblock1.Task, }, 406new TestPublisher() { Wait = unblock2.Task, }, 453var publisher = new TestPublisher() { Wait = unblock.Task, }; 510new TestPublisher(), 511new TestPublisher(), 671new TestPublisher() { Exception = new InvalidTimeZoneException(), }, 713new TestPublisher() { Exception = new InvalidTimeZoneException(), }, 714new TestPublisher(), 715new TestPublisher() { Exception = new InvalidTimeZoneException(), },