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