Skip to content

Add code fix for FunctionContext helper migration (#79) #27

Add code fix for FunctionContext helper migration (#79)

Add code fix for FunctionContext helper migration (#79) #27

Triggered via push April 16, 2026 05:43
Status Success
Total duration 4m 52s
Artifacts 3

ci_master.yml

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

Annotations

41 warnings
call-template / build-test (9.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 (9.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 (9.0.x): FastMoq.Tests/LegacyMoqCompatibilityTests.cs#L34
Use 'mocker.GetObject<ILogger>()' instead of '.Object' on tracked FastMoq mocks
call-template / build-test (9.0.x): FastMoq.Tests/LegacyMoqCompatibilityTests.cs#L29
Use 'mocker.GetObject<ILogger>()' instead of '.Object' on tracked FastMoq mocks
call-template / build-test (9.0.x): FastMoq.Tests/LegacyMoqCompatibilityTests.cs#L26
Use 'mocker.GetObject<ILogger>()' instead of '.Object' on tracked FastMoq mocks
call-template / build-test (9.0.x): FastMoq.Tests/MocksTests.cs#L76
API 'AddMock(...)' is a legacy Moq compatibility surface. Prefer 'GetOrCreateMock<T>()' for tracked mocks or 'AddType<T>(...)' for concrete instances.
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#L2136
Use 'mocker.OptionalParameterResolution = OptionalParameterResolutionMode.ResolveViaMocker' instead of the MockOptional compatibility property
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 (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#L45
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.Tests/MocksTests.cs#L2136
Use 'mocker.OptionalParameterResolution = OptionalParameterResolutionMode.ResolveViaMocker' instead of the MockOptional compatibility property
call-template / build-test (10.0.x): FastMoq.Tests/LegacyMoqCompatibilityTests.cs#L34
Use 'mocker.GetObject<ILogger>()' instead of '.Object' on tracked FastMoq mocks
call-template / build-test (10.0.x): FastMoq.Tests/LegacyMoqCompatibilityTests.cs#L29
Use 'mocker.GetObject<ILogger>()' instead of '.Object' on tracked FastMoq mocks
call-template / build-test (10.0.x): FastMoq.Tests/LegacyMoqCompatibilityTests.cs#L26
Use 'mocker.GetObject<ILogger>()' instead of '.Object' on tracked FastMoq mocks
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 (8.0.x): FastMoq.Tests/LegacyMoqCompatibilityTests.cs#L51
Use 'mocker.GetObject<ILogger<NullLogger>>()' instead of '.Object' on tracked FastMoq mocks
call-template / build-test (8.0.x): FastMoq.Tests/LegacyMoqCompatibilityTests.cs#L48
Use 'mocker.GetObject<ILogger<NullLogger>>()' instead of '.Object' on tracked FastMoq mocks
call-template / build-test (8.0.x): FastMoq.Tests/MocksTests.cs#L2136
Use 'mocker.OptionalParameterResolution = OptionalParameterResolutionMode.ResolveViaMocker' instead of the MockOptional compatibility property
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#L34
Use 'mocker.GetObject<ILogger>()' instead of '.Object' on tracked FastMoq mocks
call-template / build-test (8.0.x): FastMoq.Tests/LegacyMoqCompatibilityTests.cs#L29
Use 'mocker.GetObject<ILogger>()' instead of '.Object' on tracked FastMoq mocks
call-template / build-test (8.0.x): FastMoq.Tests/LegacyMoqCompatibilityTests.cs#L26
Use 'mocker.GetObject<ILogger>()' instead of '.Object' on tracked FastMoq mocks
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.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
15.4 KB
sha256:1622f54435dfc49d2361cc061ded1432fdec6d4110b44dfd5514b36d2a9a595f
test-results-8.0.x
15.6 KB
sha256:4120d8dfe12bf81d6beba7a737da706fb8aa5bd81950ac3d6c2aa6e3cbe73eae
test-results-9.0.x
15.1 KB
sha256:8a3d14a788236231b9b9c5222dc252b4584ce4fcb6461b435f1a6ae482eef353