Skip to content

Refactor tests to simplify and inline test cases #52

Refactor tests to simplify and inline test cases

Refactor tests to simplify and inline test cases #52

Triggered via pull request June 5, 2024 22:18
Status Success
Total duration 6m 17s
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/Helpers.cs#L53
Possible null reference return.
build (ubuntu-22.04): Source/Moq.Analyzers/Helpers.cs#L54
Possible null reference return.
build (ubuntu-22.04): Source/Moq.Analyzers/Helpers.cs#L61
Possible null reference return.
build (ubuntu-22.04): Source/Moq.Analyzers/Helpers.cs#L67
Possible null reference return.
build (ubuntu-22.04): Source/Moq.Analyzers/Helpers.cs#L75
Possible null reference argument for parameter 'expression' in 'IEnumerable<IMethodSymbol> Helpers.GetAllMatchingSymbols<IMethodSymbol>(SemanticModel semanticModel, ExpressionSyntax expression)'.
build (ubuntu-22.04): Source/Moq.Analyzers/Helpers.cs#L87
Possible null reference argument for parameter 'item' in 'void List<T>.Add(T item)'.
build (ubuntu-22.04): Source/Moq.Analyzers/NoSealedClassMocksAnalyzer.cs#L35
Converting null literal or possible null value to non-nullable type.
build (ubuntu-22.04): Source/Moq.Analyzers/NoSealedClassMocksAnalyzer.cs#L39
Dereference of a possibly null reference.
build (ubuntu-22.04): Source/Moq.Analyzers/NoSealedClassMocksAnalyzer.cs#L39
Converting null literal or possible null value to non-nullable type.
build (ubuntu-22.04): Source/Moq.Analyzers/MoqMethodDescriptor.cs#L28
Possible null reference argument for parameter 'methodName' in 'bool MoqMethodDescriptor.DoesShortMethodMatch(string methodName)'.
build (windows-2022): Source/Moq.Analyzers/NoSealedClassMocksAnalyzer.cs#L35
Converting null literal or possible null value to non-nullable type.
build (windows-2022): Source/Moq.Analyzers/NoSealedClassMocksAnalyzer.cs#L39
Dereference of a possibly null reference.
build (windows-2022): Source/Moq.Analyzers/NoSealedClassMocksAnalyzer.cs#L39
Converting null literal or possible null value to non-nullable type.
build (windows-2022): Source/Moq.Analyzers/NoConstructorArgumentsForInterfaceMockAnalyzer.cs#L36
Converting null literal or possible null value to non-nullable type.
build (windows-2022): Source/Moq.Analyzers/NoConstructorArgumentsForInterfaceMockAnalyzer.cs#L40
Converting null literal or possible null value to non-nullable type.

Artifacts

Produced during runtime
Name Size
.NET Test Reports (ubuntu-22.04) Expired
7.9 KB
.NET Test Reports (windows-2022) Expired
7.71 KB
binlogs-ubuntu-22.04 Expired
564 KB
binlogs-windows-2022 Expired
585 KB
packages-ubuntu-22.04 Expired
27.4 KB
packages-windows-2022 Expired
27.6 KB