-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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 a test suite to InputEvent #79444
Conversation
0affd65
to
7212bc0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test cases are looking good to me.
7212bc0
to
4952b39
Compare
The content looks good. Now please squash the two commits together. |
97998a9
to
c2ad5ca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes are looking good to me
Thanks! And congrats on your first merged Godot PR! |
This PR adds the tests to InputEvent and is part of #43440.
Since InputEvent is an abstract class and cannot be instantiated, I used the subclasses relevant to each method as indicated in the docs.
A second version of these tests would consist in tests for each subclass instead of a single test suite for the abstract super class.