KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_altium_parser_utils.cpp File Reference

Test suite for #ALTIUM_PARSER. More...

Go to the source code of this file.

Classes

struct  ALTIUM_PARSER_UTILS_FIXTURE
 
struct  SPECIAL_STRINGS_TO_KICAD
 Declares the struct as the Boost test fixture. More...
 

Functions

 BOOST_AUTO_TEST_CASE (AltiumSchSpecialStringsToKiCadVariablesProperties)
 Test conversation from Altium Schematic Special String to a KiCad String with variables.
 
 BOOST_AUTO_TEST_CASE (AltiumPcbSpecialStringsToKiCadStringsProperties)
 Test conversation from Altium Board Special String to a KiCad String with variables.
 

Variables

static const std::vector< SPECIAL_STRINGS_TO_KICADsch_special_string_to_kicad_property
 A list of valid test strings and the expected results.
 
static const std::vector< SPECIAL_STRINGS_TO_KICADpcb_special_string_to_kicad_property
 A list of valid test strings and the expected results.
 

Detailed Description

Test suite for #ALTIUM_PARSER.

Definition in file test_altium_parser_utils.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/2]

BOOST_AUTO_TEST_CASE ( AltiumPcbSpecialStringsToKiCadStringsProperties  )

Test conversation from Altium Board Special String to a KiCad String with variables.

Definition at line 205 of file test_altium_parser_utils.cpp.

References AltiumPcbSpecialStringsToKiCadStrings(), BOOST_TEST_CONTEXT, and pcb_special_string_to_kicad_property.

◆ BOOST_AUTO_TEST_CASE() [2/2]

BOOST_AUTO_TEST_CASE ( AltiumSchSpecialStringsToKiCadVariablesProperties  )

Test conversation from Altium Schematic Special String to a KiCad String with variables.

Definition at line 137 of file test_altium_parser_utils.cpp.

References AltiumSchSpecialStringsToKiCadVariables(), BOOST_TEST_CONTEXT, and sch_special_string_to_kicad_property.

Variable Documentation

◆ pcb_special_string_to_kicad_property

const std::vector<SPECIAL_STRINGS_TO_KICAD> pcb_special_string_to_kicad_property
static

A list of valid test strings and the expected results.

Definition at line 154 of file test_altium_parser_utils.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ sch_special_string_to_kicad_property

const std::vector<SPECIAL_STRINGS_TO_KICAD> sch_special_string_to_kicad_property
static

A list of valid test strings and the expected results.

Definition at line 55 of file test_altium_parser_utils.cpp.

Referenced by BOOST_AUTO_TEST_CASE().