|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <eeschema/sch_io/geda/sch_io_geda.h>#include <schematic.h>#include <sch_sheet.h>#include <sch_screen.h>#include <sch_symbol.h>#include <sch_line.h>#include <sch_junction.h>#include <sch_label.h>#include <sch_no_connect.h>#include <sch_bus_entry.h>#include <sch_bitmap.h>#include <sch_shape.h>#include <sch_text.h>#include <sch_pin.h>#include <lib_symbol.h>#include <settings/settings_manager.h>#include <reporter.h>#include <algorithm>#include <map>#include <set>Go to the source code of this file.
Classes | |
| struct | GEDA_SCH_IMPORT_FIXTURE |
Functions | |
| BOOST_AUTO_TEST_CASE (CanReadSchematicFile) | |
| BOOST_AUTO_TEST_CASE (RejectsNonSchExtension) | |
| BOOST_AUTO_TEST_CASE (RejectsNonGedaSchFiles) | |
| BOOST_AUTO_TEST_CASE (MinimalSchematicLoad) | |
| BOOST_AUTO_TEST_CASE (MinimalSchematicSymbolAttributes) | |
| BOOST_AUTO_TEST_CASE (MinimalSchematicWires) | |
| BOOST_AUTO_TEST_CASE (MinimalSchematicNetLabels) | |
| BOOST_AUTO_TEST_CASE (MinimalSchematicJunctions) | |
| BOOST_AUTO_TEST_CASE (AyabSchematicLoad) | |
| BOOST_AUTO_TEST_CASE (AyabSymbolAttributes) | |
| BOOST_AUTO_TEST_CASE (AyabFootprintAttributes) | |
| BOOST_AUTO_TEST_CASE (AyabCustomSymbolsLoaded) | |
| BOOST_AUTO_TEST_CASE (AyabStdlibSymbolsLoaded) | |
| BOOST_AUTO_TEST_CASE (ProjectSymbolOverridesSystem) | |
| BOOST_AUTO_TEST_CASE (AyabGlobalLabelsFromNetAttributes) | |
| BOOST_AUTO_TEST_CASE (AyabGlobalLabelCounts) | |
| BOOST_AUTO_TEST_CASE (AyabPowerSymbols) | |
| BOOST_AUTO_TEST_CASE (AyabJunctionsPlaced) | |
| BOOST_AUTO_TEST_CASE (AyabAllRefdesUnique) | |
| BOOST_AUTO_TEST_CASE (AyabWireEndpointsInPositiveSpace) | |
| BOOST_AUTO_TEST_CASE (AyabSymbolPositionsInPositiveSpace) | |
| BOOST_AUTO_TEST_CASE (AyabComponentOrientations) | |
| BOOST_AUTO_TEST_CASE (AyabTextAnnotations) | |
| BOOST_AUTO_TEST_CASE (AyabWireConnectivity) | |
| BOOST_AUTO_TEST_CASE (AyabGlobalLabelPositionsPositive) | |
| BOOST_AUTO_TEST_CASE (AyabTotalGlobalLabelCount) | |
| BOOST_AUTO_TEST_CASE (RealWorldSchematicLoad) | |
| BOOST_AUTO_TEST_CASE (CommentLinesIgnored) | |
| BOOST_AUTO_TEST_CASE (OldFormatGraphicsParse) | |
| BOOST_AUTO_TEST_CASE (OldFormatBusPinParse) | |
| BOOST_AUTO_TEST_CASE (OldFormatTextParse) | |
| BOOST_AUTO_TEST_CASE (VeryOldFormatTextParse) | |
| BOOST_AUTO_TEST_CASE (BusLayerCorrect) | |
| BOOST_AUTO_TEST_CASE (NoConnectFromNcSymbol) | |
| BOOST_AUTO_TEST_CASE (AyabNoConnectsCreated) | |
| BOOST_AUTO_TEST_CASE (NoConnectAtPinPosition) | |
| BOOST_AUTO_TEST_CASE (DocumentationToDatasheet) | |
| BOOST_AUTO_TEST_CASE (AyabDescriptionFieldVisibility) | |
| BOOST_AUTO_TEST_CASE (AyabBusLayerFixed) | |
| BOOST_AUTO_TEST_CASE (TextOverbarConversion) | |
| BOOST_AUTO_TEST_CASE (BezierCurveSubdivision) | |
| BOOST_AUTO_TEST_CASE (EmbeddedPictureImport) | |
| BOOST_AUTO_TEST_CASE (TextSizeScaling) | |
| BOOST_AUTO_TEST_CASE (TextAngleNormalization) | |
| BOOST_AUTO_TEST_CASE (RelativePathCommands) | |
| BOOST_AUTO_TEST_CASE (EmbeddedPrefixStripped) | |
| BOOST_AUTO_TEST_CASE (LeptonConfLibraryDiscovery) | |
| BOOST_AUTO_TEST_CASE (GschemrcLibraryDiscovery) | |
| BOOST_AUTO_TEST_CASE (BusRipperCreation) | |
| BOOST_AUTO_TEST_CASE (SymversionMismatchWarning) | |
| BOOST_AUTO_TEST_CASE (FuzzyMatchSuggestion) | |
| BOOST_AUTO_TEST_CASE (HierarchicalSheetCreation) | |
| BOOST_AUTO_TEST_CASE (HierarchicalSheetMissingSource) | |
| BOOST_AUTO_TEST_CASE (MultiSlotPinRemapping) | |
| BOOST_AUTO_TEST_CASE (GraphicalAttributeExclusion) | |
| BOOST_AUTO_TEST_CASE (MultiPageSchematicImport) | |
| BOOST_AUTO_TEST_CASE (BuiltinSymbolsLoad) | |
| BOOST_AUTO_TEST_CASE (TJunctionDetection) | |
| BOOST_AUTO_TEST_CASE (PinOrientationCorrect) | |
| BOOST_AUTO_TEST_CASE (PageSizeAndContentPlacement) | |
| BOOST_AUTO_TEST_CASE (PowerDetectionWithProjectOverride) | |
| BOOST_AUTO_TEST_CASE (PropertiesSearchPaths) | |
| BOOST_AUTO_TEST_CASE | ( | AyabAllRefdesUnique | ) |
Definition at line 634 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), SCH_SYMBOL::GetField(), SCH_SHEET::GetScreen(), SCH_FIELD::GetText(), SCH_SCREEN::Items(), REFERENCE, and SCH_SYMBOL_T.
| BOOST_AUTO_TEST_CASE | ( | AyabBusLayerFixed | ) |
Definition at line 1235 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_ITEM::GetLayer(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), LAYER_NOTES, and SCH_LINE_T.
| BOOST_AUTO_TEST_CASE | ( | AyabComponentOrientations | ) |
Definition at line 724 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), SCH_SYMBOL::GetOrientation(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), SCH_SYMBOL_T, SYM_MIRROR_Y, SYM_ORIENT_180, SYM_ORIENT_270, and SYM_ORIENT_90.
| BOOST_AUTO_TEST_CASE | ( | AyabCustomSymbolsLoaded | ) |
Definition at line 391 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), SCH_SYMBOL::GetField(), SCH_SYMBOL::GetLibPins(), SCH_SHEET::GetScreen(), SCH_FIELD::GetText(), SCH_SCREEN::Items(), REFERENCE, and SCH_SYMBOL_T.
| BOOST_AUTO_TEST_CASE | ( | AyabDescriptionFieldVisibility | ) |
Definition at line 1203 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), DESCRIPTION, SCH_SYMBOL::GetField(), SCH_SHEET::GetScreen(), SCH_FIELD::GetText(), EDA_TEXT::IsVisible(), SCH_SCREEN::Items(), REFERENCE, and SCH_SYMBOL_T.
| BOOST_AUTO_TEST_CASE | ( | AyabFootprintAttributes | ) |
Definition at line 351 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), FOOTPRINT, SCH_SYMBOL::GetField(), SCH_SHEET::GetScreen(), SCH_FIELD::GetText(), SCH_SCREEN::Items(), REFERENCE, and SCH_SYMBOL_T.
| BOOST_AUTO_TEST_CASE | ( | AyabGlobalLabelCounts | ) |
Definition at line 539 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_SHEET::GetScreen(), EDA_TEXT::GetText(), SCH_SCREEN::Items(), and SCH_GLOBAL_LABEL_T.
| BOOST_AUTO_TEST_CASE | ( | AyabGlobalLabelPositionsPositive | ) |
Definition at line 837 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), SCH_TEXT::GetPosition(), SCH_SHEET::GetScreen(), EDA_TEXT::GetText(), SCH_SCREEN::Items(), SCH_GLOBAL_LABEL_T, VECTOR2< T >::x, and VECTOR2< T >::y.
| BOOST_AUTO_TEST_CASE | ( | AyabGlobalLabelsFromNetAttributes | ) |
Definition at line 503 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), SCH_SHEET::GetScreen(), EDA_TEXT::GetText(), SCH_SCREEN::Items(), and SCH_GLOBAL_LABEL_T.
| BOOST_AUTO_TEST_CASE | ( | AyabJunctionsPlaced | ) |
Definition at line 612 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), and SCH_JUNCTION_T.
| BOOST_AUTO_TEST_CASE | ( | AyabNoConnectsCreated | ) |
Definition at line 1126 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), and SCH_NO_CONNECT_T.
| BOOST_AUTO_TEST_CASE | ( | AyabPowerSymbols | ) |
Definition at line 569 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_SYMBOL::GetField(), SCH_SYMBOL::GetLibSymbolRef(), SCH_SHEET::GetScreen(), SCH_FIELD::GetText(), LIB_SYMBOL::IsPower(), EDA_TEXT::IsVisible(), SCH_SCREEN::Items(), REFERENCE, SCH_SYMBOL_T, and VALUE.
| BOOST_AUTO_TEST_CASE | ( | AyabSchematicLoad | ) |
Definition at line 265 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_ITEM::GetLayer(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), LAYER_WIRE, SCH_LINE_T, and SCH_SYMBOL_T.
| BOOST_AUTO_TEST_CASE | ( | AyabStdlibSymbolsLoaded | ) |
Definition at line 434 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), SCH_SYMBOL::GetField(), SCH_SYMBOL::GetLibPins(), SCH_SHEET::GetScreen(), SCH_FIELD::GetText(), SCH_SCREEN::Items(), REFERENCE, and SCH_SYMBOL_T.
| BOOST_AUTO_TEST_CASE | ( | AyabSymbolAttributes | ) |
Definition at line 293 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), SCH_SYMBOL::GetField(), SCH_SHEET::GetScreen(), SCH_FIELD::GetText(), SCH_SCREEN::Items(), REFERENCE, SCH_SYMBOL_T, and VALUE.
| BOOST_AUTO_TEST_CASE | ( | AyabSymbolPositionsInPositiveSpace | ) |
Definition at line 700 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), SCH_SYMBOL::GetPosition(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), SCH_SYMBOL_T, VECTOR2< T >::x, and VECTOR2< T >::y.
| BOOST_AUTO_TEST_CASE | ( | AyabTextAnnotations | ) |
Definition at line 759 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), SCH_TEXT_T, and text.
| BOOST_AUTO_TEST_CASE | ( | AyabTotalGlobalLabelCount | ) |
Definition at line 862 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), and SCH_GLOBAL_LABEL_T.
| BOOST_AUTO_TEST_CASE | ( | AyabWireConnectivity | ) |
Definition at line 793 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), end, SCH_LINE::GetEndPoint(), SCH_ITEM::GetLayer(), SCH_SHEET::GetScreen(), SCH_LINE::GetStartPoint(), SCH_SCREEN::Items(), LAYER_WIRE, SCH_LINE_T, VECTOR2< T >::x, and VECTOR2< T >::y.
| BOOST_AUTO_TEST_CASE | ( | AyabWireEndpointsInPositiveSpace | ) |
Definition at line 666 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), end, SCH_LINE::GetEndPoint(), SCH_ITEM::GetLayer(), SCH_SHEET::GetScreen(), SCH_LINE::GetStartPoint(), SCH_SCREEN::Items(), LAYER_WIRE, SCH_LINE_T, VECTOR2< T >::x, and VECTOR2< T >::y.
| BOOST_AUTO_TEST_CASE | ( | BezierCurveSubdivision | ) |
Definition at line 1337 of file test_geda_sch_import.cpp.
References BEZIER, BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_SHEET::GetScreen(), EDA_SHAPE::GetShape(), SCH_SCREEN::Items(), SCH_LINE_T, and SCH_SHAPE_T.
| BOOST_AUTO_TEST_CASE | ( | BuiltinSymbolsLoad | ) |
Definition at line 1973 of file test_geda_sch_import.cpp.
References SCH_IO_GEDA::getBuiltinSymbols(), and name.
| BOOST_AUTO_TEST_CASE | ( | BusLayerCorrect | ) |
Definition at line 1066 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_ITEM::GetLayer(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), LAYER_BUS, LAYER_NOTES, LAYER_WIRE, and SCH_LINE_T.
| BOOST_AUTO_TEST_CASE | ( | BusRipperCreation | ) |
Definition at line 1620 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_ITEM::GetLayer(), SCH_SHEET::GetScreen(), SCH_BUS_ENTRY_BASE::GetSize(), SCH_SCREEN::Items(), LAYER_BUS, LAYER_WIRE, SCH_BUS_WIRE_ENTRY_T, SCH_LINE_T, and VECTOR2< T >::x.
| BOOST_AUTO_TEST_CASE | ( | CanReadSchematicFile | ) |
Definition at line 92 of file test_geda_sch_import.cpp.
References BOOST_AUTO_TEST_CASE(), and KI_TEST::GetEeschemaTestDataDir().
| BOOST_AUTO_TEST_CASE | ( | CommentLinesIgnored | ) |
Definition at line 914 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_ITEM::GetLayer(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), LAYER_WIRE, SCH_LINE_T, and SCH_SYMBOL_T.
| BOOST_AUTO_TEST_CASE | ( | DocumentationToDatasheet | ) |
Definition at line 1175 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), DATASHEET, SCH_SYMBOL::GetField(), SCH_SHEET::GetScreen(), SCH_FIELD::GetText(), SCH_SCREEN::Items(), and SCH_SYMBOL_T.
| BOOST_AUTO_TEST_CASE | ( | EmbeddedPictureImport | ) |
Definition at line 1375 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), and SCH_BITMAP_T.
| BOOST_AUTO_TEST_CASE | ( | EmbeddedPrefixStripped | ) |
Definition at line 1505 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_SYMBOL::GetLibId(), LIB_ID::GetLibItemName(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), name, and SCH_SYMBOL_T.
| BOOST_AUTO_TEST_CASE | ( | FuzzyMatchSuggestion | ) |
Definition at line 1693 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), and WX_STRING_REPORTER::GetMessages().
| BOOST_AUTO_TEST_CASE | ( | GraphicalAttributeExclusion | ) |
Definition at line 1857 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), SCH_SYMBOL::GetExcludedFromBoard(), SCH_SYMBOL::GetExcludedFromBOM(), SCH_SYMBOL::GetExcludedFromSim(), SCH_SYMBOL::GetField(), SCH_SHEET::GetScreen(), SCH_FIELD::GetText(), SCH_SCREEN::Items(), REFERENCE, and SCH_SYMBOL_T.
| BOOST_AUTO_TEST_CASE | ( | GschemrcLibraryDiscovery | ) |
Definition at line 1583 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), SCH_SYMBOL::GetField(), SCH_SYMBOL::GetLibPins(), SCH_SHEET::GetScreen(), SCH_FIELD::GetText(), SCH_SCREEN::Items(), REFERENCE, and SCH_SYMBOL_T.
| BOOST_AUTO_TEST_CASE | ( | HierarchicalSheetCreation | ) |
Definition at line 1716 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_SHEET::GetField(), SCH_ITEM::GetLayer(), SCH_SHEET::GetScreen(), SCH_FIELD::GetText(), SCH_SCREEN::Items(), LAYER_WIRE, name, SCH_LINE_T, SCH_SHEET_T, SHEET_FILENAME, and SHEET_NAME.
| BOOST_AUTO_TEST_CASE | ( | HierarchicalSheetMissingSource | ) |
Definition at line 1784 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), and SCH_SHEET::GetScreen().
| BOOST_AUTO_TEST_CASE | ( | LeptonConfLibraryDiscovery | ) |
Definition at line 1539 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_SYMBOL::GetField(), SCH_SYMBOL::GetLibPins(), SCH_SHEET::GetScreen(), SCH_FIELD::GetText(), SCH_SCREEN::Items(), REFERENCE, SCH_SYMBOL_T, and VALUE.
| BOOST_AUTO_TEST_CASE | ( | MinimalSchematicJunctions | ) |
Definition at line 239 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), and SCH_JUNCTION_T.
| BOOST_AUTO_TEST_CASE | ( | MinimalSchematicLoad | ) |
Definition at line 120 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), and SCH_SYMBOL_T.
| BOOST_AUTO_TEST_CASE | ( | MinimalSchematicNetLabels | ) |
Definition at line 203 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_SHEET::GetScreen(), EDA_TEXT::GetText(), SCH_SCREEN::Items(), and SCH_LABEL_T.
| BOOST_AUTO_TEST_CASE | ( | MinimalSchematicSymbolAttributes | ) |
Definition at line 141 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_SYMBOL::GetField(), SCH_SHEET::GetScreen(), SCH_FIELD::GetText(), SCH_SCREEN::Items(), REFERENCE, SCH_SYMBOL_T, and VALUE.
| BOOST_AUTO_TEST_CASE | ( | MinimalSchematicWires | ) |
Definition at line 178 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_ITEM::GetLayer(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), LAYER_WIRE, and SCH_LINE_T.
| BOOST_AUTO_TEST_CASE | ( | MultiPageSchematicImport | ) |
Definition at line 1905 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), KI_TEST::GetEeschemaTestDataDir(), SCH_SHEET::GetField(), SCH_ITEM::GetLayer(), SCH_SHEET::GetScreen(), SCH_FIELD::GetText(), SCH_SCREEN::Items(), LAYER_WIRE, SCH_LINE_T, SCH_SHEET_T, SHEET_FILENAME, and SHEET_NAME.
| BOOST_AUTO_TEST_CASE | ( | MultiSlotPinRemapping | ) |
Definition at line 1799 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), pin, and SCH_SYMBOL_T.
| BOOST_AUTO_TEST_CASE | ( | NoConnectAtPinPosition | ) |
Definition at line 1148 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), SCH_NO_CONNECT::GetPosition(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), SCH_NO_CONNECT_T, VECTOR2< T >::x, and VECTOR2< T >::y.
| BOOST_AUTO_TEST_CASE | ( | NoConnectFromNcSymbol | ) |
Definition at line 1100 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), SCH_NO_CONNECT_T, and SCH_SYMBOL_T.
| BOOST_AUTO_TEST_CASE | ( | OldFormatBusPinParse | ) |
Definition at line 977 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_ITEM::GetLayer(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), LAYER_BUS, LAYER_WIRE, and SCH_LINE_T.
| BOOST_AUTO_TEST_CASE | ( | OldFormatGraphicsParse | ) |
Definition at line 940 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_ITEM::GetLayer(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), LAYER_NOTES, LAYER_WIRE, SCH_LINE_T, and SCH_SHAPE_T.
| BOOST_AUTO_TEST_CASE | ( | OldFormatTextParse | ) |
Definition at line 1008 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), SCH_TEXT_T, and text.
| BOOST_AUTO_TEST_CASE | ( | PageSizeAndContentPlacement | ) |
Definition at line 2128 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), BOX2< Vec >::GetEnd(), BOX2< Vec >::GetHeight(), BOX2< Vec >::GetOrigin(), SCH_SCREEN::GetPageSettings(), SCH_SHEET::GetScreen(), PAGE_INFO::GetSizeIU(), BOX2< Vec >::GetWidth(), SCH_SCREEN::Items(), BOX2< Vec >::Merge(), schIUScale, VECTOR2< T >::x, and VECTOR2< T >::y.
| BOOST_AUTO_TEST_CASE | ( | PinOrientationCorrect | ) |
Definition at line 2040 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), SCH_IO_GEDA::getBuiltinSymbols(), KI_TEST::GetEeschemaTestDataDir(), SCH_SYMBOL::GetField(), SCH_SYMBOL::GetLibSymbolRef(), LIB_SYMBOL::GetPins(), SCH_SHEET::GetScreen(), SCH_FIELD::GetText(), SCH_SCREEN::Items(), pin, PIN_LEFT, PIN_RIGHT, REFERENCE, and SCH_SYMBOL_T.
| BOOST_AUTO_TEST_CASE | ( | PowerDetectionWithProjectOverride | ) |
Definition at line 2172 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_SYMBOL::GetField(), SCH_SYMBOL::GetLibSymbolRef(), SCH_SHEET::GetScreen(), SCH_FIELD::GetText(), LIB_SYMBOL::IsGlobalPower(), EDA_TEXT::IsVisible(), SCH_SCREEN::Items(), REFERENCE, SCH_SYMBOL_T, and VALUE.
| BOOST_AUTO_TEST_CASE | ( | ProjectSymbolOverridesSystem | ) |
Definition at line 473 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), SCH_SYMBOL::GetLibPins(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), and SCH_SYMBOL_T.
| BOOST_AUTO_TEST_CASE | ( | PropertiesSearchPaths | ) |
Definition at line 2209 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), KI_TEST::GetEeschemaTestDataDir(), SCH_SYMBOL::GetLibPins(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), and SCH_SYMBOL_T.
| BOOST_AUTO_TEST_CASE | ( | RealWorldSchematicLoad | ) |
Definition at line 884 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), SCH_ITEM::GetLayer(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), LAYER_WIRE, SCH_LINE_T, and SCH_SYMBOL_T.
| BOOST_AUTO_TEST_CASE | ( | RejectsNonGedaSchFiles | ) |
Definition at line 106 of file test_geda_sch_import.cpp.
References KI_TEST::GetEeschemaTestDataDir().
| BOOST_AUTO_TEST_CASE | ( | RejectsNonSchExtension | ) |
Definition at line 99 of file test_geda_sch_import.cpp.
References KI_TEST::GetEeschemaTestDataDir().
| BOOST_AUTO_TEST_CASE | ( | RelativePathCommands | ) |
Definition at line 1469 of file test_geda_sch_import.cpp.
References std::abs(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), end, SCH_LINE::GetEndPoint(), SCH_ITEM::GetLayer(), SCH_SHEET::GetScreen(), SCH_LINE::GetStartPoint(), SCH_SCREEN::Items(), LAYER_NOTES, SCH_LINE_T, and VECTOR2< T >::x.
| BOOST_AUTO_TEST_CASE | ( | SymversionMismatchWarning | ) |
Definition at line 1670 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), WX_STRING_REPORTER::GetMessages(), and SCH_SHEET::GetScreen().
| BOOST_AUTO_TEST_CASE | ( | TextAngleNormalization | ) |
Definition at line 1440 of file test_geda_sch_import.cpp.
References EDA_ANGLE::AsTenthsOfADegree(), BOOST_REQUIRE(), SCH_SHEET::GetScreen(), EDA_TEXT::GetTextAngle(), SCH_SCREEN::Items(), and SCH_TEXT_T.
| BOOST_AUTO_TEST_CASE | ( | TextOverbarConversion | ) |
Definition at line 1267 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), SCH_TEXT_T, and text.
| BOOST_AUTO_TEST_CASE | ( | TextSizeScaling | ) |
Definition at line 1401 of file test_geda_sch_import.cpp.
References BOOST_REQUIRE(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), and SCH_TEXT_T.
| BOOST_AUTO_TEST_CASE | ( | TJunctionDetection | ) |
Definition at line 2019 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), and SCH_JUNCTION_T.
| BOOST_AUTO_TEST_CASE | ( | VeryOldFormatTextParse | ) |
Definition at line 1037 of file test_geda_sch_import.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), SCH_TEXT_T, and text.