| 
    KiCad PCB EDA Suite
    
   | 
 
#include <qa_utils/wx_utils/unit_test_utils.h>#include <qa_utils/wx_utils/wx_assert.h>#include <lib_symbol.h>#include <pin_type.h>#include <sch_pin.h>#include <sch_symbol.h>Go to the source code of this file.
Classes | |
| class | TEST_SCH_PIN_FIXTURE | 
Functions | |
| BOOST_AUTO_TEST_CASE (DefaultProperties) | |
| Declare the test suite.   | |
| BOOST_AUTO_TEST_CASE (Assign) | |
| Check the assignment operator.   | |
| BOOST_AUTO_TEST_CASE (Copy) | |
| Check the copy ctor.   | |
| BOOST_AUTO_TEST_CASE (PinDangling) | |
| Check the pin dangling flag.   | |
| BOOST_AUTO_TEST_CASE (PinNumbering) | |
| Check the pin labelling.   | |
| BOOST_AUTO_TEST_CASE (PinNumberingPower) | |
| Check the pin labelling when it's a power pin.   | |
| BOOST_AUTO_TEST_CASE (AlternatePinRenameUpdates) | |
| BOOST_AUTO_TEST_CASE | ( | AlternatePinRenameUpdates | ) | 
Definition at line 192 of file test_sch_pin.cpp.
References BOOST_CHECK_EQUAL(), SCH_PIN::GetAlt(), SCH_PIN::GetAlternates(), INVERTED, SCH_PIN::ALT::m_Name, SCH_PIN::ALT::m_Shape, SCH_PIN::ALT::m_Type, and PT_INPUT.
| BOOST_AUTO_TEST_CASE | ( | Assign | ) | 
Check the assignment operator.
Definition at line 101 of file test_sch_pin.cpp.
References BOOST_CHECK_EQUAL(), SCH_PIN::GetNumber(), and SCH_ITEM::GetParentSymbol().
| BOOST_AUTO_TEST_CASE | ( | Copy | ) | 
Check the copy ctor.
Definition at line 112 of file test_sch_pin.cpp.
References BOOST_CHECK_EQUAL(), copied, SCH_PIN::GetAlt(), INVERTED, SCH_PIN::ALT::m_Name, SCH_PIN::ALT::m_Shape, SCH_PIN::ALT::m_Type, and PT_OUTPUT.
| BOOST_AUTO_TEST_CASE | ( | DefaultProperties | ) | 
Declare the test suite.
Check basic properties of an un-modified SCH_PIN object
Definition at line 81 of file test_sch_pin.cpp.
References BOOST_AUTO_TEST_CASE(), and BOOST_CHECK_EQUAL().
| BOOST_AUTO_TEST_CASE | ( | PinDangling | ) | 
Check the pin dangling flag.
Definition at line 136 of file test_sch_pin.cpp.
References BOOST_CHECK_EQUAL().
| BOOST_AUTO_TEST_CASE | ( | PinNumbering | ) | 
Check the pin labelling.
Definition at line 153 of file test_sch_pin.cpp.
References BOOST_CHECK_EQUAL(), name, and path.
| BOOST_AUTO_TEST_CASE | ( | PinNumberingPower | ) | 
Check the pin labelling when it's a power pin.
Definition at line 169 of file test_sch_pin.cpp.
References BOOST_CHECK_EQUAL(), path, and PT_POWER_IN.