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

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.
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/6]

BOOST_AUTO_TEST_CASE ( Assign  )

Check the assignment operator.

Definition at line 99 of file test_sch_pin.cpp.

References SCH_PIN::GetNumber(), and SCH_ITEM::GetParentSymbol().

◆ BOOST_AUTO_TEST_CASE() [2/6]

BOOST_AUTO_TEST_CASE ( Copy  )

Check the copy ctor.

Definition at line 110 of file test_sch_pin.cpp.

References SCH_PIN::GetAlt(), SCH_PIN::GetNumber(), SCH_ITEM::GetParentSymbol(), and SCH_PIN::SetAlt().

◆ BOOST_AUTO_TEST_CASE() [3/6]

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.

◆ BOOST_AUTO_TEST_CASE() [4/6]

BOOST_AUTO_TEST_CASE ( PinDangling  )

Check the pin dangling flag.

Definition at line 128 of file test_sch_pin.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/6]

BOOST_AUTO_TEST_CASE ( PinNumbering  )

Check the pin labelling.

Definition at line 145 of file test_sch_pin.cpp.

References name, and path.

◆ BOOST_AUTO_TEST_CASE() [6/6]

BOOST_AUTO_TEST_CASE ( PinNumberingPower  )

Check the pin labelling when it's a power pin.

Definition at line 161 of file test_sch_pin.cpp.

References path, and PT_POWER_IN.