AspireServerServiceTests.cs (10)
52await server.NotifySessionStartedAsync(DcpId,"1", ProcessId, CancellationToken.None);
84await server.NotifySessionEndedAsync(DcpId, "1", ProcessId, 130, CancellationToken.None);
102.ImplementStartProjectAsync(DcpId, "2");
126.ImplementStartProjectAsync(DcpId, "2", requireNullArguments: true);
150.ImplementStartProjectAsync(DcpId, "2")
151.ImplementStopSessionAsync(DcpId, "2", exists: true)
152.ImplementStopSessionAsync(DcpId, "3", exists: false);
181.ImplementStartProjectAsync(DcpId, "2", new Exception("Launch project failed"));
329await aspireServer.NotifyLogMessageAsync(DcpId, "1", isStdErr: false, "My Message", CancellationToken.None);
435client.DefaultRequestHeaders.Add(HttpContextExtensions.DCPInstanceIDHeader, DcpId);