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 button unit test #93381

Merged
merged 1 commit into from
Aug 27, 2024
Merged

Add button unit test #93381

merged 1 commit into from
Aug 27, 2024

Conversation

Luis-Wong
Copy link
Contributor

@Luis-Wong Luis-Wong commented Jun 20, 2024

This is part of issue #43440

Added a unit test for the is_hovered() method that covers when a button is first initialized, hovered over, and when the mouse exits the button.

tests/scene/test_button.h Outdated Show resolved Hide resolved
@Geometror
Copy link
Member

Could you squash your commits?

@Geometror
Copy link
Member

Needs another squash. After that, I think it's ready.

@AThousandShips
Copy link
Member

There's been some changes to how tests are run, could you please rebase just to make sure they run correctly still

@akien-mga akien-mga modified the milestones: 4.x, 4.4 Aug 27, 2024
@akien-mga akien-mga merged commit b523add into godotengine:master Aug 27, 2024
18 checks passed
@akien-mga
Copy link
Member

Thanks! And congrats for your first merged Godot contribution 🎉

@Luis-Wong Luis-Wong deleted the test-button branch August 27, 2024 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants