Skip to content

Add "AddUrl" to WireMockContainerBuilder to support grpc #463

Add "AddUrl" to WireMockContainerBuilder to support grpc

Add "AddUrl" to WireMockContainerBuilder to support grpc #463

Triggered via pull request January 29, 2025 06:28
Status Success
Total duration 4m 11s
Artifacts

ci.yml

on: pull_request
Run Tests on Windows
3m 58s
Run Tests on Windows
Run Tests on Linux
2m 35s
Run Tests on Linux
Fit to window
Zoom out
Zoom in

Annotations

21 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/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.
Run Tests on Linux: src/WireMock.Net.Abstractions/Admin/Settings/ProxyAndRecordSettingsModel.cs#L12
Non-nullable property 'ClientX509Certificate2ThumbprintOrSubjectName' 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/Settings/ProxyAndRecordSettingsModel.cs#L17
Non-nullable property 'WebProxySettings' 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.TUnit/TUnitWireMockLogger.cs#L54
Rename parameter 'formatString' to 'message' to match the interface declaration. (https://rules.sonarsource.com/csharp/RSPEC-927)