|
KiCad PCB EDA Suite
|
#include <boost/test/unit_test.hpp>#include <boost/bimap.hpp>#include <magic_enum.hpp>#include <import_export.h>#include <qa_utils/wx_utils/wx_assert.h>#include <api/api_enums.h>#include <api/board/board.pb.h>#include <api/common/types/enums.pb.h>#include <core/typeinfo.h>#include <font/text_attributes.h>#include <layer_ids.h>#include <pin_type.h>#include <stroke_params.h>#include <widgets/report_severity.h>#include <api/board/board_types.pb.h>#include <api/board/board_commands.pb.h>#include <api/board/board_jobs.pb.h>#include <api/schematic/schematic_jobs.pb.h>#include <board_stackup_manager/board_stackup.h>#include <jobs/job_export_sch_netlist.h>#include <jobs/job_export_sch_plot.h>#include <jobs/job_export_pcb_3d.h>#include <jobs/job_export_pcb_dxf.h>#include <jobs/job_export_pcb_drill.h>#include <jobs/job_export_pcb_ipc2581.h>#include <jobs/job_export_pcb_odb.h>#include <jobs/job_export_pcb_pdf.h>#include <jobs/job_export_pcb_pos.h>#include <jobs/job_export_pcb_ps.h>#include <jobs/job_export_pcb_stats.h>#include <jobs/job_export_pcb_svg.h>#include <jobs/job_pcb_render.h>#include <drc/drc_item.h>#include <drc/drc_rule.h>#include <padstack.h>#include <pcb_dimension.h>#include <pcb_track.h>#include <plotprint_opts.h>#include <project/board_project_settings.h>#include <zones.h>#include <zone_settings.h>Go to the source code of this file.
Functions | |
| template<typename KiCadEnum, typename ProtoEnum> | |
| void | testEnums (bool aPartiallyMapped=false) |
| Checks if a KiCad enum has been properly mapped to a Protobuf enum. | |
| BOOST_AUTO_TEST_CASE (HorizontalAlignment) | |
| BOOST_AUTO_TEST_CASE (VerticalAlignment) | |
| BOOST_AUTO_TEST_CASE (StrokeLineStyle) | |
| BOOST_AUTO_TEST_CASE (KiCadObjectType) | |
| BOOST_AUTO_TEST_CASE (ElectricalPinType) | |
| BOOST_AUTO_TEST_CASE (BoardLayer) | |
| BOOST_AUTO_TEST_CASE (PadStackShape) | |
| BOOST_AUTO_TEST_CASE (ZoneConnectionStyle) | |
| BOOST_AUTO_TEST_CASE (PadType) | |
| BOOST_AUTO_TEST_CASE (PadStackType) | |
| BOOST_AUTO_TEST_CASE (DrillShape) | |
| BOOST_AUTO_TEST_CASE (UnconnectedLayerRemoval) | |
| BOOST_AUTO_TEST_CASE (ViaType) | |
| BOOST_AUTO_TEST_CASE (IslandRemovalMode) | |
| BOOST_AUTO_TEST_CASE (ZoneFillMode) | |
| BOOST_AUTO_TEST_CASE (ZoneBorderStyle) | |
| BOOST_AUTO_TEST_CASE (PlacementRuleSourceType) | |
| BOOST_AUTO_TEST_CASE (TeardropType) | |
| BOOST_AUTO_TEST_CASE (TeardropTarget) | |
| BOOST_AUTO_TEST_CASE (DimensionTextBorderStyle) | |
| BOOST_AUTO_TEST_CASE (DimensionUnitFormat) | |
| BOOST_AUTO_TEST_CASE (DimensionArrowDirection) | |
| BOOST_AUTO_TEST_CASE (DimensionPrecision) | |
| BOOST_AUTO_TEST_CASE (DimensionTextPosition) | |
| BOOST_AUTO_TEST_CASE (DimensionUnit) | |
| BOOST_AUTO_TEST_CASE (InactiveLayerDisplayMode) | |
| BOOST_AUTO_TEST_CASE (NetColorDisplayMode) | |
| BOOST_AUTO_TEST_CASE (RatsnestDisplayMode) | |
| BOOST_AUTO_TEST_CASE (BoardStackupLayerType) | |
| BOOST_AUTO_TEST_CASE (DrcSeverity) | |
| BOOST_AUTO_TEST_CASE (RuleSeverity) | |
| BOOST_AUTO_TEST_CASE (DesignRuleType) | |
| BOOST_AUTO_TEST_CASE (CustomRuleConstraintType) | |
| BOOST_AUTO_TEST_CASE (CustomRuleConstraintOption) | |
| BOOST_AUTO_TEST_CASE (CustomRuleDisallowType) | |
| BOOST_AUTO_TEST_CASE (PlotDrillMarks) | |
| BOOST_AUTO_TEST_CASE (Board3DFormat) | |
| BOOST_AUTO_TEST_CASE (Board3DVRMLUnits) | |
| BOOST_AUTO_TEST_CASE (RenderFormat) | |
| BOOST_AUTO_TEST_CASE (RenderQuality) | |
| BOOST_AUTO_TEST_CASE (RenderBackgroundStyle) | |
| BOOST_AUTO_TEST_CASE (RenderSide) | |
| BOOST_AUTO_TEST_CASE (SvgPaginationMode) | |
| BOOST_AUTO_TEST_CASE (DxfPaginationMode) | |
| BOOST_AUTO_TEST_CASE (DxfUnits) | |
| BOOST_AUTO_TEST_CASE (PdfPaginationMode) | |
| BOOST_AUTO_TEST_CASE (PsPaginationMode) | |
| BOOST_AUTO_TEST_CASE (DrillFormat) | |
| BOOST_AUTO_TEST_CASE (DrillOrigin) | |
| BOOST_AUTO_TEST_CASE (DrillZerosFormat) | |
| BOOST_AUTO_TEST_CASE (DrillMapFormat) | |
| BOOST_AUTO_TEST_CASE (DrillUnits) | |
| BOOST_AUTO_TEST_CASE (PositionSide) | |
| BOOST_AUTO_TEST_CASE (PositionUnits) | |
| BOOST_AUTO_TEST_CASE (PositionFormat) | |
| BOOST_AUTO_TEST_CASE (Ipc2581Units) | |
| BOOST_AUTO_TEST_CASE (Ipc2581Version) | |
| BOOST_AUTO_TEST_CASE (OdbUnits) | |
| BOOST_AUTO_TEST_CASE (OdbCompression) | |
| BOOST_AUTO_TEST_CASE (StatsOutputFormat) | |
| BOOST_AUTO_TEST_CASE (StatsUnits) | |
| BOOST_AUTO_TEST_CASE (SchematicJobPageSize) | |
| BOOST_AUTO_TEST_CASE (SchematicNetlistFormat) | |
| BOOST_AUTO_TEST_CASE | ( | Board3DFormat | ) |
Definition at line 446 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | Board3DVRMLUnits | ) |
Definition at line 451 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | BoardLayer | ) |
Definition at line 180 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | BoardStackupLayerType | ) |
Definition at line 296 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | CustomRuleConstraintOption | ) |
Definition at line 409 of file test_api_enums.cpp.
References BOOST_REQUIRE(), FromProtoEnum(), DRC_CONSTRAINT::NUM_OPTIONS, and ToProtoEnum().
| BOOST_AUTO_TEST_CASE | ( | CustomRuleConstraintType | ) |
Definition at line 391 of file test_api_enums.cpp.
References BOOST_REQUIRE(), FromProtoEnum(), NULL_CONSTRAINT, and ToProtoEnum().
| BOOST_AUTO_TEST_CASE | ( | CustomRuleDisallowType | ) |
Definition at line 424 of file test_api_enums.cpp.
References BOOST_REQUIRE(), DRC_DISALLOW_BLIND_VIAS, DRC_DISALLOW_BURIED_VIAS, DRC_DISALLOW_FOOTPRINTS, DRC_DISALLOW_GRAPHICS, DRC_DISALLOW_HOLES, DRC_DISALLOW_MICRO_VIAS, DRC_DISALLOW_PADS, DRC_DISALLOW_TEXTS, DRC_DISALLOW_THROUGH_VIAS, DRC_DISALLOW_TRACKS, DRC_DISALLOW_ZONES, FromProtoEnum(), and ToProtoEnum().
| BOOST_AUTO_TEST_CASE | ( | DesignRuleType | ) |
Definition at line 311 of file test_api_enums.cpp.
References BOOST_REQUIRE(), DRCE_ALLOWED_ITEMS, DRCE_ANNULAR_WIDTH, DRCE_ASSERTION_FAILURE, DRCE_CLEARANCE, DRCE_CONNECTION_WIDTH, DRCE_COPPER_SLIVER, DRCE_CREEPAGE, DRCE_DANGLING_TRACK, DRCE_DANGLING_VIA, DRCE_DIFF_PAIR_GAP_OUT_OF_RANGE, DRCE_DIFF_PAIR_UNCOUPLED_LENGTH_TOO_LONG, DRCE_DISABLED_LAYER_ITEM, DRCE_DRILL_OUT_OF_RANGE, DRCE_DRILLED_HOLES_COLOCATED, DRCE_DRILLED_HOLES_TOO_CLOSE, DRCE_DUPLICATE_FOOTPRINT, DRCE_EDGE_CLEARANCE, DRCE_EXTRA_FOOTPRINT, DRCE_FOOTPRINT, DRCE_FOOTPRINT_FILTERS, DRCE_FOOTPRINT_TYPE_MISMATCH, DRCE_GENERIC_ERROR, DRCE_GENERIC_WARNING, DRCE_HOLE_CLEARANCE, DRCE_INVALID_OUTLINE, DRCE_ISOLATED_COPPER, DRCE_LENGTH_OUT_OF_RANGE, DRCE_LIB_FOOTPRINT_ISSUES, DRCE_LIB_FOOTPRINT_MISMATCH, DRCE_MALFORMED_COURTYARD, DRCE_MICROVIA_DRILL_OUT_OF_RANGE, DRCE_MIRRORED_TEXT_ON_FRONT_LAYER, DRCE_MISSING_COURTYARD, DRCE_MISSING_FOOTPRINT, DRCE_MISSING_TUNING_PROFILE, DRCE_NET_CONFLICT, DRCE_NONMIRRORED_TEXT_ON_BACK_LAYER, DRCE_NPTH_IN_COURTYARD, DRCE_OVERLAPPING_FOOTPRINTS, DRCE_PAD_TH_WITH_NO_HOLE, DRCE_PADSTACK, DRCE_PADSTACK_INVALID, DRCE_PTH_IN_COURTYARD, DRCE_SCHEMATIC_FIELDS_PARITY, DRCE_SCHEMATIC_PARITY, DRCE_SHORTING_ITEMS, DRCE_SILK_CLEARANCE, DRCE_SILK_EDGE_CLEARANCE, DRCE_SILK_MASK_CLEARANCE, DRCE_SKEW_OUT_OF_RANGE, DRCE_SOLDERMASK_BRIDGE, DRCE_STARVED_THERMAL, DRCE_TEXT_HEIGHT, DRCE_TEXT_ON_EDGECUTS, DRCE_TEXT_THICKNESS, DRCE_TRACK_ANGLE, DRCE_TRACK_NOT_CENTERED_ON_VIA, DRCE_TRACK_ON_POST_MACHINED_LAYER, DRCE_TRACK_SEGMENT_LENGTH, DRCE_TRACK_WIDTH, DRCE_TRACKS_CROSSING, DRCE_UNCONNECTED_ITEMS, DRCE_UNRESOLVED_VARIABLE, DRCE_VIA_COUNT_OUT_OF_RANGE, DRCE_VIA_DIAMETER, DRCE_ZONES_INTERSECT, FromProtoEnum(), and ToProtoEnum().
| BOOST_AUTO_TEST_CASE | ( | DimensionArrowDirection | ) |
Definition at line 261 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | DimensionPrecision | ) |
Definition at line 266 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | DimensionTextBorderStyle | ) |
Definition at line 251 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | DimensionTextPosition | ) |
Definition at line 271 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | DimensionUnit | ) |
Definition at line 276 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | DimensionUnitFormat | ) |
Definition at line 256 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | DrcSeverity | ) |
Definition at line 301 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | DrillFormat | ) |
Definition at line 537 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | DrillMapFormat | ) |
Definition at line 552 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | DrillOrigin | ) |
Definition at line 542 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | DrillShape | ) |
Definition at line 205 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | DrillUnits | ) |
Definition at line 557 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | DrillZerosFormat | ) |
Definition at line 547 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | DxfPaginationMode | ) |
Definition at line 493 of file test_api_enums.cpp.
References FromProtoEnum(), JOB_EXPORT_PCB_DXF::MULTI, JOB_EXPORT_PCB_DXF::SINGLE, and ToProtoEnum().
| BOOST_AUTO_TEST_CASE | ( | DxfUnits | ) |
Definition at line 510 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | ElectricalPinType | ) |
Definition at line 175 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | HorizontalAlignment | ) |
Definition at line 155 of file test_api_enums.cpp.
References testEnums().
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().
| BOOST_AUTO_TEST_CASE | ( | InactiveLayerDisplayMode | ) |
Definition at line 281 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | Ipc2581Units | ) |
Definition at line 577 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | Ipc2581Version | ) |
Definition at line 582 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | IslandRemovalMode | ) |
Definition at line 221 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | KiCadObjectType | ) |
Definition at line 170 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | NetColorDisplayMode | ) |
Definition at line 286 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | OdbCompression | ) |
Definition at line 592 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | OdbUnits | ) |
Definition at line 587 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | PadStackShape | ) |
Definition at line 185 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | PadStackType | ) |
Definition at line 200 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | PadType | ) |
Definition at line 195 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | PdfPaginationMode | ) |
Definition at line 515 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | PlacementRuleSourceType | ) |
Definition at line 236 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | PlotDrillMarks | ) |
Definition at line 441 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | PositionFormat | ) |
Definition at line 572 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | PositionSide | ) |
Definition at line 562 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | PositionUnits | ) |
Definition at line 567 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | PsPaginationMode | ) |
Definition at line 520 of file test_api_enums.cpp.
References FromProtoEnum(), JOB_EXPORT_PCB_PS::MULTI, JOB_EXPORT_PCB_PS::SINGLE, and ToProtoEnum().
| BOOST_AUTO_TEST_CASE | ( | RatsnestDisplayMode | ) |
Definition at line 291 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | RenderBackgroundStyle | ) |
Definition at line 466 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | RenderFormat | ) |
Definition at line 456 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | RenderQuality | ) |
Definition at line 461 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | RenderSide | ) |
Definition at line 471 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | RuleSeverity | ) |
Definition at line 306 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | SchematicJobPageSize | ) |
Definition at line 607 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | SchematicNetlistFormat | ) |
Definition at line 612 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | StatsOutputFormat | ) |
Definition at line 597 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | StatsUnits | ) |
Definition at line 602 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | StrokeLineStyle | ) |
Definition at line 165 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | SvgPaginationMode | ) |
Definition at line 476 of file test_api_enums.cpp.
References FromProtoEnum(), JOB_EXPORT_PCB_SVG::MULTI, JOB_EXPORT_PCB_SVG::SINGLE, and ToProtoEnum().
| BOOST_AUTO_TEST_CASE | ( | TeardropTarget | ) |
Definition at line 246 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | TeardropType | ) |
Definition at line 241 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | UnconnectedLayerRemoval | ) |
Definition at line 210 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | VerticalAlignment | ) |
Definition at line 160 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | ViaType | ) |
Definition at line 215 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | ZoneBorderStyle | ) |
Definition at line 231 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | ZoneConnectionStyle | ) |
Definition at line 190 of file test_api_enums.cpp.
References testEnums().
| BOOST_AUTO_TEST_CASE | ( | ZoneFillMode | ) |
Definition at line 226 of file test_api_enums.cpp.
References testEnums().
| void testEnums | ( | bool | aPartiallyMapped = false | ) |
Checks if a KiCad enum has been properly mapped to a Protobuf enum.
| KiCadEnum | is an enum type |
| ProtoEnum | is a Protobuf enum type |
| aPartiallyMapped | is true if only some of the KiCad enum values are exposed to the API |
Definition at line 77 of file test_api_enums.cpp.
References BOOST_REQUIRE(), BOOST_TEST_CONTEXT(), FromProtoEnum(), name, result, and ToProtoEnum().
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().