6 references to HasProfilingProvider
Aspire.Cli.Tests (6)
Telemetry\AgentTelemetryPersistenceTests.cs (1)
29Assert.Throws<InvalidOperationException>(() => manager.HasProfilingProvider);
Telemetry\TelemetryConfigurationTests.cs (5)
232Assert.False(telemetryManager.HasProfilingProvider, "Expected profiling export to require explicit profiling opt-in"); 261Assert.False(manager.HasProfilingProvider, "Expected detached child profiling export to require an actual profiling session"); 280Assert.True(telemetryManager.HasProfilingProvider, "Expected profiling OTLP export to work even when reported telemetry is opted out"); 297Assert.True(telemetryManager.HasProfilingProvider, "Expected profiling telemetry to use the profiling provider"); 317Assert.False(telemetryManager.HasProfilingProvider);