Skip to content

Deduplicate access_iter test logic#24653

Open
SpecificProtagonist wants to merge 2 commits into
bevyengine:mainfrom
SpecificProtagonist:push-vxyxyprkxvum
Open

Deduplicate access_iter test logic#24653
SpecificProtagonist wants to merge 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
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: Needs SME Triage

Development

Successfully merging this pull request may close these issues.

3 participants