|
KiCad PCB EDA Suite
|
#include <map>#include <memory>#include <qa_utils/wx_utils/unit_test_utils.h>#include <board.h>#include <footprint.h>#include <pcb_group.h>#include <pcb_shape.h>#include <constraints/constraint_copy.h>#include <constraints/pcb_constraint.h>#include "constraint_test_utils.h"Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (DuplicateCarriesFullyContainedConstraints) | |
| BOOST_AUTO_TEST_CASE (DuplicateDropsConstraintOutsideScope) | |
| BOOST_AUTO_TEST_CASE (GroupDuplicatePairsMembersForConstraintRemap) | |
| BOOST_AUTO_TEST_CASE (FootprintDuplicateRepointsInternalConstraints) | |
| BOOST_AUTO_TEST_CASE | ( | DuplicateCarriesFullyContainedConstraints | ) |
Definition at line 67 of file test_constraint_duplicate.cpp.
References KI_TEST::addArc(), KI_TEST::addConstraint(), KI_TEST::addSegment(), ARC_ANGLE, BOOST_REQUIRE(), CloneFullySelectedConstraints(), COINCIDENT, END, PCB_CONSTRAINT::GetMembers(), PCB_CONSTRAINT::GetValue(), PCB_CONSTRAINT::IsDriving(), EDA_ITEM::m_Uuid, KI_TEST::MM, PARALLEL, PCB_CONSTRAINT::SetDriving(), START, and WHOLE.
| BOOST_AUTO_TEST_CASE | ( | DuplicateDropsConstraintOutsideScope | ) |
Definition at line 137 of file test_constraint_duplicate.cpp.
References KI_TEST::addConstraint(), KI_TEST::addSegment(), CloneFullySelectedConstraints(), EDA_ITEM::m_Uuid, KI_TEST::MM, PARALLEL, and WHOLE.
| BOOST_AUTO_TEST_CASE | ( | FootprintDuplicateRepointsInternalConstraints | ) |
Definition at line 228 of file test_constraint_duplicate.cpp.
References FOOTPRINT::Add(), FOOTPRINT::Duplicate(), FOOTPRINT, PCB_CONSTRAINT::GetMembers(), IGNORE_PARENT_GROUP, EDA_ITEM::m_Uuid, KI_TEST::MM, PARALLEL, RECURSE, SEGMENT, PCB_SHAPE::SetEnd(), PCB_SHAPE::SetStart(), and WHOLE.
| BOOST_AUTO_TEST_CASE | ( | GroupDuplicatePairsMembersForConstraintRemap | ) |
Definition at line 163 of file test_constraint_duplicate.cpp.
References KI_TEST::addConstraint(), KI_TEST::addSegment(), BOOST_REQUIRE(), CloneFullySelectedConstraints(), COINCIDENT, END, EDA_SHAPE::GetEnd(), EDA_GROUP::GetItems(), PCB_CONSTRAINT::GetMembers(), EDA_SHAPE::GetStart(), group, IGNORE_PARENT_GROUP, EDA_ITEM::m_Uuid, KI_TEST::MM, and START.