10 references to GetValue
Aspire.Dashboard.Tests (10)
Integration\FrontendBrowserTokenAuthTests.cs (10)
174Assert.Equal("Aspire version: {Version}", GetValue(w.State, "{OriginalFormat}"));
178Assert.Equal("Now listening on: {DashboardUri}", GetValue(w.State, "{OriginalFormat}"));
180var uri = new Uri((string)GetValue(w.State, "DashboardUri")!);
185Assert.Equal("Login to the dashboard at {DashboardLoginUrl}", GetValue(w.State, "{OriginalFormat}"));
187var uri = new Uri((string)GetValue(w.State, "DashboardLoginUrl")!, UriKind.Absolute);
193Assert.Equal("OTLP/gRPC listening on: {OtlpEndpointUri}", GetValue(w.State, "{OriginalFormat}"));
195var uri = new Uri((string)GetValue(w.State, "OtlpEndpointUri")!);
200Assert.Equal("OTLP/HTTP listening on: {OtlpEndpointUri}", GetValue(w.State, "{OriginalFormat}"));
202var uri = new Uri((string)GetValue(w.State, "OtlpEndpointUri")!);
207Assert.Equal("OTLP server is unsecured. Untrusted apps can send telemetry to the dashboard. For more information, visit https://go.microsoft.com/fwlink/?linkid=2267030", GetValue(w.State, "{OriginalFormat}"));