|
KiCad PCB EDA Suite
|
#include <boost/test/unit_test.hpp>#include <qa_utils/wx_utils/unit_test_utils.h>#include <tool/tool_dispatcher.h>#include <tool/tool_manager.h>#include <tool/tool_interactive.h>#include <tool/action_menu.h>#include <wx/display.h>#include <wx/evtloop.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (LeadingEdgeAlwaysRuns) | |
| Tests for TOOL_DISPATCHER::ShouldDropAutoRepeat, the pure decision that discards backlogged OS key auto-repeat events delivered after a hotkey was released (issue 24540). | |
| BOOST_AUTO_TEST_CASE (HeldKeyRepeatsRun) | |
| BOOST_AUTO_TEST_CASE (StaleRepeatAfterReleaseDropped) | |
| BOOST_AUTO_TEST_CASE (SecondDeliberateTapRuns) | |
| BOOST_AUTO_TEST_CASE (DifferentKeyIsNewBurst) | |
| BOOST_AUTO_TEST_CASE (RightClickOpensMenuWhileEventLoopYields) | |
| BOOST_AUTO_TEST_CASE | ( | DifferentKeyIsNewBurst | ) |
Definition at line 90 of file test_tool_dispatcher.cpp.
References TOOL_DISPATCHER::ShouldDropAutoRepeat().
| BOOST_AUTO_TEST_CASE | ( | HeldKeyRepeatsRun | ) |
Definition at line 53 of file test_tool_dispatcher.cpp.
References TOOL_DISPATCHER::ShouldDropAutoRepeat().
| BOOST_AUTO_TEST_CASE | ( | LeadingEdgeAlwaysRuns | ) |
Tests for TOOL_DISPATCHER::ShouldDropAutoRepeat, the pure decision that discards backlogged OS key auto-repeat events delivered after a hotkey was released (issue 24540).
Definition at line 39 of file test_tool_dispatcher.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), and TOOL_DISPATCHER::ShouldDropAutoRepeat().
| BOOST_AUTO_TEST_CASE | ( | RightClickOpensMenuWhileEventLoopYields | ) |
Definition at line 157 of file test_tool_dispatcher.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_TEST_MESSAGE(), BUT_RIGHT, KI_TEST::CanDoDisplayTests(), TOOL_MANAGER::ProcessEvent(), TOOL_MANAGER::RegisterTool(), TOOL_MANAGER::ResetTools(), TOOL_BASE::RUN, TOOL_MANAGER::SetEnvironment(), TA_MOUSE_CLICK, and TC_MOUSE.
| BOOST_AUTO_TEST_CASE | ( | SecondDeliberateTapRuns | ) |
Definition at line 77 of file test_tool_dispatcher.cpp.
References TOOL_DISPATCHER::AutoRepeatWindowMs, and TOOL_DISPATCHER::ShouldDropAutoRepeat().
| BOOST_AUTO_TEST_CASE | ( | StaleRepeatAfterReleaseDropped | ) |
Definition at line 64 of file test_tool_dispatcher.cpp.
References TOOL_DISPATCHER::ShouldDropAutoRepeat().