Skip to content

[BMSPT-299] test file fix #282

[BMSPT-299] test file fix

[BMSPT-299] test file fix #282

Triggered via push September 3, 2024 09:24
Status Success
Total duration 1m 0s
Artifacts

main.yml

on: push
Running tests
50s
Running tests
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Running tests: src/bcf-toolkit/InputArguments.cs#L46
Possible null reference argument for parameter 'sourcePath' in 'InputArguments.InputArguments(string sourcePath, string target)'.
Running tests: src/bcf-toolkit/InputArguments.cs#L47
Possible null reference argument for parameter 'target' in 'InputArguments.InputArguments(string sourcePath, string target)'.
Running tests: src/bcf-toolkit/Model/FileData.cs#L7
Non-nullable field 'Mime' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Running tests: src/bcf-toolkit/Model/FileData.cs#L11
Non-nullable field 'Data' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Running tests: src/bcf-toolkit/Model/BcfVersionEnum.cs#L37
The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value. For example, the pattern '(BcfToolkit.Model.BcfVersionEnum)2' is not covered.
Running tests: src/bcf-toolkit/Utils/JsonExtensions.cs#L90
Converting null literal or possible null value to non-nullable type.
Running tests: src/bcf-toolkit/Utils/JsonExtensions.cs#L81
Nullability of reference types in value of type 'Task<T?>' doesn't match target type 'Task<T>'.
Running tests: src/bcf-toolkit/Model/Bcf21/MarkupExtensions.cs#L84
Non-nullable property 'DocumentData' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Running tests: src/bcf-toolkit/Utils/JsonExtensions.cs#L144
Possible null reference argument for parameter 'path' in 'StreamReader.StreamReader(string path)'.
Running tests: src/bcf-toolkit/Utils/JsonExtensions.cs#L150
The variable 'e' is declared but never used
Running tests
Could not find any files for ./artifacts/*.xml