From a8be539cf3c3b62f3637de7810354dfc1d31d0be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20P=C3=B6lz?= <38893694+Flash0ver@users.noreply.github.com> Date: Tue, 25 Nov 2025 20:41:17 +0100 Subject: [PATCH] test: remove obsolete verified file --- .../ApiApprovalTests.Run.Net4_8.verified.txt | 82 ------------------- 1 file changed, 82 deletions(-) delete mode 100644 test/Sentry.AspNetCore.Tests/ApiApprovalTests.Run.Net4_8.verified.txt diff --git a/test/Sentry.AspNetCore.Tests/ApiApprovalTests.Run.Net4_8.verified.txt b/test/Sentry.AspNetCore.Tests/ApiApprovalTests.Run.Net4_8.verified.txt deleted file mode 100644 index 92074d97ed..0000000000 --- a/test/Sentry.AspNetCore.Tests/ApiApprovalTests.Run.Net4_8.verified.txt +++ /dev/null @@ -1,82 +0,0 @@ -namespace Microsoft.AspNetCore.Builder -{ - public static class SentryTracingMiddlewareExtensions - { - public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseSentryTracing(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder) { } - } -} -namespace Microsoft.AspNetCore.Hosting -{ - public static class SentryWebHostBuilderExtensions - { - public static void AddSentryTunneling(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, params string[] hostnames) { } - public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSentry(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder) { } - public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSentry(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder, System.Action? configureSentry) { } - public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSentry(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder, System.Action? configureOptions) { } - public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSentry(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder, System.Action? configureSentry) { } - public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSentry(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder, System.Action? configureOptions) { } - public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSentry(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder, string dsn) { } - public static void UseSentryTunneling(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder, string path = "/tunnel") { } - } -} -namespace Microsoft.Extensions.DependencyInjection -{ - public static class ServiceCollectionExtensions - { - public static Sentry.AspNetCore.ISentryBuilder AddSentry(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) { } - } -} -namespace Sentry.AspNetCore -{ - public interface ISentryBuilder - { - Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get; } - } - public static class SamplingExtensions - { - public static Microsoft.AspNetCore.Http.HttpContext? TryGetHttpContext(this Sentry.TransactionSamplingContext samplingContext) { } - public static string? TryGetHttpMethod(this Sentry.TransactionSamplingContext samplingContext) { } - public static string? TryGetHttpPath(this Sentry.TransactionSamplingContext samplingContext) { } - public static string? TryGetHttpRoute(this Sentry.TransactionSamplingContext samplingContext) { } - } - public static class ScopeExtensions - { - public static void Populate(this Sentry.Scope scope, System.Diagnostics.Activity activity) { } - public static void Populate(this Sentry.Scope scope, Microsoft.AspNetCore.Http.HttpContext context, Sentry.AspNetCore.SentryAspNetCoreOptions options) { } - } - [Microsoft.Extensions.Logging.ProviderAlias("Sentry")] - public class SentryAspNetCoreLoggerProvider : Sentry.Extensions.Logging.SentryLoggerProvider - { - public SentryAspNetCoreLoggerProvider(Microsoft.Extensions.Options.IOptions options, Sentry.IHub hub) { } - } - public class SentryAspNetCoreOptions : Sentry.Extensions.Logging.SentryLoggingOptions - { - public SentryAspNetCoreOptions() { } - public bool AdjustStandardEnvironmentNameCasing { get; set; } - public bool AutoRegisterTracing { get; set; } - public bool FlushOnCompletedRequest { get; set; } - public bool IncludeActivityData { get; set; } - public Sentry.Extensibility.RequestSize MaxRequestBodySize { get; set; } - public Sentry.AspNetCore.TransactionNameProvider? TransactionNameProvider { get; set; } - } - public class SentryAspNetCoreOptionsSetup : Microsoft.Extensions.Options.ConfigureFromConfigurationOptions - { - public SentryAspNetCoreOptionsSetup(Microsoft.Extensions.Logging.Configuration.ILoggerProviderConfiguration providerConfiguration) { } - public override void Configure(Sentry.AspNetCore.SentryAspNetCoreOptions options) { } - } - public static class SentryBuilderExtensions - { - public static Sentry.AspNetCore.ISentryBuilder AddSentryOptions(this Sentry.AspNetCore.ISentryBuilder builder, System.Action? configureOptions) { } - } - public class SentryStartupFilter : Microsoft.AspNetCore.Hosting.IStartupFilter - { - public SentryStartupFilter() { } - public System.Action Configure(System.Action next) { } - } - public class SentryTunnelMiddleware : Microsoft.AspNetCore.Http.IMiddleware - { - public SentryTunnelMiddleware(string[] allowedHosts) { } - public System.Threading.Tasks.Task InvokeAsync(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Http.RequestDelegate next) { } - } - public delegate string? TransactionNameProvider(Microsoft.AspNetCore.Http.HttpContext context); -} \ No newline at end of file