Update WireMockProtoFileResolver and add tests for ProtoBufUtils #473
ci.yml
on: pull_request
Run Tests on Windows
6m 29s
Run Tests on Linux
2m 30s
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/IntegrationTests.cs#L11
Parameter 'output' is unread.
|
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/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.Abstractions/Admin/Settings/ProxyAndRecordSettingsModel.cs#L27
Non-nullable property 'Url' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|