Skip to content

Add SetupLoggerCallback migration analyzer and reset fix (#116) #47

Add SetupLoggerCallback migration analyzer and reset fix (#116)

Add SetupLoggerCallback migration analyzer and reset fix (#116) #47

Triggered via push April 21, 2026 15:28
Status Success
Total duration 4m 18s
Artifacts 3

ci_master.yml

on: push
Matrix: call-template / build-test
Matrix: call-template / codeql / analyze
call-template  /  tests-aggregate
3s
call-template / tests-aggregate
Fit to window
Zoom out
Zoom in

Annotations

41 warnings
call-template / build-test (10.0.x): FastMoq.Tests/LegacyMoqCompatibilityTests.cs#L30
Use 'mocker.VerifyLogged(LogLevel.Information, "test", 2)' instead of VerifyLogger(...) for provider-safe logger assertions
call-template / build-test (10.0.x): FastMoq.Tests/LegacyMoqCompatibilityTests.cs#L27
Use 'mocker.VerifyLogged(LogLevel.Information, "test")' instead of VerifyLogger(...) for provider-safe logger assertions
call-template / build-test (10.0.x): FastMoq.Tests/LegacyMoqCompatibilityTests.cs#L24
Use 'mocker.VerifyLogged(LogLevel.Information, "test", 0)' instead of VerifyLogger(...) for provider-safe logger assertions
call-template / build-test (10.0.x): FastMoq.Tests/LegacyMoqCompatibilityTests.cs#L34
Use 'mocker.GetObject<ILogger>()' for the dependency instance instead of using '.Object' on a tracked FastMoq mock
call-template / build-test (10.0.x): FastMoq.Tests/LegacyMoqCompatibilityTests.cs#L29
Use 'mocker.GetObject<ILogger>()' for the dependency instance instead of using '.Object' on a tracked FastMoq mock
call-template / build-test (10.0.x): FastMoq.Tests/LegacyMoqCompatibilityTests.cs#L26
Use 'mocker.GetObject<ILogger>()' for the dependency instance instead of using '.Object' on a tracked FastMoq mock
call-template / build-test (10.0.x): FastMoq.Tests/MocksTests.cs#L2159
Use 'mocker.OptionalParameterResolution = OptionalParameterResolutionMode.ResolveViaMocker' instead of the MockOptional compatibility property
call-template / build-test (10.0.x): FastMoq.Tests/LegacyMoqCompatibilityTests.cs#L23
Use 'GetOrCreateMock<T>()' instead of obsolete 'GetMock<T>()' when the call only needs a tracked FastMoq mock
call-template / build-test (10.0.x): FastMoq.Database/DbContextMockerExtensions.cs#L104
'Mocker.AddMock<T>(Mock<T>, bool, bool)' is obsolete: 'Use GetOrCreateMock<T>(...) for tracked mocks or AddType<T>(...) for concrete instances. This legacy Moq compatibility API will be removed in v5.'
call-template / build-test (10.0.x): FastMoq.Database/DbContextMockerExtensions.cs#L97
'Mocker.GetMock<T>(params object?[])' is obsolete: 'Use GetOrCreateMock<T>(...) for provider-neutral retrieval. Keep GetMock<T>(...) only for legacy Moq-specific setup/access. This API will be removed in v5.'
call-template / build-test (9.0.x): FastMoq.Tests/LegacyMoqCompatibilityTests.cs#L26
Use 'mocker.GetObject<ILogger>()' for the dependency instance instead of using '.Object' on a tracked FastMoq mock
call-template / build-test (9.0.x): FastMoq.Tests/LegacyMoqCompatibilityTests.cs#L45
Use 'GetOrCreateMock<T>()' instead of obsolete 'GetMock<T>()' when the call only needs a tracked FastMoq mock
call-template / build-test (9.0.x): FastMoq.Tests/LegacyMoqCompatibilityTests.cs#L23
Use 'GetOrCreateMock<T>()' instead of obsolete 'GetMock<T>()' when the call only needs a tracked FastMoq mock
call-template / build-test (9.0.x): FastMoq.Tests/MocksTests.cs#L2159
Use 'mocker.OptionalParameterResolution = OptionalParameterResolutionMode.ResolveViaMocker' instead of the MockOptional compatibility property
call-template / build-test (9.0.x): FastMoq.Tests/HttpTests.cs#L305
API 'Protected' requires FastMoq provider 'moq', but this project does not resolve 'moq' as the effective provider. Use
call-template / build-test (9.0.x): FastMoq.Tests/HttpTests.cs#L283
API 'Protected' requires FastMoq provider 'moq', but this project does not resolve 'moq' as the effective provider. Use
call-template / build-test (9.0.x): FastMoq.Tests/HttpTests.cs#L229
API 'AsMoq' requires FastMoq provider 'moq', but this project does not resolve 'moq' as the effective provider. Use
call-template / build-test (9.0.x): FastMoq.Tests/HttpTests.cs#L160
API 'SetupHttpMessage' requires FastMoq provider 'moq', but this project does not resolve 'moq' as the effective provider. Use
call-template / build-test (9.0.x): FastMoq.Database/DbContextMockerExtensions.cs#L104
'Mocker.AddMock<T>(Mock<T>, bool, bool)' is obsolete: 'Use GetOrCreateMock<T>(...) for tracked mocks or AddType<T>(...) for concrete instances. This legacy Moq compatibility API will be removed in v5.'
call-template / build-test (9.0.x): FastMoq.Database/DbContextMockerExtensions.cs#L97
'Mocker.GetMock<T>(params object?[])' is obsolete: 'Use GetOrCreateMock<T>(...) for provider-neutral retrieval. Keep GetMock<T>(...) only for legacy Moq-specific setup/access. This API will be removed in v5.'
call-template / build-test (8.0.x): FastMoq.Tests/LegacyMoqCompatibilityTests.cs#L48
Use 'mocker.GetObject<ILogger<NullLogger>>()' for the dependency instance instead of using '.Object' on a tracked FastMoq mock
call-template / build-test (8.0.x): FastMoq.Tests/LegacyMoqCompatibilityTests.cs#L34
Use 'mocker.GetObject<ILogger>()' for the dependency instance instead of using '.Object' on a tracked FastMoq mock
call-template / build-test (8.0.x): FastMoq.Tests/LegacyMoqCompatibilityTests.cs#L29
Use 'mocker.GetObject<ILogger>()' for the dependency instance instead of using '.Object' on a tracked FastMoq mock
call-template / build-test (8.0.x): FastMoq.Tests/LegacyMoqCompatibilityTests.cs#L26
Use 'mocker.GetObject<ILogger>()' for the dependency instance instead of using '.Object' on a tracked FastMoq mock
call-template / build-test (8.0.x): FastMoq.Tests/LegacyMoqCompatibilityTests.cs#L45
Use 'GetOrCreateMock<T>()' instead of obsolete 'GetMock<T>()' when the call only needs a tracked FastMoq mock
call-template / build-test (8.0.x): FastMoq.Tests/LegacyMoqCompatibilityTests.cs#L23
Use 'GetOrCreateMock<T>()' instead of obsolete 'GetMock<T>()' when the call only needs a tracked FastMoq mock
call-template / build-test (8.0.x): FastMoq.Tests/MoqProviderExtensionTests.cs#L54
API 'AsMoq' requires FastMoq provider 'moq', but this project does not resolve 'moq' as the effective provider. Use
call-template / build-test (8.0.x): FastMoq.Tests/MocksTests.cs#L2159
Use 'mocker.OptionalParameterResolution = OptionalParameterResolutionMode.ResolveViaMocker' instead of the MockOptional compatibility property
call-template / build-test (8.0.x): FastMoq.Database/DbContextMockerExtensions.cs#L104
'Mocker.AddMock<T>(Mock<T>, bool, bool)' is obsolete: 'Use GetOrCreateMock<T>(...) for tracked mocks or AddType<T>(...) for concrete instances. This legacy Moq compatibility API will be removed in v5.'
call-template / build-test (8.0.x): FastMoq.Database/DbContextMockerExtensions.cs#L97
'Mocker.GetMock<T>(params object?[])' is obsolete: 'Use GetOrCreateMock<T>(...) for provider-neutral retrieval. Keep GetMock<T>(...) only for legacy Moq-specific setup/access. This API will be removed in v5.'
call-template / codeql / Analyze (csharp): FastMoq.Database/DbContextMockerExtensions.cs#L104
'Mocker.AddMock<T>(Mock<T>, bool, bool)' is obsolete: 'Use GetOrCreateMock<T>(...) for tracked mocks or AddType<T>(...) for concrete instances. This legacy Moq compatibility API will be removed in v5.'
call-template / codeql / Analyze (csharp): FastMoq.Database/DbContextMockerExtensions.cs#L97
'Mocker.GetMock<T>(params object?[])' is obsolete: 'Use GetOrCreateMock<T>(...) for provider-neutral retrieval. Keep GetMock<T>(...) only for legacy Moq-specific setup/access. This API will be removed in v5.'
call-template / codeql / Analyze (csharp): FastMoq.Database/DbContextMockerExtensions.cs#L104
'Mocker.AddMock<T>(Mock<T>, bool, bool)' is obsolete: 'Use GetOrCreateMock<T>(...) for tracked mocks or AddType<T>(...) for concrete instances. This legacy Moq compatibility API will be removed in v5.'
call-template / codeql / Analyze (csharp): FastMoq.Database/DbContextMockerExtensions.cs#L97
'Mocker.GetMock<T>(params object?[])' is obsolete: 'Use GetOrCreateMock<T>(...) for provider-neutral retrieval. Keep GetMock<T>(...) only for legacy Moq-specific setup/access. This API will be removed in v5.'
call-template / codeql / Analyze (csharp): FastMoq.Database/DbContextMockerExtensions.cs#L104
'Mocker.AddMock<T>(Mock<T>, bool, bool)' is obsolete: 'Use GetOrCreateMock<T>(...) for tracked mocks or AddType<T>(...) for concrete instances. This legacy Moq compatibility API will be removed in v5.'
call-template / codeql / Analyze (csharp): FastMoq.Database/DbContextMockerExtensions.cs#L97
'Mocker.GetMock<T>(params object?[])' is obsolete: 'Use GetOrCreateMock<T>(...) for provider-neutral retrieval. Keep GetMock<T>(...) only for legacy Moq-specific setup/access. This API will be removed in v5.'
call-template / codeql / Analyze (csharp): FastMoq.Database/DbContextMockerExtensions.cs#L104
'Mocker.AddMock<T>(Mock<T>, bool, bool)' is obsolete: 'Use GetOrCreateMock<T>(...) for tracked mocks or AddType<T>(...) for concrete instances. This legacy Moq compatibility API will be removed in v5.'
call-template / codeql / Analyze (csharp): FastMoq.Database/DbContextMockerExtensions.cs#L97
'Mocker.GetMock<T>(params object?[])' is obsolete: 'Use GetOrCreateMock<T>(...) for provider-neutral retrieval. Keep GetMock<T>(...) only for legacy Moq-specific setup/access. This API will be removed in v5.'
call-template / codeql / Analyze (csharp): FastMoq.Database/DbContextMockerExtensions.cs#L104
'Mocker.AddMock<T>(Mock<T>, bool, bool)' is obsolete: 'Use GetOrCreateMock<T>(...) for tracked mocks or AddType<T>(...) for concrete instances. This legacy Moq compatibility API will be removed in v5.'
call-template / codeql / Analyze (csharp): FastMoq.Database/DbContextMockerExtensions.cs#L97
'Mocker.GetMock<T>(params object?[])' is obsolete: 'Use GetOrCreateMock<T>(...) for provider-neutral retrieval. Keep GetMock<T>(...) only for legacy Moq-specific setup/access. This API will be removed in v5.'
call-template / codeql / Analyze (csharp)
Cannot build an overlay-base database because build-mode is set to "manual" instead of "none". Falling back to creating a normal full database instead.

Artifacts

Produced during runtime
Name Size Digest
test-results-10.0.x
51.3 KB
sha256:8f58bba0f740731c0f71309b771ebd2d2d147eff3bf4b0e36fff55241884fcfa
test-results-8.0.x
51.1 KB
sha256:548dc2baf8d9ce3f621f131e0e2c693eb1ec5b79fce527d82d87260aa02043a0
test-results-9.0.x
51.6 KB
sha256:b7492ebf3459dbf6ea27bd4997186a67e8fb57cf61d749ceb979855cf26057f6