|
KiCad PCB EDA Suite
|
P-CAD 2006 ACCEL_ASCII schematic import tests. More...
Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (CanReadSchematic) | |
| BOOST_AUTO_TEST_CASE (FeatureTestCounts) | |
| BOOST_AUTO_TEST_CASE (MultiUnitComponent) | |
| BOOST_AUTO_TEST_CASE (ComponentAlias) | |
| BOOST_AUTO_TEST_CASE (PowerSymbol) | |
| BOOST_AUTO_TEST_CASE (TitleBlock) | |
| BOOST_AUTO_TEST_CASE (TextFormatting) | |
| BOOST_AUTO_TEST_CASE (MetricUnits) | |
| BOOST_AUTO_TEST_CASE (EnumerateLibrary) | |
P-CAD 2006 ACCEL_ASCII schematic import tests.
Definition in file test_pcad_sch_import.cpp.
| BOOST_AUTO_TEST_CASE | ( | CanReadSchematic | ) |
Definition at line 36 of file test_pcad_sch_import.cpp.
References BOOST_AUTO_TEST_CASE().
| BOOST_AUTO_TEST_CASE | ( | ComponentAlias | ) |
Definition at line 149 of file test_pcad_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_SYMBOL::GetField(), SCH_SYMBOL::GetLibId(), LIB_ID::GetLibItemName(), SCH_FIELD::GetText(), LoadSchematic(), VALUE, and UTF8::wx_str().
| BOOST_AUTO_TEST_CASE | ( | EnumerateLibrary | ) |
Definition at line 237 of file test_pcad_sch_import.cpp.
References std::abs(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), LIB_SYMBOL::GetFootprintField(), LIB_SYMBOL::GetPins(), SCH_PIN::GetPosition(), LIB_SYMBOL::GetReferenceField(), SCH_FIELD::GetText(), pin1, schIUScale, and VECTOR2< T >::x.
| BOOST_AUTO_TEST_CASE | ( | FeatureTestCounts | ) |
Definition at line 51 of file test_pcad_sch_import.cpp.
References BOOST_CHECK_EQUAL(), DOT, LoadSchematic(), SCH_BUS_WIRE_ENTRY_T, SCH_GLOBAL_LABEL_T, SCH_JUNCTION_T, SCH_LABEL_T, SCH_SHAPE_T, SCH_SHEET_T, SCH_SYMBOL_T, SCH_TEXT_T, and schIUScale.
| BOOST_AUTO_TEST_CASE | ( | MetricUnits | ) |
Definition at line 217 of file test_pcad_sch_import.cpp.
References EDA_ITEM::GetPosition(), LoadSchematic(), SCH_JUNCTION_T, and schIUScale.
| BOOST_AUTO_TEST_CASE | ( | MultiUnitComponent | ) |
Definition at line 111 of file test_pcad_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), CLOCK, LIB_SYMBOL::GetDescription(), LIB_SYMBOL::GetFootprintField(), SCH_PIN::GetShape(), SCH_FIELD::GetText(), SCH_PIN::GetType(), LIB_SYMBOL::GetUnitCount(), INVERTED, LoadSchematic(), pin1, pin3, PT_INPUT, PT_OUTPUT, PT_PASSIVE, and PT_TRISTATE.
| BOOST_AUTO_TEST_CASE | ( | PowerSymbol | ) |
Definition at line 162 of file test_pcad_sch_import.cpp.
References BOOST_REQUIRE(), LIB_SYMBOL::IsPower(), LoadSchematic(), pin, and PT_POWER_IN.
| BOOST_AUTO_TEST_CASE | ( | TextFormatting | ) |
Definition at line 195 of file test_pcad_sch_import.cpp.
References BOOST_REQUIRE(), DEGREES_T, EDA_TEXT::GetTextAngle(), EDA_TEXT::IsBold(), EDA_TEXT::IsItalic(), and LoadSchematic().
| BOOST_AUTO_TEST_CASE | ( | TitleBlock | ) |
Definition at line 182 of file test_pcad_sch_import.cpp.
References BOOST_CHECK_EQUAL(), TITLE_BLOCK::GetCompany(), TITLE_BLOCK::GetDate(), TITLE_BLOCK::GetRevision(), TITLE_BLOCK::GetTitle(), and LoadSchematic().