Skip to content

refactor: replaced RequestUriMatcher with UriMatcher #65

refactor: replaced RequestUriMatcher with UriMatcher

refactor: replaced RequestUriMatcher with UriMatcher #65

Triggered via pull request September 7, 2024 16:56
Status Failure
Total duration 1m 39s
Artifacts

main.yml

on: pull_request
determine-version
12s
determine-version
build (v4.3.2-pr110.16)
1m 11s
build (v4.3.2-pr110.16)
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
build (v4.3.2-pr110.16): test/MockHttp.Tests/Extensions/RequestMatchingExtensionsTests.cs#L846
Argument 1: cannot convert from 'method group' to 'System.Action<MockHttp.RequestMatching, string, bool>'
build (v4.3.2-pr110.16): test/MockHttp.Tests/Extensions/RequestMatchingExtensionsTests.cs#L128
No overload for method 'RequestUri' takes 2 arguments
build (v4.3.2-pr110.16): test/MockHttp.Tests/Extensions/RequestMatchingExtensionsTests.cs#L171
No overload for method 'RequestUri' takes 2 arguments
build (v4.3.2-pr110.16): test/MockHttp.Tests/Extensions/RequestMatchingExtensionsTests.cs#L128
No overload for method 'RequestUri' takes 2 arguments
build (v4.3.2-pr110.16): test/MockHttp.Tests/Extensions/RequestMatchingExtensionsTests.cs#L171
No overload for method 'RequestUri' takes 2 arguments
build (v4.3.2-pr110.16): test/MockHttp.Tests/Extensions/RequestMatchingExtensionsTests.cs#L846
Argument 1: cannot convert from 'method group' to 'System.Action<MockHttp.RequestMatching, string, bool>'
build (v4.3.2-pr110.16): test/MockHttp.Tests/Extensions/RequestMatchingExtensionsTests.cs#L128
No overload for method 'RequestUri' takes 2 arguments
build (v4.3.2-pr110.16): test/MockHttp.Tests/Extensions/RequestMatchingExtensionsTests.cs#L171
No overload for method 'RequestUri' takes 2 arguments
build (v4.3.2-pr110.16): test/MockHttp.Tests/Extensions/RequestMatchingExtensionsTests.cs#L846
Argument 1: cannot convert from 'method group' to 'System.Action<MockHttp.RequestMatching, string, bool>'
build (v4.3.2-pr110.16): test/MockHttp.Tests/Extensions/RequestMatchingExtensionsTests.cs#L128
No overload for method 'RequestUri' takes 2 arguments
build (v4.3.2-pr110.16): src/MockHttp/Responses/IResponseBehavior.cs#L7
Rename type name ResponseHandlerDelegate so that it does not end in 'Delegate' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
build (v4.3.2-pr110.16): src/MockHttp/Responses/IResponseBehavior.cs#L22
In virtual/interface member IResponseBehavior.HandleAsync(MockHttpRequestContext, HttpResponseMessage, ResponseHandlerDelegate, CancellationToken), rename parameter next so that it no longer conflicts with the reserved language keyword 'Next'. Using a reserved keyword as the name of a parameter on a virtual/interface member makes it harder for consumers in other languages to override/implement the member. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
build (v4.3.2-pr110.16): src/MockHttp/Responses/IResponseBehavior.cs#L7
Rename type name ResponseHandlerDelegate so that it does not end in 'Delegate' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
build (v4.3.2-pr110.16): src/MockHttp/Responses/IResponseBehavior.cs#L22
In virtual/interface member IResponseBehavior.HandleAsync(MockHttpRequestContext, HttpResponseMessage, ResponseHandlerDelegate, CancellationToken), rename parameter next so that it no longer conflicts with the reserved language keyword 'Next'. Using a reserved keyword as the name of a parameter on a virtual/interface member makes it harder for consumers in other languages to override/implement the member. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
build (v4.3.2-pr110.16): src/MockHttp/Responses/IResponseBehavior.cs#L7
Rename type name ResponseHandlerDelegate so that it does not end in 'Delegate' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
build (v4.3.2-pr110.16): src/MockHttp/Responses/IResponseBehavior.cs#L22
In virtual/interface member IResponseBehavior.HandleAsync(MockHttpRequestContext, HttpResponseMessage, ResponseHandlerDelegate, CancellationToken), rename parameter next so that it no longer conflicts with the reserved language keyword 'Next'. Using a reserved keyword as the name of a parameter on a virtual/interface member makes it harder for consumers in other languages to override/implement the member. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
build (v4.3.2-pr110.16): src/MockHttp/Responses/IResponseBehavior.cs#L7
Rename type name ResponseHandlerDelegate so that it does not end in 'Delegate' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
build (v4.3.2-pr110.16): src/MockHttp/Responses/IResponseBehavior.cs#L22
In virtual/interface member IResponseBehavior.HandleAsync(MockHttpRequestContext, HttpResponseMessage, ResponseHandlerDelegate, CancellationToken), rename parameter next so that it no longer conflicts with the reserved language keyword 'Next'. Using a reserved keyword as the name of a parameter on a virtual/interface member makes it harder for consumers in other languages to override/implement the member. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
build (v4.3.2-pr110.16): src/MockHttp/HttpMockException.cs#L39
Provide a message for the ObsoleteAttribute that marks .ctor as Obsolete (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1041)
build (v4.3.2-pr110.16): src/MockHttp/Responses/IResponseBehavior.cs#L7
Rename type name ResponseHandlerDelegate so that it does not end in 'Delegate' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)