1 instantiation of TestServerCallContext
Aspire.Hosting.Tests (1)
Utils\Grpc\TestServerCallContext.cs (1)
59return new TestServerCallContext(requestHeaders ?? new Metadata(), cancellationToken);
15 references to TestServerCallContext
Aspire.Hosting.Tests (15)
Dashboard\DashboardServiceTests.cs (14)
53var context = TestServerCallContext.Create(); 106var context = TestServerCallContext.Create(); 180var context = TestServerCallContext.Create(cancellationToken: cts.Token); 234var context = TestServerCallContext.Create(cancellationToken: cts.Token); 303var context = TestServerCallContext.Create(cancellationToken: cts.Token); 361var context = TestServerCallContext.Create(cancellationToken: cts.Token); 397var context = TestServerCallContext.Create(cancellationToken: cts.Token);
Utils\Grpc\TestServerCallContext.cs (1)
57public static TestServerCallContext Create(Metadata? requestHeaders = null, CancellationToken cancellationToken = default)