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

The registry of known Allegro board and block tests, populated at static init time by reading the JSON registry file. More...

Public Member Functions

const nlohmann::json & GetBoardJson (const std::string &aBoardName) const
 

Public Attributes

nlohmann::json m_Json
 
std::vector< ALLEGRO_BOARD_TEST_REFm_BoardTests
 

Detailed Description

The registry of known Allegro board and block tests, populated at static init time by reading the JSON registry file.

(We need to do this at static init time to be able to register named Boost test cases).

Definition at line 440 of file test_allegro_boards.cpp.

Member Function Documentation

◆ GetBoardJson()

const nlohmann::json & ALLEGRO_BLOCK_TEST_REGISTRY::GetBoardJson ( const std::string & aBoardName) const
inline

Definition at line 445 of file test_allegro_boards.cpp.

References m_Json.

Referenced by buildAllegroBoardSuites().

Member Data Documentation

◆ m_BoardTests

std::vector<ALLEGRO_BOARD_TEST_REF> ALLEGRO_BLOCK_TEST_REGISTRY::m_BoardTests

Definition at line 443 of file test_allegro_boards.cpp.

Referenced by buildAllegroBoardSuites(), and buildTestRegistry().

◆ m_Json

nlohmann::json ALLEGRO_BLOCK_TEST_REGISTRY::m_Json

Definition at line 442 of file test_allegro_boards.cpp.

Referenced by buildTestRegistry(), and GetBoardJson().


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