PowerToys/src/modules/keyboardmanager/test
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
..
AppSpecificShortcutRemappingTests.cpp [Keyboard Manager] Added in Shortcut to Key and Key to Shortcut remapping (#5070) 2020-07-23 16:43:49 -07:00
BufferValidationTests.cpp Refactored Keyboard Manager UI code and added unit tests for Keyboard Manager UI (#5718) 2020-08-13 16:32:15 -07:00
KeyboardManagerHelperTests.cpp Refactored Keyboard Manager UI code and added unit tests for Keyboard Manager UI (#5718) 2020-08-13 16:32:15 -07:00
KeyboardManagerTest.rc Added info to FancyZones, KeyboardManager and PowerLauncher projects (#4445) 2020-06-23 18:36:39 +03:00
KeyboardManagerTest.vcxproj Refactored Keyboard Manager UI code and added unit tests for Keyboard Manager UI (#5718) 2020-08-13 16:32:15 -07:00
KeyboardManagerTest.vcxproj.filters Refactored Keyboard Manager UI code and added unit tests for Keyboard Manager UI (#5718) 2020-08-13 16:32:15 -07:00
LoadingAndSavingRemappingTests.cpp Refactored Keyboard Manager UI code and added unit tests for Keyboard Manager UI (#5718) 2020-08-13 16:32:15 -07:00
MockedInput.cpp [Keyboard Manager] Added in Shortcut to Key and Key to Shortcut remapping (#5070) 2020-07-23 16:43:49 -07:00
MockedInput.h PowerToys interface: remove powertoys events and system_menu_helper functionality (#5323) 2020-07-31 14:06:13 +03:00
MockedInputSanityTests.cpp Moved each test class to a separate file (#4592) 2020-07-02 10:25:57 -07:00
OSLevelShortcutRemappingTests.cpp [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 KBM - Set up tests for keyboard hook remapping logic (#4004) 2020-06-11 13:07:46 -07:00
pch.h Refactored Keyboard Manager UI code and added unit tests for Keyboard Manager UI (#5718) 2020-08-13 16:32:15 -07:00
resource.h Added info to FancyZones, KeyboardManager and PowerLauncher projects (#4445) 2020-06-23 18:36:39 +03:00
SetKeyEventTests.cpp [Keyboard Manager] Added in Shortcut to Key and Key to Shortcut remapping (#5070) 2020-07-23 16:43:49 -07:00
ShortcutTests.cpp Refactored Keyboard Manager UI code and added unit tests for Keyboard Manager UI (#5718) 2020-08-13 16:32:15 -07:00
SingleKeyRemappingTests.cpp [Keyboard Manager] Added in Shortcut to Key and Key to Shortcut remapping (#5070) 2020-07-23 16:43:49 -07:00
TestHelpers.cpp Refactored Keyboard Manager UI code and added unit tests for Keyboard Manager UI (#5718) 2020-08-13 16:32:15 -07:00
TestHelpers.h Refactored Keyboard Manager UI code and added unit tests for Keyboard Manager UI (#5718) 2020-08-13 16:32:15 -07:00