![]() |
KiCad PCB EDA Suite
|
#include <unit_test_utils/unit_test_utils.h>
#include <unit_test_utils/wx_assert.h>
#include <sch_pin.h>
#include <sch_symbol.h>
#include <eda_rect.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. More... | |
BOOST_AUTO_TEST_CASE (Assign) | |
Check the assignment operator. More... | |
BOOST_AUTO_TEST_CASE (Copy) | |
Check the copy ctor. More... | |
BOOST_AUTO_TEST_CASE (PinDangling) | |
Check the pin dangling flag. More... | |
BOOST_AUTO_TEST_CASE (PinNumbering) | |
Check the pin labelling. More... | |
BOOST_AUTO_TEST_CASE (PinNumberingPower) | |
Check the pin labelling when it's a power pin. More... | |
BOOST_AUTO_TEST_CASE | ( | DefaultProperties | ) |
Declare the test suite.
Check basic properties of an un-modified SCH_PIN object
Definition at line 80 of file test_sch_pin.cpp.
References BOOST_CHECK().
BOOST_AUTO_TEST_CASE | ( | Assign | ) |
Check the assignment operator.
Definition at line 100 of file test_sch_pin.cpp.
References SCH_PIN::GetNumber(), and SCH_PIN::GetParentSymbol().
BOOST_AUTO_TEST_CASE | ( | Copy | ) |
Check the copy ctor.
Definition at line 111 of file test_sch_pin.cpp.
References SCH_PIN::GetNumber(), and SCH_PIN::GetParentSymbol().
BOOST_AUTO_TEST_CASE | ( | PinDangling | ) |
BOOST_AUTO_TEST_CASE | ( | PinNumbering | ) |
Check the pin labelling.
Definition at line 139 of file test_sch_pin.cpp.
BOOST_AUTO_TEST_CASE | ( | PinNumberingPower | ) |
Check the pin labelling when it's a power pin.
Definition at line 155 of file test_sch_pin.cpp.
References path, PT_POWER_IN, and SCH_COMPONENT::SetRef().