1 instantiation of TestServerCallContext
Aspire.Hosting.TestUtilities (1)
Utils\Grpc\TestServerCallContext.cs (1)
59return new TestServerCallContext(requestHeaders ?? new Metadata(), cancellationToken);
51 references to TestServerCallContext
Aspire.Hosting.Tests (50)
Dashboard\DashboardServiceTests.cs (50)
59var context = TestServerCallContext.Create(); 112var context = TestServerCallContext.Create(); 217var context = TestServerCallContext.Create(cancellationToken: cts.Token); 315var context = TestServerCallContext.Create(); 374var context = TestServerCallContext.Create(); 437var context = TestServerCallContext.Create(); 479var context = TestServerCallContext.Create(cancellationToken: cts.Token); 550var context = TestServerCallContext.Create(cancellationToken: cts.Token); 598var context = TestServerCallContext.Create(cancellationToken: cts.Token); 658var context = TestServerCallContext.Create(cancellationToken: cts.Token); 696var context = TestServerCallContext.Create(cancellationToken: cts.Token); 750var context = TestServerCallContext.Create(); 774var context = TestServerCallContext.Create(); 799var context = TestServerCallContext.Create(); 843var context = TestServerCallContext.Create(); 875var context = TestServerCallContext.Create(); 897var firstContext = TestServerCallContext.Create(); 903var secondContext = TestServerCallContext.Create(); 931var context = TestServerCallContext.Create(); 965var context = TestServerCallContext.Create(); 993var context = TestServerCallContext.Create(); 1012var context = TestServerCallContext.Create(); 1037var context = TestServerCallContext.Create(); 1056var context = TestServerCallContext.Create(); 1217var context = TestServerCallContext.Create();
Aspire.Hosting.TestUtilities (1)
Utils\Grpc\TestServerCallContext.cs (1)
57public static TestServerCallContext Create(Metadata? requestHeaders = null, CancellationToken cancellationToken = default)