KiCad PCB EDA Suite
|
Test suite for #ALTIUM_PARSER. More...
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <boost/test/data/test_case.hpp>
#include <common/io/altium/altium_parser_utils.h>
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 | |
std::ostream & | operator<< (std::ostream &strm, SPECIAL_STRINGS_TO_KICAD const &data) |
BOOST_DATA_TEST_CASE (AltiumSchSpecialStringsToKiCadVariablesProperties, boost::unit_test::data::make(sch_special_string_to_kicad_property), data) | |
Test conversation from Altium Schematic Special String to a KiCad String with variables. | |
BOOST_DATA_TEST_CASE (AltiumPcbSpecialStringsToKiCadStringsProperties, boost::unit_test::data::make(pcb_special_string_to_kicad_property), data) | |
Test conversation from Altium Board Special String to a KiCad String with variables. | |
Variables | |
static const std::vector< SPECIAL_STRINGS_TO_KICAD > | sch_special_string_to_kicad_property |
A list of valid test strings and the expected results. | |
static const std::vector< SPECIAL_STRINGS_TO_KICAD > | pcb_special_string_to_kicad_property |
A list of valid test strings and the expected results. | |
Test suite for #ALTIUM_PARSER.
Definition in file test_altium_parser_utils.cpp.
BOOST_DATA_TEST_CASE | ( | AltiumPcbSpecialStringsToKiCadStringsProperties | , |
boost::unit_test::data::make(pcb_special_string_to_kicad_property) | , | ||
data | |||
) |
Test conversation from Altium Board Special String to a KiCad String with variables.
Definition at line 207 of file test_altium_parser_utils.cpp.
References AltiumPcbSpecialStringsToKiCadStrings().
BOOST_DATA_TEST_CASE | ( | AltiumSchSpecialStringsToKiCadVariablesProperties | , |
boost::unit_test::data::make(sch_special_string_to_kicad_property) | , | ||
data | |||
) |
Test conversation from Altium Schematic Special String to a KiCad String with variables.
Definition at line 142 of file test_altium_parser_utils.cpp.
References AltiumSchSpecialStringsToKiCadVariables().
std::ostream & operator<< | ( | std::ostream & | strm, |
SPECIAL_STRINGS_TO_KICAD const & | data | ||
) |
Definition at line 53 of file test_altium_parser_utils.cpp.
References SPECIAL_STRINGS_TO_KICAD::exp_result, SPECIAL_STRINGS_TO_KICAD::input, and operator<<().
|
static |
A list of valid test strings and the expected results.
Definition at line 156 of file test_altium_parser_utils.cpp.
|
static |
A list of valid test strings and the expected results.
Definition at line 60 of file test_altium_parser_utils.cpp.