Skip to content

Adding unit tests for Hardware services #44

Adding unit tests for Hardware services

Adding unit tests for Hardware services #44

Triggered via pull request April 4, 2024 15:00
Status Failure
Total duration 48s
Artifacts

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
build
Process completed with exit code 1.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: Source/skullOS.HardwareServices/BuzzerService.cs#L9
Cannot convert null literal to non-nullable reference type.
build: Source/skullOS.HardwareServices/LedService.cs#L11
Cannot convert null literal to non-nullable reference type.
build: Source/skullOS.HardwareServices/ProgrammableLedService.cs#L11
Cannot convert null literal to non-nullable reference type.
build: Source/skullOS.HardwareServices/MicrophoneService.cs#L10
Cannot convert null literal to non-nullable reference type.
build: Source/skullOS.HardwareServices/Exceptions/CameraErrorException.cs#L10
Parameter 'modeWhenFailed' is unread.
build: Source/skullOS.HardwareServices/CameraService.cs#L16
Non-nullable field '_processSettings' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: Source/Tests/HardwareTests/BuzzerTest.cs#L9
Non-nullable field 'sut' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: Source/Tests/HardwareTests/CameraTest.cs#L7
Non-nullable field 'sut' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: Source/Tests/HardwareTests/CameraTest.cs#L7
The field 'CameraTest.sut' is never used
build: Source/skullOS.Modules/Adventure.cs#L17
Cannot convert null literal to non-nullable reference type.