forked from bevyengine/bevy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests to
bevy_ui::Layout
(bevyengine#9781)
# Objective Add tests for `ui_layout_system` and `UiSurface` to the `bevy_ui::Layout` module. ## Solution Spawn a dummy window entity with `Window` and `PrimaryWindow` components so that `ui_layout_system` can run in a test without a window present. --- ## Changelog Added tests to the `bevy_ui::layout` module.
- Loading branch information
Showing
1 changed file
with
312 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters