KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_throttle.cpp File Reference
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <core/throttle.h>
#include <thread>

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (FirstCallAlwaysReady)
 
 BOOST_AUTO_TEST_CASE (SecondCallRejectsWithinInterval)
 
 BOOST_AUTO_TEST_CASE (ReadyAgainAfterInterval)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/3]

BOOST_AUTO_TEST_CASE ( FirstCallAlwaysReady )

Definition at line 33 of file test_throttle.cpp.

References BOOST_AUTO_TEST_CASE(), and THROTTLE::Ready().

◆ BOOST_AUTO_TEST_CASE() [2/3]

BOOST_AUTO_TEST_CASE ( ReadyAgainAfterInterval )

Definition at line 48 of file test_throttle.cpp.

References THROTTLE::Ready().

◆ BOOST_AUTO_TEST_CASE() [3/3]

BOOST_AUTO_TEST_CASE ( SecondCallRejectsWithinInterval )

Definition at line 40 of file test_throttle.cpp.

References THROTTLE::Ready().