File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
test/Sentry.Extensions.Logging.Tests Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,13 @@ namespace Sentry.Extensions.Logging.Tests;
44
55public class SentryHttpMessageHandlerBuilderFilterTests
66{
7- [ Fact ]
7+ [ SkippableFact ]
88 public void Configure_HandlerEnabled_ShouldAddSentryHttpMessageHandler ( )
99 {
10+ #if __ANDROID__
11+ Skip . If ( true , "Can't create proxies for classes without parameterless constructors on Android" ) ;
12+ #endif
13+
1014 // Arrange
1115 var hub = Substitute . For < IHub > ( ) ;
1216 SentryClientExtensions . SentryOptionsForTestingOnly = new SentryOptions { DisableSentryHttpMessageHandler = false } ;
@@ -24,9 +28,13 @@ public void Configure_HandlerEnabled_ShouldAddSentryHttpMessageHandler()
2428 handlerBuilder . AdditionalHandlers . Should ( ) . ContainSingle ( h => h is SentryHttpMessageHandler ) ;
2529 }
2630
27- [ Fact ]
31+ [ SkippableFact ]
2832 public void Configure_HandlerDisabled_ShouldNotAddSentryHttpMessageHandler ( )
2933 {
34+ #if __ANDROID__
35+ Skip . If ( true , "Can't create proxies for classes without parameterless constructors on Android" ) ;
36+ #endif
37+
3038 // Arrange
3139 var hub = Substitute . For < IHub > ( ) ;
3240 SentryClientExtensions . SentryOptionsForTestingOnly = new SentryOptions { DisableSentryHttpMessageHandler = true } ;
You can’t perform that action at this time.
0 commit comments