KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PAD_CHECK_FIXTURE Struct Reference

Fixture for pad check tests: This sets up a board, footprint, and pad, and provides utility functions to run pad checks on the pad. More...

Public Member Functions

 PAD_CHECK_FIXTURE ()
 
void setLayers (PAD_ATTRIB aAttrib, const LSET &aLayers)
 
std::vector< PAD_UTILS::PAD_CHECK_RESULT > runPadCheckOnPad ()
 Runs the pad check on the current pad and returns the results.
 

Public Attributes

BOARD m_Board
 
FOOTPRINT m_Footprint
 
PAD m_Pad
 

Detailed Description

Fixture for pad check tests: This sets up a board, footprint, and pad, and provides utility functions to run pad checks on the pad.

Definition at line 134 of file test_pad_check.cpp.

Constructor & Destructor Documentation

◆ PAD_CHECK_FIXTURE()

PAD_CHECK_FIXTURE::PAD_CHECK_FIXTURE ( )
inline

Member Function Documentation

◆ runPadCheckOnPad()

std::vector< PAD_UTILS::PAD_CHECK_RESULT > PAD_CHECK_FIXTURE::runPadCheckOnPad ( )
inline

Runs the pad check on the current pad and returns the results.

Returns
A vector of PAD_CHECK_RESULT containing any issues found with the pad.

Definition at line 165 of file test_pad_check.cpp.

References PAD_UTILS::CheckPad(), m_Pad, MM, and pcbIUScale.

◆ setLayers()

void PAD_CHECK_FIXTURE::setLayers ( PAD_ATTRIB aAttrib,
const LSET & aLayers )
inline

Definition at line 154 of file test_pad_check.cpp.

References m_Pad.

Member Data Documentation

◆ m_Board

BOARD PAD_CHECK_FIXTURE::m_Board

Definition at line 136 of file test_pad_check.cpp.

Referenced by PAD_CHECK_FIXTURE().

◆ m_Footprint

FOOTPRINT PAD_CHECK_FIXTURE::m_Footprint

Definition at line 137 of file test_pad_check.cpp.

Referenced by PAD_CHECK_FIXTURE().

◆ m_Pad

PAD PAD_CHECK_FIXTURE::m_Pad

Definition at line 138 of file test_pad_check.cpp.

Referenced by PAD_CHECK_FIXTURE(), runPadCheckOnPad(), and setLayers().


The documentation for this struct was generated from the following file: