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

Fixture for comprehensive board import tests with error capturing. More...

Public Member Functions

 ALLEGRO_COMPREHENSIVE_FIXTURE ()
 
BOARDGetCachedBoard (const std::string &aFilePath)
 Get a cached board, loading it on first access.
 

Static Public Member Functions

static std::vector< std::string > GetAllBoardFiles ()
 Get list of all .brd files in the Allegro test data directory.
 

Public Attributes

PCB_IO_ALLEGRO m_allegroPlugin
 

Detailed Description

Fixture for comprehensive board import tests with error capturing.

Definition at line 520 of file test_allegro_import.cpp.

Constructor & Destructor Documentation

◆ ALLEGRO_COMPREHENSIVE_FIXTURE()

ALLEGRO_COMPREHENSIVE_FIXTURE::ALLEGRO_COMPREHENSIVE_FIXTURE ( )
inline

Definition at line 522 of file test_allegro_import.cpp.

Member Function Documentation

◆ GetAllBoardFiles()

static std::vector< std::string > ALLEGRO_COMPREHENSIVE_FIXTURE::GetAllBoardFiles ( )
inlinestatic

Get list of all .brd files in the Allegro test data directory.

Definition at line 537 of file test_allegro_import.cpp.

References KI_TEST::AllegroBoardDataDir(), BOOST_TEST_MESSAGE(), and name.

◆ GetCachedBoard()

BOARD * ALLEGRO_COMPREHENSIVE_FIXTURE::GetCachedBoard ( const std::string & aFilePath)
inline

Get a cached board, loading it on first access.

Boards loaded through this method are shared across all test cases to avoid redundant parsing of large Allegro files.

Definition at line 529 of file test_allegro_import.cpp.

References KI_TEST::CACHED_BOARD_LOADER::GetCachedBoard(), and KI_TEST::ALLEGRO_CACHED_LOADER::GetInstance().

Member Data Documentation

◆ m_allegroPlugin

PCB_IO_ALLEGRO ALLEGRO_COMPREHENSIVE_FIXTURE::m_allegroPlugin

Definition at line 574 of file test_allegro_import.cpp.


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