Skip to content

fix: remove duplicate FindSetupMethodFromCallbackInvocation test

4d44b6a
Select commit
Loading
Failed to load commit list.
Merged

test: add unit tests for 16 untested Common extension methods #898

fix: remove duplicate FindSetupMethodFromCallbackInvocation test
4d44b6a
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Feb 17, 2026 in 0s

6 new issues (0 max.) of at least medium severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1
- Added 6
           

Complexity increasing per file
==============================
- tests/Moq.Analyzers.Test/Common/MoqVerificationHelpersTests.cs  26
- tests/Moq.Analyzers.Test/Common/SyntaxNodeExtensionsTests.cs  17
- tests/Moq.Analyzers.Test/Common/ITypeSymbolExtensionsTests.cs  4
- tests/Moq.Analyzers.Test/Common/InvocationExpressionSyntaxExtensionsTests.cs  21
- tests/Moq.Analyzers.Test/Common/IMethodSymbolExtensionsTests.cs  25
- tests/Moq.Analyzers.Test/Common/SemanticModelExtensionsTests.cs  22
- tests/Moq.Analyzers.Test/Common/MoqKnownSymbolExtensionsTests.cs  4
- tests/Moq.Analyzers.Test/Helpers/CompilationHelper.cs  5
         

Complexity decreasing per file
==============================
+ tests/Moq.Analyzers.Test/Common/DiagnosticExtensionsTests.cs  -1
+ tests/Moq.Analyzers.Test/Common/MoqKnownSymbolsTests.cs  -2
+ tests/Moq.Analyzers.Test/Common/IOperationExtensionsTests.cs  -1
+ tests/Moq.Analyzers.Test/Common/EventSyntaxExtensionsTests.cs  -3
         

Clones added
============
- tests/Moq.Analyzers.Test/Common/SyntaxNodeExtensionsTests.cs  2
- tests/Moq.Analyzers.Test/Common/InvocationExpressionSyntaxExtensionsTests.cs  11
- tests/Moq.Analyzers.Test/Common/IMethodSymbolExtensionsTests.cs  6
- tests/Moq.Analyzers.Test/Common/SemanticModelExtensionsTests.cs  14
         

Clones removed
==============
+ tests/Moq.Analyzers.Test/Common/DiagnosticExtensionsTests.cs  -2
+ tests/Moq.Analyzers.Test/Common/MoqKnownSymbolsTests.cs  -2
+ tests/Moq.Analyzers.Test/Common/IOperationExtensionsTests.cs  -4
+ tests/Moq.Analyzers.Test/Common/ISymbolExtensionsTests.cs  -5
+ tests/Moq.Analyzers.Test/Common/EventSyntaxExtensionsTests.cs  -4
         

See the complete overview on Codacy

Annotations

Check warning on line 1 in tests/Moq.Analyzers.Test/Common/IMethodSymbolExtensionsTests.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tests/Moq.Analyzers.Test/Common/IMethodSymbolExtensionsTests.cs#L1

Provide an 'AssemblyVersion' attribute for assembly 'srcassembly.dll'.

Check warning on line 1 in tests/Moq.Analyzers.Test/Common/ITypeSymbolExtensionsTests.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tests/Moq.Analyzers.Test/Common/ITypeSymbolExtensionsTests.cs#L1

Provide an 'AssemblyVersion' attribute for assembly 'srcassembly.dll'.

Check warning on line 1 in tests/Moq.Analyzers.Test/Common/InvocationExpressionSyntaxExtensionsTests.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tests/Moq.Analyzers.Test/Common/InvocationExpressionSyntaxExtensionsTests.cs#L1

Provide an 'AssemblyVersion' attribute for assembly 'srcassembly.dll'.

Check warning on line 1 in tests/Moq.Analyzers.Test/Common/MoqKnownSymbolExtensionsTests.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tests/Moq.Analyzers.Test/Common/MoqKnownSymbolExtensionsTests.cs#L1

Provide an 'AssemblyVersion' attribute for assembly 'srcassembly.dll'.

Check warning on line 1 in tests/Moq.Analyzers.Test/Common/SyntaxNodeExtensionsTests.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tests/Moq.Analyzers.Test/Common/SyntaxNodeExtensionsTests.cs#L1

Provide an 'AssemblyVersion' attribute for assembly 'srcassembly.dll'.

Check warning on line 1 in tests/Moq.Analyzers.Test/Helpers/CompilationHelper.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tests/Moq.Analyzers.Test/Helpers/CompilationHelper.cs#L1

Provide an 'AssemblyVersion' attribute for assembly 'srcassembly.dll'.