|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <git/kigit_orphan_registry.h>#include <atomic>#include <chrono>#include <condition_variable>#include <mutex>#include <thread>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (JoinAllCompletesFastWork) | |
| BOOST_AUTO_TEST_CASE (JoinAllTimesOutOnStuckWork) | |
| BOOST_AUTO_TEST_CASE (DestructorDetachesOutstandingThreads) | |
| BOOST_AUTO_TEST_CASE (RegisterReapsFinishedEntries) | |
| BOOST_AUTO_TEST_CASE (RegisterRejectsAfterJoinAll) | |
| BOOST_AUTO_TEST_CASE (MoveOnlyWorkIsAccepted) | |
| BOOST_AUTO_TEST_CASE | ( | DestructorDetachesOutstandingThreads | ) |
Definition at line 111 of file test_kigit_orphan_registry.cpp.
References KIGIT_ORPHAN_REGISTRY::Register().
| BOOST_AUTO_TEST_CASE | ( | JoinAllCompletesFastWork | ) |
Definition at line 38 of file test_kigit_orphan_registry.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), KIGIT_ORPHAN_REGISTRY::JoinAll(), KIGIT_ORPHAN_REGISTRY::Register(), and KIGIT_ORPHAN_REGISTRY::TrackedCount().
| BOOST_AUTO_TEST_CASE | ( | JoinAllTimesOutOnStuckWork | ) |
Definition at line 61 of file test_kigit_orphan_registry.cpp.
References BOOST_CHECK_EQUAL(), KIGIT_ORPHAN_REGISTRY::JoinAll(), KIGIT_ORPHAN_REGISTRY::Register(), and KIGIT_ORPHAN_REGISTRY::TrackedCount().
| BOOST_AUTO_TEST_CASE | ( | MoveOnlyWorkIsAccepted | ) |
Definition at line 198 of file test_kigit_orphan_registry.cpp.
References BOOST_CHECK_EQUAL(), KIGIT_ORPHAN_REGISTRY::JoinAll(), and KIGIT_ORPHAN_REGISTRY::Register().
| BOOST_AUTO_TEST_CASE | ( | RegisterReapsFinishedEntries | ) |
Definition at line 158 of file test_kigit_orphan_registry.cpp.
References BOOST_CHECK_EQUAL(), KIGIT_ORPHAN_REGISTRY::JoinAll(), and KIGIT_ORPHAN_REGISTRY::Register().
| BOOST_AUTO_TEST_CASE | ( | RegisterRejectsAfterJoinAll | ) |
Definition at line 176 of file test_kigit_orphan_registry.cpp.
References BOOST_CHECK_EQUAL(), KIGIT_ORPHAN_REGISTRY::JoinAll(), and KIGIT_ORPHAN_REGISTRY::Register().