| 
    KiCad PCB EDA Suite
    
   | 
 
#include <boost/test/unit_test.hpp>#include <hotkey_store.h>#include <hotkeys_basic.h>#include <tool/tool_action.h>#include <tool/tool_event.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (PersistenceAndDefaults) | |
| BOOST_AUTO_TEST_CASE (DuplicateRegistration) | |
| BOOST_AUTO_TEST_CASE (KeycodeSerialization) | |
| BOOST_AUTO_TEST_CASE | ( | DuplicateRegistration | ) | 
Definition at line 51 of file test_hotkey_store.cpp.
References AS_GLOBAL, HOTKEY_STORE::CheckKeyConflicts(), TOOL_ACTION::GetHotKey(), and HOTKEY_STORE::Init().
| BOOST_AUTO_TEST_CASE | ( | KeycodeSerialization | ) | 
Definition at line 70 of file test_hotkey_store.cpp.
References BOOST_CHECK_EQUAL(), KeyCodeFromKeyName(), KeyNameFromKeyCode(), MD_CTRL, and name.
| BOOST_AUTO_TEST_CASE | ( | PersistenceAndDefaults | ) | 
Definition at line 29 of file test_hotkey_store.cpp.
References AS_GLOBAL, BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), TOOL_ACTION::GetDefaultHotKey(), TOOL_ACTION::GetHotKey(), HOTKEY_STORE::GetSections(), HOTKEY_STORE::Init(), HOTKEY::m_EditKeycode, HOTKEY_STORE::ResetAllHotkeysToDefault(), and HOTKEY_STORE::SaveAllHotkeys().