|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <set>#include <board.h>#include <pcb_shape.h>#include <tool/edit_points.h>#include <tools/pcb_handle_key.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (PointSelectionFlagsAreIndependent) | |
| BOOST_AUTO_TEST_CASE (KeyCreationForPointsAndLines) | |
| BOOST_AUTO_TEST_CASE (KeyResolvesAfterRegeneration) | |
| BOOST_AUTO_TEST_CASE (KeyEqualityDeduplicates) | |
| BOOST_AUTO_TEST_CASE (MissingIdentityInvalidates) | |
| BOOST_AUTO_TEST_CASE (AStaleKeyNamesTheSameHandleButStopsResolving) | |
| BOOST_AUTO_TEST_CASE | ( | AStaleKeyNamesTheSameHandleButStopsResolving | ) |
Definition at line 218 of file test_pcb_handle_key.cpp.
References BOARD::Add(), BOOST_CHECK(), BOOST_REQUIRE(), PCB_HANDLE_KEY::Make(), and POLY.
| BOOST_AUTO_TEST_CASE | ( | KeyCreationForPointsAndLines | ) |
Definition at line 83 of file test_pcb_handle_key.cpp.
References BOARD::Add(), BOOST_CHECK(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), EDA_ITEM::m_Uuid, PCB_HANDLE_KEY::Make(), and POLY.
| BOOST_AUTO_TEST_CASE | ( | KeyEqualityDeduplicates | ) |
Definition at line 140 of file test_pcb_handle_key.cpp.
References BOARD::Add(), BOOST_CHECK(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), PCB_HANDLE_KEY::Make(), and POLY.
| BOOST_AUTO_TEST_CASE | ( | KeyResolvesAfterRegeneration | ) |
Definition at line 111 of file test_pcb_handle_key.cpp.
References BOARD::Add(), BOOST_CHECK(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), EDIT_POINT::GetPosition(), PCB_HANDLE_KEY::Make(), POLY, and VECTOR2< T >::x.
| BOOST_AUTO_TEST_CASE | ( | MissingIdentityInvalidates | ) |
Definition at line 175 of file test_pcb_handle_key.cpp.
References BOARD::Add(), BOOST_CHECK(), BOOST_REQUIRE(), PCB_HANDLE_KEY::Make(), and POLY.
| BOOST_AUTO_TEST_CASE | ( | PointSelectionFlagsAreIndependent | ) |
Definition at line 54 of file test_pcb_handle_key.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK(), EDIT_POINT::IsActive(), EDIT_POINT::IsDependent(), EDIT_POINT::IsHover(), EDIT_POINT::IsSelected(), EDIT_POINT::SetActive(), EDIT_POINT::SetDependent(), EDIT_POINT::SetHover(), and EDIT_POINT::SetSelected().