Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@viaductbot
Copy link
Collaborator

Summary

ResolverTestBase was implemented using the actual implementations of the various ExecutionContext interfaces. Since the construction of the actual implementations is entangled with the bootstrapping process, this made it difficult to initialize this test fixture, difficult to inject test data into the resolver tests that this class is meant to support, and difficult to change the implementation details of ExecutionContext.. This PR switches ResolverTestBase to use test doubles for ExecutionContext, decoupling it from the actual implementations of ExecutionContext.

`ResolverTestBase` was implemented using the actual implementations of the various `ExecutionContext` interfaces.  Since the construction of the actual implementations is entangled with the bootstrapping process, this made it difficult to initialize this test fixture, difficult to inject test data into the resolver tests that this class is meant to support, and difficult to change the implementation details of `ExecutionContext.`. This PR switches `ResolverTestBase` to use test doubles for `ExecutionContext`, decoupling it from the actual implementations of `ExecutionContext`.
Github-Change-Id: 949532

GitOrigin-RevId: 1c0656a6793819a85c835c2bcc8b783331486de9
@viaductbot viaductbot merged commit f00395c into main Oct 15, 2025
@viaductbot viaductbot deleted the export-2025-10-15-5740 branch October 15, 2025 04:44
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