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

A complete description of a block test. More...

#include <allegro_block_tests.h>

Public Attributes

uint8_t m_BlockType
 The type of the block, as in the first byte.
 
size_t m_BlockOffset
 The offset within the board file where this block is located (used for error messages)
 
bool m_Skip
 Whether to skip this test while parsers don't support a certain format.
 
bool m_ExtraBlockTest
 Do we have an additional block-level test to run for this block?
 
bool m_ExtraDbObjTest
 Do we have an additional DB_OBJ-level test to run for this block?
 
std::string m_DataSource
 The the source of the block data (probably a filename)
 

Friends

std::ostream & operator<< (std::ostream &os, const BLOCK_TEST_INFO &aTestInfo)
 

Detailed Description

A complete description of a block test.

Definition at line 59 of file allegro_block_tests.h.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
const BLOCK_TEST_INFO & aTestInfo )
friend

Definition at line 74 of file allegro_block_tests.h.

References m_BlockOffset, and m_BlockType.

Member Data Documentation

◆ m_BlockOffset

size_t KI_TEST::BLOCK_TEST_INFO::m_BlockOffset

The offset within the board file where this block is located (used for error messages)

Definition at line 64 of file allegro_block_tests.h.

Referenced by operator<<, and ALLEGRO_BLOCK_TEST_FIXTURE::RunBlockTest().

◆ m_BlockType

uint8_t KI_TEST::BLOCK_TEST_INFO::m_BlockType

The type of the block, as in the first byte.

Definition at line 62 of file allegro_block_tests.h.

Referenced by operator<<, and ALLEGRO_BLOCK_TEST_FIXTURE::RunBlockTest().

◆ m_DataSource

std::string KI_TEST::BLOCK_TEST_INFO::m_DataSource

The the source of the block data (probably a filename)

Definition at line 72 of file allegro_block_tests.h.

Referenced by ALLEGRO_BLOCK_TEST_FIXTURE::RunBlockTest().

◆ m_ExtraBlockTest

bool KI_TEST::BLOCK_TEST_INFO::m_ExtraBlockTest

Do we have an additional block-level test to run for this block?

Definition at line 68 of file allegro_block_tests.h.

Referenced by ALLEGRO_BLOCK_TEST_FIXTURE::RunBlockTest().

◆ m_ExtraDbObjTest

bool KI_TEST::BLOCK_TEST_INFO::m_ExtraDbObjTest

Do we have an additional DB_OBJ-level test to run for this block?

Definition at line 70 of file allegro_block_tests.h.

Referenced by ALLEGRO_BLOCK_TEST_FIXTURE::RunBlockTest().

◆ m_Skip

bool KI_TEST::BLOCK_TEST_INFO::m_Skip

Whether to skip this test while parsers don't support a certain format.

Definition at line 66 of file allegro_block_tests.h.

Referenced by ALLEGRO_BLOCK_TEST_FIXTURE::RunBlockTest().


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