PowerToys/src/modules/keyboardmanager/common
Arjun Balgovind 9e8b0d2807
Refactored Keyboard Manager UI code and added unit tests for Keyboard Manager UI (#5718)
* Added tests for loading and saving remappings in the UI

* Added tests for ApplyRemappings methods

* Moved single key remap validation logic to separate method so that it can be tested

* Added tests for single key remap validation in UI

* Refactored shortcut validation code to be testable

* Added some shortcut validation tests

* Refactored code to be cleaner

* Added tests for action key and modifier key selection and formatted file

* Added tests for selecting None

* Added tests for selecting Null

* Added tests for WinL error

* Added CtrlAltDel tests

* Added tests for MapToSameKey

* Added tests for mapping repeated shortcut

* Fixed const correctness

* Clean up type names with type alias

* Clean up ValidateAndUpdateKeyBufferElement tests and tweak ValidateShortcutBufferElement signature

* Fixed bug when None selected

* Refactored one test as per test case framework

* Cleaned up more tests

* Cleaned up buffer validation tests

* Added tests for KBM Common Helpers and Shortcut
2020-08-13 16:32:15 -07:00
..
Helpers.cpp Refactored Keyboard Manager UI code and added unit tests for Keyboard Manager UI (#5718) 2020-08-13 16:32:15 -07:00
Helpers.h Refactored Keyboard Manager UI code and added unit tests for Keyboard Manager UI (#5718) 2020-08-13 16:32:15 -07:00
InputInterface.h [Keyboard Manager] Cleanup header file references to improve incremental build time (#4880) 2020-07-13 11:49:09 -07:00
KeyboardManagerCommon.vcxproj updated to Microsoft.Windows.CppWinRT.2.0.200729.8 (#5306) 2020-07-30 11:37:15 -07:00
KeyboardManagerCommon.vcxproj.filters [Keyboard Manager] Added in Shortcut to Key and Key to Shortcut remapping (#5070) 2020-07-23 16:43:49 -07:00
KeyboardManagerConstants.h [Keyboard Manager] Added in Shortcut to Key and Key to Shortcut remapping (#5070) 2020-07-23 16:43:49 -07:00
KeyboardManagerState.cpp [Keyboard Manager] Added in Shortcut to Key and Key to Shortcut remapping (#5070) 2020-07-23 16:43:49 -07:00
KeyboardManagerState.h PowerToys interface: remove powertoys events and system_menu_helper functionality (#5323) 2020-07-31 14:06:13 +03:00
KeyDelay.cpp Enable code analysis on Keyboard Manager projects (#4455) 2020-06-24 14:55:02 -07:00
KeyDelay.h PowerToys interface: remove powertoys events and system_menu_helper functionality (#5323) 2020-07-31 14:06:13 +03:00
ModifierKey.h [Keyboard Manager] Added in Shortcut to Key and Key to Shortcut remapping (#5070) 2020-07-23 16:43:49 -07:00
packages.config updated to Microsoft.Windows.CppWinRT.2.0.200729.8 (#5306) 2020-07-30 11:37:15 -07:00
pch.cpp Edit Shortcuts UI (dev/keyboardManager) (#1647) 2020-04-08 14:35:52 -07:00
pch.h [Keyboard Manager] Cleanup header file references to improve incremental build time (#4880) 2020-07-13 11:49:09 -07:00
RemapShortcut.cpp Refactor Shortcut remaps to distinguish modifiers and action keys (#1927) 2020-04-08 14:49:00 -07:00
RemapShortcut.h Refactored Keyboard Manager UI code and added unit tests for Keyboard Manager UI (#5718) 2020-08-13 16:32:15 -07:00
Shortcut.cpp Refactored Keyboard Manager UI code and added unit tests for Keyboard Manager UI (#5718) 2020-08-13 16:32:15 -07:00
Shortcut.h Refactored Keyboard Manager UI code and added unit tests for Keyboard Manager UI (#5718) 2020-08-13 16:32:15 -07:00
trace.cpp [Keyboard Manager] Added in Shortcut to Key and Key to Shortcut remapping (#5070) 2020-07-23 16:43:49 -07:00
trace.h [Keyboard Manager] Added in Shortcut to Key and Key to Shortcut remapping (#5070) 2020-07-23 16:43:49 -07:00