KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_variant_symbol_compatibility.cpp File Reference

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)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/20]

BOOST_AUTO_TEST_CASE ( BodyStyle_BothHave_Compatible )

Definition at line 384 of file test_variant_symbol_compatibility.cpp.

References PT_INPUT, and PT_OUTPUT.

◆ BOOST_AUTO_TEST_CASE() [2/20]

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() [3/20]

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() [4/20]

BOOST_AUTO_TEST_CASE ( CandidateHasExtraPins_Incompatible )

Definition at line 162 of file test_variant_symbol_compatibility.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/20]

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() [6/20]

BOOST_AUTO_TEST_CASE ( CandidateMoreUnits_Incompatible )

Definition at line 364 of file test_variant_symbol_compatibility.cpp.

References PT_INPUT.

◆ BOOST_AUTO_TEST_CASE() [7/20]

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() [8/20]

BOOST_AUTO_TEST_CASE ( DuplicatePinNumbersAtMatchingPositions_Compatible )

Definition at line 177 of file test_variant_symbol_compatibility.cpp.

References empty().

◆ BOOST_AUTO_TEST_CASE() [9/20]

BOOST_AUTO_TEST_CASE ( DuplicatePinNumbersMapByPosition )

◆ BOOST_AUTO_TEST_CASE() [10/20]

BOOST_AUTO_TEST_CASE ( DuplicatePinNumbersMissingOccurrence_Incompatible )

Definition at line 191 of file test_variant_symbol_compatibility.cpp.

References empty().

◆ BOOST_AUTO_TEST_CASE() [11/20]

BOOST_AUTO_TEST_CASE ( EmptySymbols_Compatible )

Definition at line 426 of file test_variant_symbol_compatibility.cpp.

◆ BOOST_AUTO_TEST_CASE() [12/20]

BOOST_AUTO_TEST_CASE ( IdenticalSymbols_Compatible )

Definition at line 126 of file test_variant_symbol_compatibility.cpp.

◆ BOOST_AUTO_TEST_CASE() [13/20]

BOOST_AUTO_TEST_CASE ( MultipleErrors_AllReported )

◆ BOOST_AUTO_TEST_CASE() [14/20]

BOOST_AUTO_TEST_CASE ( MultiUnit_AllUnitsMatch_Compatible )

Definition at line 290 of file test_variant_symbol_compatibility.cpp.

References PT_INPUT, and PT_OUTPUT.

◆ BOOST_AUTO_TEST_CASE() [15/20]

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() [16/20]

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() [17/20]

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() [18/20]

BOOST_AUTO_TEST_CASE ( SamePinLayout_Compatible )

Definition at line 137 of file test_variant_symbol_compatibility.cpp.

◆ BOOST_AUTO_TEST_CASE() [19/20]

BOOST_AUTO_TEST_CASE ( SamePinLayout_DifferentFootprint_Compatible )

Definition at line 148 of file test_variant_symbol_compatibility.cpp.

◆ BOOST_AUTO_TEST_CASE() [20/20]

BOOST_AUTO_TEST_CASE ( UnresolvedLibraryPinTypeIsUnspecified )