Skip to content

Update WireMockProtoFileResolver and add tests for ProtoBufUtils #472

Update WireMockProtoFileResolver and add tests for ProtoBufUtils

Update WireMockProtoFileResolver and add tests for ProtoBufUtils #472

Triggered via pull request February 1, 2025 08:59
Status Success
Total duration 5m 57s
Artifacts

ci.yml

on: pull_request
Run Tests on Windows
5m 44s
Run Tests on Windows
Run Tests on Linux
2m 24s
Run Tests on Linux
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
Run Tests on Linux: src/WireMock.Net.Aspire/WireMockServerArguments.cs#L108
Remove the unused private method 'Add'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
Run Tests on Linux: src/WireMock.Net.Aspire/WireMockServerLifecycleHook.cs#L15
Dispose 'cts' when it is no longer needed. (https://rules.sonarsource.com/csharp/RSPEC-2930)
Run Tests on Linux: src/WireMock.Net.Aspire/WireMockServerLifecycleHook.cs#L11
Dispose '_shutdownCts' when it is no longer needed. (https://rules.sonarsource.com/csharp/RSPEC-2930)
Run Tests on Linux: test/WireMock.Net.Aspire.TestAppHost/WeatherForecastApiMock.cs#L5
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
Run Tests on Linux: test/WireMock.Net.Aspire.Tests/Facts/DockerIsRunningInLinuxContainerModeFact.cs#L5
Make this class name end with 'Attribute'. (https://rules.sonarsource.com/csharp/RSPEC-3376)
Run Tests on Linux: test/WireMock.Net.Aspire.Tests/Facts/DockerIsRunningInLinuxContainerModeFact.cs#L5
Specify AttributeUsage on 'DockerIsRunningInLinuxContainerModeFact' to improve readability, even though it inherits it from its base type. (https://rules.sonarsource.com/csharp/RSPEC-3993)
Run Tests on Linux: test/WireMock.Net.TestWebApplication/Program.cs#L8
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
Run Tests on Linux: test/WireMock.Net.TestWebApplication/Program.cs#L37
Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
Run Tests on Linux: test/WireMock.Net.TestWebApplication/Program.cs#L44
Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
Run Tests on Linux: src/WireMock.Net.Abstractions/Admin/Requests/LogRequestModel.cs#L18
Non-nullable property 'ClientIP' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Run Tests on Linux: src/WireMock.Net.Abstractions/Admin/Requests/LogRequestModel.cs#L28
Non-nullable property 'Path' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Run Tests on Linux: src/WireMock.Net.Abstractions/Admin/Requests/LogRequestModel.cs#L33
Non-nullable property 'AbsolutePath' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Run Tests on Linux: src/WireMock.Net.Abstractions/Admin/Requests/LogRequestModel.cs#L38
Non-nullable property 'Url' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Run Tests on Linux: src/WireMock.Net.Abstractions/Admin/Requests/LogRequestModel.cs#L43
Non-nullable property 'AbsoluteUrl' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Run Tests on Linux: src/WireMock.Net.Abstractions/Admin/Requests/LogRequestModel.cs#L58
Non-nullable property 'Method' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Run Tests on Linux: src/WireMock.Net.Abstractions/Admin/Requests/LogRequestMatchModel.cs#L50
Non-nullable property 'MatchDetails' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Run Tests on Linux: src/WireMock.Net.Abstractions/Admin/Mappings/EncodingModel.cs#L19
Non-nullable property 'EncodingName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Run Tests on Linux: src/WireMock.Net.Abstractions/Admin/Mappings/EncodingModel.cs#L24
Non-nullable property 'WebName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Run Tests on Linux: src/WireMock.Net.Abstractions/Admin/Scenarios/ScenarioStateModel.cs#L14
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.