Skip to content

Refactor unit tests: data driven tests and leverage Microsoft.CodeAnalysis.Testing patterns #84

Refactor unit tests: data driven tests and leverage Microsoft.CodeAnalysis.Testing patterns

Refactor unit tests: data driven tests and leverage Microsoft.CodeAnalysis.Testing patterns #84

Triggered via pull request June 10, 2024 06:15
Status Success
Total duration 7m 47s
Artifacts 6

main.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
build (ubuntu-22.04): Source/Moq.Analyzers/CallbackSignatureShouldMatchMockedMethodAnalyzer.cs#L62
Possible null reference argument for parameter 'expression' in 'TypeInfo CSharpExtensions.GetTypeInfo(SemanticModel? semanticModel, ExpressionSyntax expression, CancellationToken cancellationToken = default(CancellationToken))'.
build (ubuntu-22.04): Source/Moq.Analyzers/Helpers.cs#L88
Possible null reference argument for parameter 'item' in 'void List<T>.Add(T item)'.
build (ubuntu-22.04): Source/Moq.Analyzers/NoSealedClassMocksAnalyzer.cs#L9
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
build (ubuntu-22.04): Source/Moq.Analyzers/ConstructorArgumentsShouldMatchAnalyzer.cs#L11
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
build (windows-2022): Source/Moq.Analyzers/CallbackSignatureShouldMatchMockedMethodAnalyzer.cs#L62
Possible null reference argument for parameter 'expression' in 'TypeInfo CSharpExtensions.GetTypeInfo(SemanticModel? semanticModel, ExpressionSyntax expression, CancellationToken cancellationToken = default(CancellationToken))'.
build (windows-2022): Source/Moq.Analyzers/Helpers.cs#L88
Possible null reference argument for parameter 'item' in 'void List<T>.Add(T item)'.
build (windows-2022): Source/Moq.Analyzers/ConstructorArgumentsShouldMatchAnalyzer.cs#L11
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
build (windows-2022): Source/Moq.Analyzers/CallbackSignatureShouldMatchMockedMethodAnalyzer.cs#L9
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period

Artifacts

Produced during runtime
Name Size
.NET Test Reports (ubuntu-22.04) Expired
34.2 KB
.NET Test Reports (windows-2022) Expired
33.9 KB
binlogs-ubuntu-22.04 Expired
560 KB
binlogs-windows-2022 Expired
580 KB
packages-ubuntu-22.04 Expired
27.9 KB
packages-windows-2022 Expired
28.2 KB