24 instantiations of RpcTestClient
Aspire.Hosting.Native.Core.Tests (24)
DeclarativeApplicationTests.cs (1)
18using var rpc = new RpcTestClient(authenticate: true);
NativeCliControlTests.cs (2)
22using var client = new RpcTestClient(server, NativeLanguageCatalog.LoadEmbedded()); 70using var client = new RpcTestClient(server, NativeLanguageCatalog.LoadEmbedded());
NativeRpcTests.cs (13)
18using var client = new RpcTestClient(authenticate: true); 26using var client = new RpcTestClient(authenticate: false); 38using var client = new RpcTestClient(authenticate: true); 67using var client = new RpcTestClient(authenticate: true); 85using var client = new RpcTestClient(authenticate: true); 113using var first = new RpcTestClient(authenticate: true); 114using var second = new RpcTestClient(authenticate: true); 130using var first = new RpcTestClient(authenticate: true); 131using var second = new RpcTestClient(authenticate: true); 148using var client = new RpcTestClient(authenticate: true); 159using var client = new RpcTestClient(authenticate: true); 202using var client = new RpcTestClient(authenticate: true); 217using var client = new RpcTestClient(authenticate: true);
NativeTimeProviderTests.cs (1)
30using var client = new RpcTestClient(server, options);
TestServices\RuntimeRpcTestContext.cs (3)
37Author = new(_server); 38Integration = new(_server); 39Observer = new(_server);
TestServices\WorkspaceRpcTestContext.cs (4)
28Author = new(Server); 29Integration = new(Server); 30Observer = new(Server); 52Author = new(Server);
39 references to RpcTestClient
Aspire.Hosting.Native.Core.Tests (39)
ApplicationRevisionTests.cs (2)
7using static Aspire.Hosting.Native.Core.Tests.TestServices.RpcTestClient; 384private static void SetConfiguration(RpcTestClient author, JsonNode resource, string value) =>
DcpWorkloadCleanupTests.cs (1)
11using static Aspire.Hosting.Native.Core.Tests.TestServices.RpcTestClient;
DeclarativeApplicationTests.cs (2)
9using static Aspire.Hosting.Native.Core.Tests.TestServices.RpcTestClient; 18using var rpc = new RpcTestClient(authenticate: true);
NativeCliControlTests.cs (3)
12using static Aspire.Hosting.Native.Core.Tests.TestServices.RpcTestClient; 22using var client = new RpcTestClient(server, NativeLanguageCatalog.LoadEmbedded()); 70using var client = new RpcTestClient(server, NativeLanguageCatalog.LoadEmbedded());
NativeDashboardTests.cs (1)
10using static Aspire.Hosting.Native.Core.Tests.TestServices.RpcTestClient;
NativeIpcSecurityTests.cs (1)
12using static Aspire.Hosting.Native.Core.Tests.TestServices.RpcTestClient;
NativeNamedPipeTests.cs (1)
9using static Aspire.Hosting.Native.Core.Tests.TestServices.RpcTestClient;
NativeRpcTests.cs (14)
9using static Aspire.Hosting.Native.Core.Tests.TestServices.RpcTestClient; 18using var client = new RpcTestClient(authenticate: true); 26using var client = new RpcTestClient(authenticate: false); 38using var client = new RpcTestClient(authenticate: true); 67using var client = new RpcTestClient(authenticate: true); 85using var client = new RpcTestClient(authenticate: true); 113using var first = new RpcTestClient(authenticate: true); 114using var second = new RpcTestClient(authenticate: true); 130using var first = new RpcTestClient(authenticate: true); 131using var second = new RpcTestClient(authenticate: true); 148using var client = new RpcTestClient(authenticate: true); 159using var client = new RpcTestClient(authenticate: true); 202using var client = new RpcTestClient(authenticate: true); 217using var client = new RpcTestClient(authenticate: true);
NativeSocketIsolationTests.cs (1)
16using static Aspire.Hosting.Native.Core.Tests.TestServices.RpcTestClient;
NativeTimeProviderTests.cs (2)
14using static Aspire.Hosting.Native.Core.Tests.TestServices.RpcTestClient; 30using var client = new RpcTestClient(server, options);
ResourceWorkloadTests.cs (1)
8using static Aspire.Hosting.Native.Core.Tests.TestServices.RpcTestClient;
RuntimeRpcTests.cs (1)
7using static Aspire.Hosting.Native.Core.Tests.TestServices.RpcTestClient;
TestServices\RuntimeRpcTestContext.cs (4)
7using static Aspire.Hosting.Native.Core.Tests.TestServices.RpcTestClient; 15public RpcTestClient Author { get; } 16public RpcTestClient Integration { get; } 17public RpcTestClient Observer { get; }
TestServices\WorkspaceRpcTestContext.cs (4)
7using static Aspire.Hosting.Native.Core.Tests.TestServices.RpcTestClient; 15public RpcTestClient Author { get; private set; } 16public RpcTestClient Integration { get; } 17public RpcTestClient Observer { get; }
WorkloadDefinitionTests.cs (1)
8using static Aspire.Hosting.Native.Core.Tests.TestServices.RpcTestClient;