|
KiCad PCB EDA Suite
|
#include <memory>#include <qa_utils/wx_utils/unit_test_utils.h>#include <board.h>#include <footprint.h>#include <constraints/pcb_constraint.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (BoardAddRemoveResolve) | |
| BOOST_AUTO_TEST_CASE (BoardRunOnChildrenVisitsConstraint) | |
| BOOST_AUTO_TEST_CASE (FootprintCloneRoundTrip) | |
| BOOST_AUTO_TEST_CASE (FootprintTeardownDeletesConstraints) | |
| BOOST_AUTO_TEST_CASE | ( | BoardAddRemoveResolve | ) |
Definition at line 32 of file test_constraint_ownership.cpp.
References BOARD::Add(), PCB_CONSTRAINT::AddMember(), BOOST_AUTO_TEST_CASE(), BOARD::Constraints(), EDA_ITEM::m_Uuid, PARALLEL, BOARD::Remove(), BOARD::ResolveItem(), and WHOLE.
| BOOST_AUTO_TEST_CASE | ( | BoardRunOnChildrenVisitsConstraint | ) |
Definition at line 55 of file test_constraint_ownership.cpp.
References BOARD::Add(), HORIZONTAL, NO_RECURSE, and BOARD::RunOnChildren().
| BOOST_AUTO_TEST_CASE | ( | FootprintCloneRoundTrip | ) |
Definition at line 75 of file test_constraint_ownership.cpp.
References PCB_CONSTRAINT::AddMember(), copied, END, EQUAL_LENGTH, PCB_CONSTRAINT::SetValue(), and START.
| BOOST_AUTO_TEST_CASE | ( | FootprintTeardownDeletesConstraints | ) |
Definition at line 102 of file test_constraint_ownership.cpp.
References FOOTPRINT::Add(), BOOST_CHECK_EQUAL(), FOOTPRINT::Constraints(), and VERTICAL.