Skip to content

Deduplicate access_iter test logic#24653

Merged
alice-i-cecile merged 2 commits into
bevyengine:mainfrom
SpecificProtagonist:push-vxyxyprkxvum
Jun 22, 2026
Merged

Deduplicate access_iter test logic#24653
alice-i-cecile merged 2 commits into
bevyengine:mainfrom
SpecificProtagonist:push-vxyxyprkxvum

Conversation

@SpecificProtagonist

@SpecificProtagonist SpecificProtagonist commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

The tests for QueryData::iter_access/has_access perform the same checks for many different queries. Factor out this logic so it's easier to see which queries get tested.

@SpecificProtagonist SpecificProtagonist added A-ECS Entities, components, systems, and events C-Code-Quality A section of code that is hard to understand or change D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Jun 17, 2026
@github-project-automation github-project-automation Bot moved this to Needs SME Triage in ECS Jun 17, 2026
Comment thread crates/bevy_ecs/src/query/access_iter.rs Outdated
@kfc35 kfc35 added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Jun 17, 2026
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Jun 22, 2026
Merged via the queue into bevyengine:main with commit ad07c62 Jun 22, 2026
38 checks passed
@github-project-automation github-project-automation Bot moved this from Needs SME Triage to Done in ECS Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ECS Entities, components, systems, and events C-Code-Quality A section of code that is hard to understand or change D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants