Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: changing Shortcuts.kts logic to use HashableKeys. (#1616)
* As the ShortcutRegistration will always use HashableKeys, hence why we need to use it in our tests as well to not have any differences between our tests and real-life application. (now we used simple Key objects, but we need to use HashableKeys) * Cleaned up the code a bit to use the HashableKey creation only in the MockFilterJsonObject class. (Based on @mcollovati review, thank you) * Put the getHashableKey() method into the class (mock JSON), so where we use it (suggestion by @mcollovati, thanks!). * One more time, even nicer this way, like this one :) (Thanks again @mcollovati) * Revert GridTester changes, and fix java doc for the newly added getHashableKey() method, fix imports. * Using a bit more Kotlinish syntax for reflection (private inner class constructor), and being more strict on that we are using ShortcutRegistration class. (discussed with @mcollovati that this could be a better way) * Enabling Shortcut related tests (were disabled by another dependency FIX pr to merge it to master)
- Loading branch information