Refactor unit tests: data driven tests and leverage Microsoft.CodeAnalysis.Testing patterns #84
Annotations
10 warnings
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))'.
|
Source/Moq.Analyzers/Helpers.cs#L88
Possible null reference argument for parameter 'item' in 'void List<T>.Add(T item)'.
|
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
|
Source/Moq.Analyzers/AsShouldBeUsedOnlyForInterfaceAnalyzer.cs#L7
Enable analyzer release tracking for the analyzer project containing rule 'Moq1300' (https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md)
|
Source/Moq.Analyzers/NoSealedClassMocksAnalyzer.cs#L7
Enable analyzer release tracking for the analyzer project containing rule 'Moq1000' (https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md)
|
Source/Moq.Analyzers/Helpers.cs#L101
TODO Check what is the best way to do such checks (https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0026.md)
|
Source/Moq.Analyzers/NoConstructorArgumentsForInterfaceMockAnalyzer.cs#L32
TODO Think how to make this piece more elegant while fast (https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0026.md)
|
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
|
Source/Moq.Analyzers/ConstructorArgumentsShouldMatchAnalyzer.cs#L9
Enable analyzer release tracking for the analyzer project containing rule 'Moq1002' (https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md)
|
Source/Moq.Analyzers/NoSealedClassMocksAnalyzer.cs#L30
TODO Think how to make this piece more elegant while fast (https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0026.md)
|
This job succeeded
Loading