Skip to content
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

Add DebugState #1890

Merged
merged 1 commit into from
Aug 25, 2021
Merged

Add DebugState #1890

merged 1 commit into from
Aug 25, 2021

Conversation

PoignardAzur
Copy link
Collaborator

This PR adds an API to fetch and process the state of the widget graph.

This is useful for unit tests and integration tests, and especially for Panoramix, which can do tests where it performs some operations and checks that the right widgets are built as a result.

@PoignardAzur
Copy link
Collaborator Author

Rebasing soon to fix the clippy lints.

Copy link
Member

@cmyr cmyr left a comment

Choose a reason for hiding this comment

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

Looks helpful, thanks!

druid/src/debug_state.rs Show resolved Hide resolved
@PoignardAzur PoignardAzur merged commit 313af5e into master Aug 25, 2021
@PoignardAzur PoignardAzur deleted the debug_state branch August 25, 2021 14:57
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.

2 participants