16 references to GetValue
Aspire.Dashboard.Tests (16)
Integration\StartupTests.cs (16)
603Assert.Equal("Aspire version: {Version}", GetValue(w.State, "{OriginalFormat}"));
607Assert.Equal("Now listening on: {DashboardUri}", GetValue(w.State, "{OriginalFormat}"));
609var uri = new Uri((string)GetValue(w.State, "DashboardUri")!);
614Assert.Equal("OTLP/gRPC listening on: {OtlpEndpointUri}", GetValue(w.State, "{OriginalFormat}"));
616var uri = new Uri((string)GetValue(w.State, "OtlpEndpointUri")!);
621Assert.Equal("OTLP/HTTP listening on: {OtlpEndpointUri}", GetValue(w.State, "{OriginalFormat}"));
623var uri = new Uri((string)GetValue(w.State, "OtlpEndpointUri")!);
628Assert.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}"));
683Assert.Equal("Aspire version: {Version}", GetValue(w.State, "{OriginalFormat}"));
687Assert.Equal("Now listening on: {DashboardUri}", GetValue(w.State, "{OriginalFormat}"));
689var uri = new Uri((string)GetValue(w.State, "DashboardUri")!);
696Assert.Equal("OTLP/gRPC listening on: {OtlpEndpointUri}", GetValue(w.State, "{OriginalFormat}"));
698var uri = new Uri((string)GetValue(w.State, "OtlpEndpointUri")!);
703Assert.Equal("OTLP/HTTP listening on: {OtlpEndpointUri}", GetValue(w.State, "{OriginalFormat}"));
705var uri = new Uri((string)GetValue(w.State, "OtlpEndpointUri")!);
710Assert.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}"));