|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <lib_symbol.h>#include <sch_pin.h>#include <sch_symbol.h>#include <variant_symbol_utils.h>#include <connectivity/conn_facts.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (UnresolvedLibraryPinTypeIsUnspecified) | |
| BOOST_AUTO_TEST_CASE (IdenticalSymbols_Compatible) | |
| BOOST_AUTO_TEST_CASE (SamePinLayout_Compatible) | |
| BOOST_AUTO_TEST_CASE (SamePinLayout_DifferentFootprint_Compatible) | |
| BOOST_AUTO_TEST_CASE (CandidateHasExtraPins_Incompatible) | |
| BOOST_AUTO_TEST_CASE (DuplicatePinNumbersAtMatchingPositions_Compatible) | |
| BOOST_AUTO_TEST_CASE (DuplicatePinNumbersMissingOccurrence_Incompatible) | |
| BOOST_AUTO_TEST_CASE (DuplicatePinNumbersMapByPosition) | |
| BOOST_AUTO_TEST_CASE (CandidateMissingPin_Incompatible) | |
| BOOST_AUTO_TEST_CASE (PinPositionMismatch_Incompatible) | |
| BOOST_AUTO_TEST_CASE (PinTypeMismatch_Incompatible) | |
| BOOST_AUTO_TEST_CASE (DifferentSymbolType_Incompatible) | |
| BOOST_AUTO_TEST_CASE (MultiUnit_AllUnitsMatch_Compatible) | |
| BOOST_AUTO_TEST_CASE (MultiUnit_OneUnitMismatch_Incompatible) | |
| BOOST_AUTO_TEST_CASE (CandidateFewerUnits_Incompatible) | |
| BOOST_AUTO_TEST_CASE (CandidateMoreUnits_Incompatible) | |
| BOOST_AUTO_TEST_CASE (BodyStyle_BothHave_Compatible) | |
| BOOST_AUTO_TEST_CASE (BodyStyle_CandidateMissing_Incompatible) | |
| BOOST_AUTO_TEST_CASE (EmptySymbols_Compatible) | |
| BOOST_AUTO_TEST_CASE (MultipleErrors_AllReported) | |
| BOOST_AUTO_TEST_CASE | ( | BodyStyle_BothHave_Compatible | ) |
Definition at line 384 of file test_variant_symbol_compatibility.cpp.
| BOOST_AUTO_TEST_CASE | ( | BodyStyle_CandidateMissing_Incompatible | ) |
Definition at line 406 of file test_variant_symbol_compatibility.cpp.
References MISSING_BODY_STYLE, PT_INPUT, and PT_OUTPUT.
| BOOST_AUTO_TEST_CASE | ( | CandidateFewerUnits_Incompatible | ) |
Definition at line 343 of file test_variant_symbol_compatibility.cpp.
References INSUFFICIENT_UNITS, and PT_INPUT.
| BOOST_AUTO_TEST_CASE | ( | CandidateHasExtraPins_Incompatible | ) |
Definition at line 162 of file test_variant_symbol_compatibility.cpp.
| BOOST_AUTO_TEST_CASE | ( | CandidateMissingPin_Incompatible | ) |
Definition at line 229 of file test_variant_symbol_compatibility.cpp.
References MISSING_PIN_NUMBER.
| BOOST_AUTO_TEST_CASE | ( | CandidateMoreUnits_Incompatible | ) |
Definition at line 364 of file test_variant_symbol_compatibility.cpp.
References PT_INPUT.
| BOOST_AUTO_TEST_CASE | ( | DifferentSymbolType_Incompatible | ) |
Definition at line 275 of file test_variant_symbol_compatibility.cpp.
References PIN_POSITION_MISMATCH.
| BOOST_AUTO_TEST_CASE | ( | DuplicatePinNumbersAtMatchingPositions_Compatible | ) |
Definition at line 177 of file test_variant_symbol_compatibility.cpp.
References empty().
| BOOST_AUTO_TEST_CASE | ( | DuplicatePinNumbersMapByPosition | ) |
Definition at line 204 of file test_variant_symbol_compatibility.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), LIB_SYMBOL::GetGraphicalPins(), LIB_SYMBOL::GetLibId(), SCH_SYMBOL::MapLibPins(), and path.
| BOOST_AUTO_TEST_CASE | ( | DuplicatePinNumbersMissingOccurrence_Incompatible | ) |
Definition at line 191 of file test_variant_symbol_compatibility.cpp.
References empty().
| BOOST_AUTO_TEST_CASE | ( | EmptySymbols_Compatible | ) |
Definition at line 426 of file test_variant_symbol_compatibility.cpp.
| BOOST_AUTO_TEST_CASE | ( | IdenticalSymbols_Compatible | ) |
Definition at line 126 of file test_variant_symbol_compatibility.cpp.
| BOOST_AUTO_TEST_CASE | ( | MultipleErrors_AllReported | ) |
Definition at line 437 of file test_variant_symbol_compatibility.cpp.
References BOOST_CHECK_EQUAL(), MISSING_PIN_NUMBER, PIN_POSITION_MISMATCH, PIN_TYPE_MISMATCH, PT_INPUT, PT_OUTPUT, and PT_PASSIVE.
| BOOST_AUTO_TEST_CASE | ( | MultiUnit_AllUnitsMatch_Compatible | ) |
Definition at line 290 of file test_variant_symbol_compatibility.cpp.
| BOOST_AUTO_TEST_CASE | ( | MultiUnit_OneUnitMismatch_Incompatible | ) |
Definition at line 316 of file test_variant_symbol_compatibility.cpp.
References MISSING_PIN_NUMBER, PT_INPUT, and PT_OUTPUT.
| BOOST_AUTO_TEST_CASE | ( | PinPositionMismatch_Incompatible | ) |
Definition at line 245 of file test_variant_symbol_compatibility.cpp.
References PIN_POSITION_MISMATCH.
| BOOST_AUTO_TEST_CASE | ( | PinTypeMismatch_Incompatible | ) |
Definition at line 260 of file test_variant_symbol_compatibility.cpp.
References PIN_TYPE_MISMATCH, and PT_INPUT.
| BOOST_AUTO_TEST_CASE | ( | SamePinLayout_Compatible | ) |
Definition at line 137 of file test_variant_symbol_compatibility.cpp.
| BOOST_AUTO_TEST_CASE | ( | SamePinLayout_DifferentFootprint_Compatible | ) |
Definition at line 148 of file test_variant_symbol_compatibility.cpp.
| BOOST_AUTO_TEST_CASE | ( | UnresolvedLibraryPinTypeIsUnspecified | ) |
Definition at line 116 of file test_variant_symbol_compatibility.cpp.
References BOOST_AUTO_TEST_CASE(), empty(), PT_INHERIT, and PT_UNSPECIFIED.