Skip to content

Move codeflow test mocks to a namespace#5324

Merged
premun merged 2 commits into
dotnet:mainfrom
premun:prvysoky/mocks
Oct 1, 2025
Merged

Move codeflow test mocks to a namespace#5324
premun merged 2 commits into
dotnet:mainfrom
premun:prvysoky/mocks

Conversation

@premun

@premun premun commented Oct 1, 2025

Copy link
Copy Markdown
Member

Just moving code to make the project more readable

Copilot AI review requested due to automatic review settings October 1, 2025 11:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR moves mock classes and test utilities from the main test namespace to a dedicated Mocks namespace to improve project organization and readability.

Key Changes

  • Moved all mock classes from ProductConstructionService.DependencyFlow.Tests to ProductConstructionService.DependencyFlow.Tests.Mocks namespace
  • Added necessary using statements to test files that reference the moved mock classes
  • Improved code organization by grouping test utilities together

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
UpdaterTests.cs Added using statement for the new Mocks namespace
TestsWithMocks.cs Added using statement for the new Mocks namespace
PullRequestUpdaterTests.cs Added using statement for the new Mocks namespace
VerifyableMockRepository.cs Updated namespace from main test namespace to Mocks
MockReminderManagerFactory.cs Updated namespace from main test namespace to Mocks
MockReminderManager.cs Updated namespace from main test namespace to Mocks
MockRedisCacheFactory.cs Updated namespace from main test namespace to Mocks
MockRedisCache.cs Updated namespace from main test namespace to Mocks with duplicated license header
Disposable.cs Updated namespace from main test namespace to Mocks

Comment thread test/ProductConstructionService.DependencyFlow.Tests/Mocks/MockRedisCache.cs Outdated
@premun premun merged commit 569b4f9 into dotnet:main Oct 1, 2025
5 of 9 checks passed
@premun premun deleted the prvysoky/mocks branch October 1, 2025 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants