KiCad PCB EDA Suite
|
Test suite for #ALTIUM_PARSER_SCH. More...
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <eeschema/sch_io/altium/altium_parser_sch.h>
Go to the source code of this file.
Classes | |
struct | ALTIUM_PARSER_SCH_FIXTURE |
struct | ALTIUM_TO_KICAD_UNIT_FRAC_CASE |
Declares the struct as the Boost test fixture. More... | |
Functions | |
int | ReadKiCadUnitFrac (const std::map< wxString, wxString > &aProps, const wxString &aKey) |
BOOST_AUTO_TEST_CASE (PropertiesReadKiCadUnitFracConversation) | |
Test conversation from Altium internal units into KiCad internal units using properties with FRAC. | |
Variables | |
static const std::vector< ALTIUM_TO_KICAD_UNIT_FRAC_CASE > | altium_to_kicad_unit_frac |
A list of valid internal unit conversation factors. | |
Test suite for #ALTIUM_PARSER_SCH.
Definition in file test_altium_parser_sch.cpp.
BOOST_AUTO_TEST_CASE | ( | PropertiesReadKiCadUnitFracConversation | ) |
Test conversation from Altium internal units into KiCad internal units using properties with FRAC.
Definition at line 88 of file test_altium_parser_sch.cpp.
References altium_to_kicad_unit_frac, and ReadKiCadUnitFrac().
int ReadKiCadUnitFrac | ( | const std::map< wxString, wxString > & | aProps, |
const wxString & | aKey | ||
) |
Definition at line 57 of file altium_parser_sch.cpp.
References Altium2KiCadUnit(), and ALTIUM_PROPS_UTILS::ReadInt().
Referenced by ASCH_ARC::ASCH_ARC(), ASCH_BEZIER::ASCH_BEZIER(), ASCH_BORDER_INTERFACE::ASCH_BORDER_INTERFACE(), ASCH_BUS::ASCH_BUS(), ASCH_BUS_ENTRY::ASCH_BUS_ENTRY(), ASCH_DESIGNATOR::ASCH_DESIGNATOR(), ASCH_ELLIPSE::ASCH_ELLIPSE(), ASCH_FILE_NAME::ASCH_FILE_NAME(), ASCH_HARNESS_CONNECTOR::ASCH_HARNESS_CONNECTOR(), ASCH_HARNESS_TYPE::ASCH_HARNESS_TYPE(), ASCH_IMAGE::ASCH_IMAGE(), ASCH_JUNCTION::ASCH_JUNCTION(), ASCH_LABEL::ASCH_LABEL(), ASCH_LINE::ASCH_LINE(), ASCH_NET_LABEL::ASCH_NET_LABEL(), ASCH_NO_ERC::ASCH_NO_ERC(), ASCH_PARAMETER::ASCH_PARAMETER(), ASCH_POLYGON::ASCH_POLYGON(), ASCH_POLYLINE::ASCH_POLYLINE(), ASCH_PORT::ASCH_PORT(), ASCH_POWER_PORT::ASCH_POWER_PORT(), ASCH_RECTANGLE::ASCH_RECTANGLE(), ASCH_ROUND_RECTANGLE::ASCH_ROUND_RECTANGLE(), ASCH_SHEET::ASCH_SHEET(), ASCH_SHEET_FONT::ASCH_SHEET_FONT(), ASCH_SHEET_NAME::ASCH_SHEET_NAME(), ASCH_SHEET_SYMBOL::ASCH_SHEET_SYMBOL(), ASCH_SIGNAL_HARNESS::ASCH_SIGNAL_HARNESS(), ASCH_SYMBOL::ASCH_SYMBOL(), ASCH_TEXT_FRAME::ASCH_TEXT_FRAME(), ASCH_WIRE::ASCH_WIRE(), and BOOST_AUTO_TEST_CASE().
|
static |
A list of valid internal unit conversation factors.
Definition at line 59 of file test_altium_parser_sch.cpp.
Referenced by BOOST_AUTO_TEST_CASE().