KiCad PCB EDA Suite
Loading...
Searching...
No Matches
KI_TEST::BOARD_EXPECTATION_TEST::DESCRIPTOR Struct Reference

Lightweight descriptor for a BOARD_EXPECTATION_TEST, which can be used to refer to the test unambiguously. More...

#include <board_expectations.h>

Public Attributes

std::string m_TestName
 If the test has a name, it's that, else an index - this is for naming the test for filtering.
 
std::vector< std::string > m_Tags
 Tags associated with the test, which can be used for filtering.
 
const nlohmann::json & m_TestJson
 Handy ref to the JSON entry for this expectations test, which saves looking it up again.
 

Detailed Description

Lightweight descriptor for a BOARD_EXPECTATION_TEST, which can be used to refer to the test unambiguously.

Intended to be used for registering the test with the test runner at static init.

Definition at line 71 of file board_expectations.h.

Member Data Documentation

◆ m_Tags

std::vector<std::string> KI_TEST::BOARD_EXPECTATION_TEST::DESCRIPTOR::m_Tags

Tags associated with the test, which can be used for filtering.

Definition at line 76 of file board_expectations.h.

Referenced by buildAllegroBoardSuites().

◆ m_TestJson

const nlohmann::json& KI_TEST::BOARD_EXPECTATION_TEST::DESCRIPTOR::m_TestJson

Handy ref to the JSON entry for this expectations test, which saves looking it up again.

Definition at line 78 of file board_expectations.h.

Referenced by KI_TEST::BOARD_EXPECTATION_TEST::RunFromRef().

◆ m_TestName

std::string KI_TEST::BOARD_EXPECTATION_TEST::DESCRIPTOR::m_TestName

If the test has a name, it's that, else an index - this is for naming the test for filtering.

Definition at line 74 of file board_expectations.h.

Referenced by buildAllegroBoardSuites(), and KI_TEST::BOARD_EXPECTATION_TEST::RunFromRef().


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