New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(core): align TestBed interfaces and implementation #46635
Conversation
f2734d6
to
e84d180
Compare
Presubmit (this change will also require a TGP) + a local patch in g3. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reviewed-for: public-api
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reviewed-for: public-api
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
reviewed-for: fw-core, fw-testing, circular-dependencies, public-api
9fa5f01
to
5301581
Compare
5e78262
to
217a3dc
Compare
This commit performs various refactoring of the TestBed code to better align interfaces and implementation. The implementation class is also renamed from `TestBedRender3` -> `TestBedImpl`, but the public API name has not changed. Note: as a part of this change, the TestBed interface became more consistent and typings for multiple methods were updated to account for the fact that the TestBed reference is returned. This was always a runtime behavior of TestBed, which was not reflected in few places in type.
This commit renames the `R3TestBedCompiler` -> `TestBedCompiler` to drop no longer needed Render3 prefix.
This commit updates TestBed-related files to drop the `r3_` prefix.
… cycles This commit combines TestBed interface and implementation to avoid cycles in the import graph. There are no functional or API changes.
217a3dc
to
bd2b7e8
Compare
You can preview bd2b7e8 at https://pr46635-bd2b7e8.ngbuilds.io/. |
Global Presubmit #3 (to make sure there are no new regressions). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed-for: public-api
Merge assistance: the PR has a "green" TGP, but it would still make sense to merge and land it in g3 separately from other changes. Regarding the PullApprove status: there is enough approvals from the group, so we can proceed with merging this PR. |
This PR was merged into the repository by commit 7e03fc9. |
This commit renames the `R3TestBedCompiler` -> `TestBedCompiler` to drop no longer needed Render3 prefix. PR Close #46635
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This PR contains 3 commits with the TestBed implementation cleanup.
The change affected the public API surface, but in practice those types were already exposed via the TestBedStatic interface, so those APIs were already public.
PR Type
What kind of change does this PR introduce?
Does this PR introduce a breaking change?