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

Test suite for the ERC ground pin checks (ERCE_GROUND_PIN_NOT_GROUND) More...

Go to the source code of this file.

Classes

struct  ERC_GROUND_PIN_TEST_FIXTURE
 

Functions

 BOOST_FIXTURE_TEST_CASE (ERCGroundPinMismatch, ERC_GROUND_PIN_TEST_FIXTURE)
 Test case: Pin with "GND" in its name connected to non-ground net while another pin in the same symbol is connected to a ground net.
 
 BOOST_FIXTURE_TEST_CASE (ERCGroundPinCorrect, ERC_GROUND_PIN_TEST_FIXTURE)
 Test case: Pin with "GND" in its name correctly connected to ground net.
 
 BOOST_FIXTURE_TEST_CASE (ERCGroundPinMixed, ERC_GROUND_PIN_TEST_FIXTURE)
 Test case: Symbol with multiple ground pins, some connected correctly, some not.
 
 BOOST_FIXTURE_TEST_CASE (ERCGroundPinNoGroundNet, ERC_GROUND_PIN_TEST_FIXTURE)
 Test case: Symbol with ground-labeled pin but no ground net anywhere in the schematic.
 
 BOOST_FIXTURE_TEST_CASE (ERCGroundPinToggle, ERC_GROUND_PIN_TEST_FIXTURE)
 Test case: Verify that the ground pin check is properly enabled/disabled.
 
 BOOST_FIXTURE_TEST_CASE (ERCGroundPinErrorMessage, ERC_GROUND_PIN_TEST_FIXTURE)
 Test case: Verify error message content and pin identification.
 
 BOOST_FIXTURE_TEST_CASE (ERCGroundPinComprehensive, ERC_GROUND_PIN_TEST_FIXTURE)
 Comprehensive test with all ground pin related test cases.
 

Detailed Description

Test suite for the ERC ground pin checks (ERCE_GROUND_PIN_NOT_GROUND)

This test verifies that the ERC correctly detects and reports when pins labeled with "GND" are not connected to a ground net while other pins in the same symbol are connected to ground nets.

Definition in file test_erc_ground_pins.cpp.

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE() [1/7]

◆ BOOST_FIXTURE_TEST_CASE() [2/7]

◆ BOOST_FIXTURE_TEST_CASE() [3/7]

BOOST_FIXTURE_TEST_CASE ( ERCGroundPinErrorMessage  ,
ERC_GROUND_PIN_TEST_FIXTURE   
)

◆ BOOST_FIXTURE_TEST_CASE() [4/7]

BOOST_FIXTURE_TEST_CASE ( ERCGroundPinMismatch  ,
ERC_GROUND_PIN_TEST_FIXTURE   
)

◆ BOOST_FIXTURE_TEST_CASE() [5/7]

BOOST_FIXTURE_TEST_CASE ( ERCGroundPinMixed  ,
ERC_GROUND_PIN_TEST_FIXTURE   
)

◆ BOOST_FIXTURE_TEST_CASE() [6/7]

BOOST_FIXTURE_TEST_CASE ( ERCGroundPinNoGroundNet  ,
ERC_GROUND_PIN_TEST_FIXTURE   
)

◆ BOOST_FIXTURE_TEST_CASE() [7/7]