KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_tool_dispatcher.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <tool/tool_dispatcher.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)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/5]

BOOST_AUTO_TEST_CASE ( DifferentKeyIsNewBurst )

Definition at line 82 of file test_tool_dispatcher.cpp.

References TOOL_DISPATCHER::ShouldDropAutoRepeat().

◆ BOOST_AUTO_TEST_CASE() [2/5]

BOOST_AUTO_TEST_CASE ( HeldKeyRepeatsRun )

Definition at line 45 of file test_tool_dispatcher.cpp.

References TOOL_DISPATCHER::ShouldDropAutoRepeat().

◆ BOOST_AUTO_TEST_CASE() [3/5]

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 31 of file test_tool_dispatcher.cpp.

References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), and TOOL_DISPATCHER::ShouldDropAutoRepeat().

◆ BOOST_AUTO_TEST_CASE() [4/5]

BOOST_AUTO_TEST_CASE ( SecondDeliberateTapRuns )

◆ BOOST_AUTO_TEST_CASE() [5/5]

BOOST_AUTO_TEST_CASE ( StaleRepeatAfterReleaseDropped )

Definition at line 56 of file test_tool_dispatcher.cpp.

References TOOL_DISPATCHER::ShouldDropAutoRepeat().