16 references to GetValue
Aspire.Dashboard.Tests (16)
Integration\StartupTests.cs (16)
563Assert.Equal("Aspire version: {Version}", GetValue(w.State, "{OriginalFormat}"));
567Assert.Equal("Now listening on: {DashboardUri}", GetValue(w.State, "{OriginalFormat}"));
569var uri = new Uri((string)GetValue(w.State, "DashboardUri")!);
574Assert.Equal("OTLP/gRPC listening on: {OtlpEndpointUri}", GetValue(w.State, "{OriginalFormat}"));
576var uri = new Uri((string)GetValue(w.State, "OtlpEndpointUri")!);
581Assert.Equal("OTLP/HTTP listening on: {OtlpEndpointUri}", GetValue(w.State, "{OriginalFormat}"));
583var uri = new Uri((string)GetValue(w.State, "OtlpEndpointUri")!);
588Assert.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}"));
643Assert.Equal("Aspire version: {Version}", GetValue(w.State, "{OriginalFormat}"));
647Assert.Equal("Now listening on: {DashboardUri}", GetValue(w.State, "{OriginalFormat}"));
649var uri = new Uri((string)GetValue(w.State, "DashboardUri")!);
656Assert.Equal("OTLP/gRPC listening on: {OtlpEndpointUri}", GetValue(w.State, "{OriginalFormat}"));
658var uri = new Uri((string)GetValue(w.State, "OtlpEndpointUri")!);
663Assert.Equal("OTLP/HTTP listening on: {OtlpEndpointUri}", GetValue(w.State, "{OriginalFormat}"));
665var uri = new Uri((string)GetValue(w.State, "OtlpEndpointUri")!);
670Assert.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}"));