|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <memory>#include <set>#include <pin_map.h>#include <lib_symbol.h>#include <sch_pin.h>#include <sch_symbol.h>#include <sch_sheet_path.h>#include <sch_sheet.h>#include <sch_screen.h>#include <schematic.h>Go to the source code of this file.
Classes | |
| struct | PIN_MAP_RESOLVER_FIXTURE |
Typedefs | |
| using | PAD_RESOLUTION = SCH_PIN::PAD_RESOLUTION |
Functions | |
| BOOST_AUTO_TEST_CASE (ThreeResolutionStates) | |
| BOOST_AUTO_TEST_CASE (StackedPinResolvesThroughFootprintPads) | |
| BOOST_AUTO_TEST_CASE (NoFootprintPathAssumesIdentity) | |
| BOOST_AUTO_TEST_CASE (OverridePrecedence) | |
| BOOST_AUTO_TEST_CASE (NamedMapOverride) | |
| BOOST_AUTO_TEST_CASE (SyncSharedLibSymbolCopies) | |
| BOOST_AUTO_TEST_CASE (OverrideSurvivesCopyAndAssign) | |
Definition at line 35 of file test_pin_map_resolver.cpp.
| BOOST_AUTO_TEST_CASE | ( | NamedMapOverride | ) |
Definition at line 195 of file test_pin_map_resolver.cpp.
References BOOST_CHECK_EQUAL(), PIN_MAP_INSTANCE_OVERRIDE::m_ActiveMapName, PIN_MAP_INSTANCE_OVERRIDE::m_Mode, pin, and USE_NAMED_MAP.
| BOOST_AUTO_TEST_CASE | ( | NoFootprintPathAssumesIdentity | ) |
Definition at line 141 of file test_pin_map_resolver.cpp.
References BOOST_CHECK_EQUAL(), and pin.
| BOOST_AUTO_TEST_CASE | ( | OverridePrecedence | ) |
Definition at line 159 of file test_pin_map_resolver.cpp.
References BOOST_CHECK_EQUAL(), FORCE_IDENTITY, PIN_MAP_INSTANCE_OVERRIDE::m_Edits, PIN_MAP_INSTANCE_OVERRIDE::m_Mode, pin, and USE_LIBRARY_DEFAULT.
| BOOST_AUTO_TEST_CASE | ( | OverrideSurvivesCopyAndAssign | ) |
Definition at line 258 of file test_pin_map_resolver.cpp.
References copy, SCH_SYMBOL::GetPinMapOverride(), PIN_MAP_INSTANCE_OVERRIDE::m_ActiveMapName, PIN_MAP_INSTANCE_OVERRIDE::m_Mode, and USE_NAMED_MAP.
| BOOST_AUTO_TEST_CASE | ( | StackedPinResolvesThroughFootprintPads | ) |
Definition at line 121 of file test_pin_map_resolver.cpp.
References BOOST_CHECK_EQUAL(), and pin.
| BOOST_AUTO_TEST_CASE | ( | SyncSharedLibSymbolCopies | ) |
Definition at line 220 of file test_pin_map_resolver.cpp.
References PIN_MAP_SET::AddOrReplace(), SCH_SCREEN::Append(), BOOST_REQUIRE(), LIB_SYMBOL::GetAssociatedFootprints(), SCH_SYMBOL::GetLibSymbolRef(), SCH_SCREEN::GetLibSymbols(), LIB_SYMBOL::GetPinMaps(), SCH_SYMBOL::GetSchSymbolLibraryName(), SCH_SCREEN::GetUuid(), EDA_ITEM::m_Uuid, LIB_SYMBOL::PinMaps(), LIB_SYMBOL::SetAssociatedFootprints(), PIN_MAP::SetEntry(), SCH_SHEET::SetScreen(), SCHEMATIC::SetTopLevelSheets(), and SCHEMATIC::SyncLibSymbolPinMaps().
| BOOST_AUTO_TEST_CASE | ( | ThreeResolutionStates | ) |
Definition at line 95 of file test_pin_map_resolver.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), and pin.