-
Notifications
You must be signed in to change notification settings - Fork 79
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
Introduce common SelectionTests #1146
base: jb-main
Are you sure you want to change the base?
Conversation
Key.AltLeft -> false | ||
Key.MetaLeft -> false | ||
Key.ShiftLeft -> false | ||
Key.CtrlLeft -> false | ||
Key.Delete -> false | ||
Key.DirectionLeft -> false | ||
Key.DirectionRight -> false | ||
Key.DirectionDown -> false | ||
Key.DirectionUp -> false | ||
Key.Home -> false | ||
Key.MoveEnd -> false |
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.
This can probably be a setOf
.
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.
Make sense, pushed this change.
else -> DefaultKeyboardActions | ||
} | ||
|
||
internal class WasmSelectionTests : |
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.
Probably doesn't need to be internal
. But I checked the tests run anyway - wasn't sure.
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.
@eymar
it's internal, because CommonSelectionTests is internal, so we can either:
- make CommonSelectionTests tests public as well
or - leave the way it is
both is fine with me, the "leave it as it is option" however is - I can not argue - more fragile - I can imagine that something will change in tooling, internal tests will be just ignored and we'll miss it.
7b5307e
to
38f74b2
Compare
In the framework of this PR we've decided to:
|
Basically this is start for having more and more common tests for keyboard-related staff