|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <core/utf8.h>#include <pin_map.h>#include <lib_symbol.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (EntrySetGetClear) | |
| BOOST_AUTO_TEST_CASE (IsIdentity) | |
| BOOST_AUTO_TEST_CASE (SetAddOrReplaceAndFind) | |
| BOOST_AUTO_TEST_CASE (SharedNamedMapReuse) | |
| BOOST_AUTO_TEST_CASE (LegacyPinMapConversion) | |
| BOOST_AUTO_TEST_CASE (OverrideDefaultsAndDelegate) | |
| BOOST_AUTO_TEST_CASE (EqualityIsValueBased) | |
| BOOST_AUTO_TEST_CASE (CoupledInheritanceThreeLevels) | |
| BOOST_AUTO_TEST_CASE (FlattenIsSelfContained) | |
| BOOST_AUTO_TEST_CASE (SharedMapReuseOnSymbol) | |
| BOOST_AUTO_TEST_CASE (CompareDetectsBundleDifferences) | |
| BOOST_AUTO_TEST_CASE | ( | CompareDetectsBundleDifferences | ) |
Definition at line 295 of file test_pin_map.cpp.
References BOOST_CHECK_EQUAL(), LIB_SYMBOL::Compare(), PIN_MAP_SET::FindByName(), LIB_SYMBOL::PinMaps(), LIB_SYMBOL::SetAssociatedFootprints(), PIN_MAP::SetEntry(), and LIB_SYMBOL::SetPinMaps().
| BOOST_AUTO_TEST_CASE | ( | CoupledInheritanceThreeLevels | ) |
Definition at line 227 of file test_pin_map.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), PIN_MAP_SET::FindByName(), LIB_SYMBOL::GetEffectiveAssociatedFootprints(), LIB_SYMBOL::GetEffectivePinMaps(), LIB_SYMBOL::IsDerived(), PIN_MAP_SET::IsEmpty(), LIB_SYMBOL::SetAssociatedFootprints(), LIB_SYMBOL::SetParent(), and LIB_SYMBOL::SetPinMaps().
| BOOST_AUTO_TEST_CASE | ( | EntrySetGetClear | ) |
Definition at line 42 of file test_pin_map.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), PIN_MAP::ClearEntry(), PIN_MAP::GetEntries(), PIN_MAP::GetPadNumber(), PIN_MAP::HasEntry(), PIN_MAP::IsEmpty(), and PIN_MAP::SetEntry().
| BOOST_AUTO_TEST_CASE | ( | EqualityIsValueBased | ) |
Definition at line 188 of file test_pin_map.cpp.
References PIN_MAP::SetEntry(), and PIN_MAP::SetName().
| BOOST_AUTO_TEST_CASE | ( | FlattenIsSelfContained | ) |
Definition at line 260 of file test_pin_map.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), LIB_SYMBOL::Flatten(), LIB_SYMBOL::SetAssociatedFootprints(), LIB_SYMBOL::SetParent(), and LIB_SYMBOL::SetPinMaps().
| BOOST_AUTO_TEST_CASE | ( | IsIdentity | ) |
Definition at line 75 of file test_pin_map.cpp.
References empty(), PIN_MAP::IsIdentity(), PIN_MAP::SetEntry(), and swap.
| BOOST_AUTO_TEST_CASE | ( | LegacyPinMapConversion | ) |
Definition at line 145 of file test_pin_map.cpp.
References BOOST_CHECK_EQUAL(), PIN_MAP::GetEntries(), PIN_MAP::GetName(), PIN_MAP::GetPadNumber(), PIN_MAP::HasEntry(), and MakeLegacyPinMap().
| BOOST_AUTO_TEST_CASE | ( | OverrideDefaultsAndDelegate | ) |
| BOOST_AUTO_TEST_CASE | ( | SetAddOrReplaceAndFind | ) |
Definition at line 100 of file test_pin_map.cpp.
References PIN_MAP_SET::AddOrReplace(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), PIN_MAP_SET::FindByName(), PIN_MAP_SET::GetAll(), PIN_MAP_SET::Remove(), and PIN_MAP::SetEntry().
| BOOST_AUTO_TEST_CASE | ( | SharedMapReuseOnSymbol | ) |
Definition at line 278 of file test_pin_map.cpp.
References PIN_MAP_SET::AddOrReplace(), PIN_MAP_SET::FindByName(), LIB_SYMBOL::GetAssociatedFootprints(), LIB_SYMBOL::GetPinMaps(), PIN_MAP::HasEntry(), LIB_SYMBOL::PinMaps(), LIB_SYMBOL::SetAssociatedFootprints(), and PIN_MAP::SetEntry().
| BOOST_AUTO_TEST_CASE | ( | SharedNamedMapReuse | ) |
Definition at line 126 of file test_pin_map.cpp.
References PIN_MAP_SET::AddOrReplace(), BOOST_CHECK_EQUAL(), PIN_MAP_SET::FindByName(), PIN_MAP::HasEntry(), and PIN_MAP::SetEntry().