KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_board_downgrade.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <algorithm>
#include <cmath>
#include <fstream>
#include <map>
#include <memory>
#include <filesystem>
#include <set>
#include <wx/image.h>
#include <wx/imagpng.h>
#include <wx/mstream.h>
#include <base_units.h>
#include <board.h>
#include <board_design_settings.h>
#include <footprint.h>
#include <font/font.h>
#include <gr_text.h>
#include <pcb_track.h>
#include <generators/pcb_tuning_pattern.h>
#include <generators/pcb_via_stack.h>
#include <generators/pcb_via_stitch.h>
#include <constraints/pcb_constraint.h>
#include <pad.h>
#include <padstack.h>
#include <pcb_barcode.h>
#include <pcb_group.h>
#include <pcb_dimension.h>
#include <pcb_drill_chart.h>
#include <pcb_drill_map.h>
#include <pcb_grid_item.h>
#include <pcb_reference_image.h>
#include <pcb_shape.h>
#include <pcb_table.h>
#include <pcb_tablecell.h>
#include <pcb_textbox.h>
#include <board_stackup_manager/board_stackup.h>
#include <zone.h>
#include <zone_settings.h>
#include <nlohmann/json.hpp>
#include <netinfo.h>
#include <project.h>
#include <ki_exception.h>
#include <downgrade/board_downgrade.h>
#include <downgrade_scan.h>
#include <downgrade_target.h>
#include <drc_rules_downgrade.h>
#include <drc/drc_rule.h>
#include <drc/drc_rule_parser.h>
#include <project/project_file_downgrade.h>
#include <pcb_io/kicad_sexpr/pcb_io_kicad_sexpr.h>
#include <settings/settings_manager.h>
#include <pcbnew_utils/board_test_utils.h>
#include <qa_utils/downgrade_oracle_utils.h>
#include <qa_utils/downgrade_golden_utils.h>

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (EmptyBoardIsClean)
 
 BOOST_AUTO_TEST_CASE (EllipseIsLoweredForKicad10)
 
 BOOST_AUTO_TEST_CASE (EllipseKeptForNewerTarget)
 
 BOOST_AUTO_TEST_CASE (EllipseTransformedToPolygon)
 
 BOOST_AUTO_TEST_CASE (UnfilledEllipseKeepsOutline)
 
 BOOST_AUTO_TEST_CASE (EllipseArcKeepsInk)
 
 BOOST_AUTO_TEST_CASE (KnockoutTextBoxLoweredForKicad9)
 
 BOOST_AUTO_TEST_CASE (TableCellKnockoutLoweredForKicad10)
 
 BOOST_AUTO_TEST_CASE (FootprintTableCellKnockoutLowered)
 
 BOOST_AUTO_TEST_CASE (RoundedRectangleLoweredForKicad9)
 
 BOOST_AUTO_TEST_CASE (CustomFootprintStackupBlocksKicad9)
 
 BOOST_AUTO_TEST_CASE (ZoneLayerPropertiesDroppedForKicad9)
 
 BOOST_AUTO_TEST_CASE (BoardZoneDefaultsRoundTripAndDowngrade)
 
 BOOST_AUTO_TEST_CASE (ScaledFootprintBlocksExport)
 
 BOOST_AUTO_TEST_CASE (ViaProtectionDroppedForKicad9)
 
 BOOST_AUTO_TEST_CASE (DielectricModelDroppedForKicad10)
 
 BOOST_AUTO_TEST_CASE (GroupDesignBlockLinkDroppedForKicad9)
 
 BOOST_AUTO_TEST_CASE (ExtrudedBodyDroppedForKicad10)
 
 BOOST_AUTO_TEST_CASE (ThievingZoneBlocksKicad10)
 
 BOOST_AUTO_TEST_CASE (BackdrillBlocksKicad9)
 
 BOOST_AUTO_TEST_CASE (BoardExportIgnoresAPredictableStagingSymlink)
 
 BOOST_AUTO_TEST_CASE (BlockedBoardExportWritesNothing)
 
 BOOST_AUTO_TEST_CASE (PadSimTypeDroppedForKicad10)
 
 BOOST_AUTO_TEST_CASE (PostMachiningDroppedForKicad9)
 
 BOOST_AUTO_TEST_CASE (PressFitDroppedForKicad9)
 
 BOOST_AUTO_TEST_CASE (SkipViaLoweredForKicad9)
 
 BOOST_AUTO_TEST_CASE (ExportToKicad10PreservesGeometry)
 
 BOOST_AUTO_TEST_CASE (ExportToKicad9PreservesGeometry)
 
 BOOST_AUTO_TEST_CASE (BuriedViaLoweredForKicad9)
 
 BOOST_AUTO_TEST_CASE (ZoneDefaultsDroppedForKicad9)
 
 BOOST_AUTO_TEST_CASE (BarcodeLoweredToPolygonsForKicad9)
 
 BOOST_AUTO_TEST_CASE (BarcodeProjectVariablesResolvedBeforeExport)
 
 BOOST_AUTO_TEST_CASE (FootprintBarcodeLoweredForKicad9)
 
 BOOST_AUTO_TEST_CASE (FootprintFileDowngradeRoundTrips)
 
 BOOST_AUTO_TEST_CASE (FootprintFileV10RoundTrips)
 
 BOOST_AUTO_TEST_CASE (FootprintPressFitDroppedForKicad9)
 
 BOOST_AUTO_TEST_CASE (SaveWithTargetVersionStampsOlder)
 
 BOOST_AUTO_TEST_CASE (NullFieldSlotDoesNotCrashV9Writer)
 
 BOOST_AUTO_TEST_CASE (StaleGroupMemberNotWrittenForV10)
 
 BOOST_AUTO_TEST_CASE (SkipViaModeWrittenForV9)
 
 BOOST_AUTO_TEST_CASE (ImageScaleMigratedForV9)
 
 BOOST_AUTO_TEST_CASE (VerifyGateCatchesUnsupportedTokens)
 
 BOOST_AUTO_TEST_CASE (DrcRulesFilterForKicad9)
 
 BOOST_AUTO_TEST_CASE (DrcRuleNamesAndExpressionLiteralsDoNotTriggerDrops)
 
 BOOST_AUTO_TEST_CASE (SpacedTimeAndAngleUnitsAreDroppedForKicad9)
 
 BOOST_AUTO_TEST_CASE (DrcRulesFilterForKicad10)
 
 BOOST_AUTO_TEST_CASE (DrcRulesWithCommentsRemainIntact)
 
 BOOST_AUTO_TEST_CASE (InvalidDrcCommentAndUnbalancedSyntaxFailClosed)
 
 BOOST_AUTO_TEST_CASE (DrcRulesMatchIndependentOlderReferences)
 
 BOOST_AUTO_TEST_CASE (VariantFlattenedIntoBoard)
 
 BOOST_AUTO_TEST_CASE (ProjectFileDowngradeForKicad9)
 
 BOOST_AUTO_TEST_CASE (EmptyNativeProjectSectionsDoNotRequireConsent)
 
 BOOST_AUTO_TEST_CASE (SavedProjectTuningAndClassChoicesStillRequireConsent)
 
 BOOST_AUTO_TEST_CASE (FutureComponentClassSchemaBlocksWithoutMutation)
 
 BOOST_AUTO_TEST_CASE (WrongShapeProjectFileDoesNotThrow)
 
 BOOST_AUTO_TEST_CASE (EmptyNetChainClassesSilent)
 
 BOOST_AUTO_TEST_CASE (NonDefaultTuningModelSettingsAreReportedForKicad10)
 
 BOOST_AUTO_TEST_CASE (ProjectFileDowngradeForKicad10)
 
 BOOST_AUTO_TEST_CASE (EllipseArcRingHasNoHoles)
 
 BOOST_AUTO_TEST_CASE (FootprintImageScaleCompensatedOnBoard)
 
 BOOST_AUTO_TEST_CASE (FootprintImageScaleCompensatedInLibrary)
 
 BOOST_AUTO_TEST_CASE (DuplicatePadJumperFlagDroppedForKicad9)
 
 BOOST_AUTO_TEST_CASE (FootprintFileKeepsZoneLayers)
 
 BOOST_AUTO_TEST_CASE (LibraryFilesDowngradeFailsClosed)
 
 BOOST_AUTO_TEST_CASE (DesignFileFilter)
 
 BOOST_AUTO_TEST_CASE (DenylistCoversCurrentFormat)
 
 BOOST_AUTO_TEST_CASE (DropApproximationsOmitsGraphicsWithoutReplacements)
 
 BOOST_AUTO_TEST_CASE (DropApproximationsOmitsFillAndCellContentsOnly)
 
 BOOST_AUTO_TEST_CASE (HatchedCopperAndInkFillsAreReportedSeparately)
 
 BOOST_AUTO_TEST_CASE (DropApproximationsKeepsHatchedCopperAsSolidFill)
 
 BOOST_AUTO_TEST_CASE (DropApproximationsOmitsRoundedPadPrimitives)
 
 BOOST_AUTO_TEST_CASE (ViaApproximationsSurviveDropPolicy)
 
 BOOST_AUTO_TEST_CASE (DropApproximationsKeepsTargetSupportedFeatures)
 
 BOOST_AUTO_TEST_CASE (DropApproximationsCannotBypassBlockRules)
 
 BOOST_AUTO_TEST_CASE (LibraryReplacementsWaitForTheDesignTransaction)
 
 BOOST_AUTO_TEST_CASE (DirectoryDestinationStopsAllTransactionReplacements)
 
 BOOST_AUTO_TEST_CASE (ConcurrentTransactionsUseDifferentOwnedStagingFiles)
 
 BOOST_AUTO_TEST_CASE (TransactionSymlinkReplacementLeavesLinkedSourcesUnchanged)
 
static void checkFeature (const COMPATIBILITY_REPORT &aReport, const wxString &aName, DOWNGRADE_BUCKET aBucket, int aCount)
 
 BOOST_AUTO_TEST_CASE (GeometricConstraintsDropWithoutMovingBoardOrFootprintGeometry)
 
 BOOST_AUTO_TEST_CASE (GridAndDrillDrawingLossesAreReportedBeforeRemoval)
 
 BOOST_AUTO_TEST_CASE (NewGeneratorsLoseEditabilityAndKeepCopperAndOuterGroups)
 
 BOOST_AUTO_TEST_CASE (NativeViaGeneratorFixtureExportsCopperAndOwnershipForBothTargetsAndPolicies)
 
 BOOST_AUTO_TEST_CASE (NativeTuningFixturesPreserveCopperAndEraEditabilityForBothPolicies)
 
 BOOST_AUTO_TEST_CASE (UnreviewedTuningPropertiesBlockBothTargetsAndPolicies)
 
 BOOST_AUTO_TEST_CASE (HistoricalTuningWritersRejectUnsafeDirectSerialization)
 
 BOOST_AUTO_TEST_CASE (HistoricalWritersRejectDirectViaGeneratorsAtomically)
 
 BOOST_AUTO_TEST_CASE (NativeGroupPlacementFixtureKeepsGeometryAndOwnershipForBothPolicies)
 
 BOOST_AUTO_TEST_CASE (GroupPlacementLinkageUsesTheSameFootprintPolicy)
 
 BOOST_AUTO_TEST_CASE (GroupPlacementGuardIgnoresOrdinaryGroupsAndQuotedText)
 
 BOOST_AUTO_TEST_CASE (InertGroupPlacementMetadataDoesNotRequireConsent)
 
 BOOST_AUTO_TEST_CASE (UnreviewedGeneratorKindBlocksBothPolicies)
 
 BOOST_AUTO_TEST_CASE (LineEndingsLowerPrintedInkOrDropOnlyEmbellishments)
 
 BOOST_AUTO_TEST_CASE (DashedEndedLinesBlockApproximationButAllowDroppingEndings)
 
 BOOST_AUTO_TEST_CASE (CustomPropertiesBakeOnlyAffectedVariablesBeforeRemoval)
 
 BOOST_AUTO_TEST_CASE (UnresolvedPropertyVariablesBlockBothPolicies)
 
 BOOST_AUTO_TEST_CASE (UsedProjectVariablesBakeInFootprintContextAndUnusedDefinitionsDoNotBlock)
 
 BOOST_AUTO_TEST_CASE (CachedBoardVariableDependenciesBakeInFootprintContext)
 
 BOOST_AUTO_TEST_CASE (MixedPropertyTextKeepsEscapedLiteralsAndSupportedVariables)
 
 BOOST_AUTO_TEST_CASE (NewExpressionUnitAliasIsBakedWithoutFreezingOtherVariables)
 
 BOOST_AUTO_TEST_CASE (UnresolvedAffectedExpressionsBlockBothPolicies)
 
 BOOST_AUTO_TEST_CASE (EscapedTextControlsBlockKicad9AndRemainLiteralInKicad10)
 
 BOOST_AUTO_TEST_CASE (TitleBlockExpressionsBakeBeforeDependentFootprintText)
 
 BOOST_AUTO_TEST_CASE (TitleBlockUnresolvablePropertyContextBlocksBothPolicies)
 
 BOOST_AUTO_TEST_CASE (TitleBlockSelfReferenceDoesNotHideUsedProjectDependencies)
 
 BOOST_AUTO_TEST_CASE (AffectedTableExpressionsUseNativeCellCoordinates)
 
 BOOST_AUTO_TEST_CASE (FootprintFileUsesTheSamePostMasterPoliciesAsBoardFootprints)
 
 BOOST_AUTO_TEST_CASE (SimulationExclusionsFollowSelectedVariantAndReportTheirLoss)
 
 BOOST_AUTO_TEST_CASE (LegacyBoldWidthsPreserveNestedTextAndDoNotMutateSource)
 
 BOOST_AUTO_TEST_CASE (ComplexPadstackFrontAndInnerCustomOptionsRoundTripToKicad10)
 
 BOOST_AUTO_TEST_CASE (CurrentProjectSchemasAndSupportedDrcExclusionsMigrateForBothTargets)
 
 BOOST_AUTO_TEST_CASE (UnrepresentableDrcExclusionsDropWithReports)
 
 BOOST_AUTO_TEST_CASE (PostMasterProjectSettingsReportOnlyMeaningfulLosses)
 
 BOOST_AUTO_TEST_CASE (NewTuningBridgeDelayIsRemovedAndReportedForKicad10)
 
 BOOST_AUTO_TEST_CASE (NativeNetChainClassMapReportsOnlyNonemptyMappings)
 
 BOOST_AUTO_TEST_CASE (NewDrcConstraintsAndFunctionsAreFilteredWithoutLiteralFalsePositives)
 
 BOOST_AUTO_TEST_CASE (DrcPostTargetPropertiesAreGuardedInConditionsAndAssertions)
 

Variables

static const DOWNGRADE_TARGET & kicad9 = KI_TEST::RequireDowngradeTarget( wxT( "9.0" ) )
 
static const DOWNGRADE_TARGET & kicad10 = KI_TEST::RequireDowngradeTarget( wxT( "10.0" ) )
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/116]

BOOST_AUTO_TEST_CASE ( AffectedTableExpressionsUseNativeCellCoordinates )

◆ BOOST_AUTO_TEST_CASE() [2/116]

BOOST_AUTO_TEST_CASE ( BackdrillBlocksKicad9 )

◆ BOOST_AUTO_TEST_CASE() [3/116]

◆ BOOST_AUTO_TEST_CASE() [4/116]

◆ BOOST_AUTO_TEST_CASE() [5/116]

◆ BOOST_AUTO_TEST_CASE() [6/116]

BOOST_AUTO_TEST_CASE ( BoardExportIgnoresAPredictableStagingSymlink )

◆ BOOST_AUTO_TEST_CASE() [7/116]

◆ BOOST_AUTO_TEST_CASE() [8/116]

BOOST_AUTO_TEST_CASE ( BuriedViaLoweredForKicad9 )

◆ BOOST_AUTO_TEST_CASE() [9/116]

◆ BOOST_AUTO_TEST_CASE() [10/116]

◆ BOOST_AUTO_TEST_CASE() [11/116]

BOOST_AUTO_TEST_CASE ( ConcurrentTransactionsUseDifferentOwnedStagingFiles )

◆ BOOST_AUTO_TEST_CASE() [12/116]

BOOST_AUTO_TEST_CASE ( CurrentProjectSchemasAndSupportedDrcExclusionsMigrateForBothTargets )

◆ BOOST_AUTO_TEST_CASE() [13/116]

BOOST_AUTO_TEST_CASE ( CustomFootprintStackupBlocksKicad9 )

◆ BOOST_AUTO_TEST_CASE() [14/116]

◆ BOOST_AUTO_TEST_CASE() [15/116]

◆ BOOST_AUTO_TEST_CASE() [16/116]

BOOST_AUTO_TEST_CASE ( DenylistCoversCurrentFormat )

◆ BOOST_AUTO_TEST_CASE() [17/116]

BOOST_AUTO_TEST_CASE ( DesignFileFilter )

Definition at line 1751 of file test_board_downgrade.cpp.

References IsDowngradeDesignFile().

◆ BOOST_AUTO_TEST_CASE() [18/116]

◆ BOOST_AUTO_TEST_CASE() [19/116]

◆ BOOST_AUTO_TEST_CASE() [20/116]

BOOST_AUTO_TEST_CASE ( DrcPostTargetPropertiesAreGuardedInConditionsAndAssertions )

◆ BOOST_AUTO_TEST_CASE() [21/116]

BOOST_AUTO_TEST_CASE ( DrcRuleNamesAndExpressionLiteralsDoNotTriggerDrops )

◆ BOOST_AUTO_TEST_CASE() [22/116]

BOOST_AUTO_TEST_CASE ( DrcRulesFilterForKicad10 )

Definition at line 1179 of file test_board_downgrade.cpp.

References FilterDrcRulesForTarget(), kicad10, and result.

◆ BOOST_AUTO_TEST_CASE() [23/116]

BOOST_AUTO_TEST_CASE ( DrcRulesFilterForKicad9 )

Definition at line 1107 of file test_board_downgrade.cpp.

References FilterDrcRulesForTarget(), kicad9, and result.

◆ BOOST_AUTO_TEST_CASE() [24/116]

◆ BOOST_AUTO_TEST_CASE() [25/116]

BOOST_AUTO_TEST_CASE ( DrcRulesWithCommentsRemainIntact )

◆ BOOST_AUTO_TEST_CASE() [26/116]

BOOST_AUTO_TEST_CASE ( DropApproximationsCannotBypassBlockRules )

◆ BOOST_AUTO_TEST_CASE() [27/116]

BOOST_AUTO_TEST_CASE ( DropApproximationsKeepsHatchedCopperAsSolidFill )

◆ BOOST_AUTO_TEST_CASE() [28/116]

◆ BOOST_AUTO_TEST_CASE() [29/116]

◆ BOOST_AUTO_TEST_CASE() [30/116]

◆ BOOST_AUTO_TEST_CASE() [31/116]

◆ BOOST_AUTO_TEST_CASE() [32/116]

◆ BOOST_AUTO_TEST_CASE() [33/116]

◆ BOOST_AUTO_TEST_CASE() [34/116]

◆ BOOST_AUTO_TEST_CASE() [35/116]

BOOST_AUTO_TEST_CASE ( EllipseIsLoweredForKicad10 )

◆ BOOST_AUTO_TEST_CASE() [36/116]

BOOST_AUTO_TEST_CASE ( EllipseKeptForNewerTarget )

◆ BOOST_AUTO_TEST_CASE() [37/116]

BOOST_AUTO_TEST_CASE ( EllipseTransformedToPolygon )

◆ BOOST_AUTO_TEST_CASE() [38/116]

◆ BOOST_AUTO_TEST_CASE() [39/116]

BOOST_AUTO_TEST_CASE ( EmptyNativeProjectSectionsDoNotRequireConsent )

◆ BOOST_AUTO_TEST_CASE() [40/116]

BOOST_AUTO_TEST_CASE ( EmptyNetChainClassesSilent )

◆ BOOST_AUTO_TEST_CASE() [41/116]

◆ BOOST_AUTO_TEST_CASE() [42/116]

◆ BOOST_AUTO_TEST_CASE() [43/116]

◆ BOOST_AUTO_TEST_CASE() [44/116]

◆ BOOST_AUTO_TEST_CASE() [45/116]

◆ BOOST_AUTO_TEST_CASE() [46/116]

◆ BOOST_AUTO_TEST_CASE() [47/116]

◆ BOOST_AUTO_TEST_CASE() [48/116]

◆ BOOST_AUTO_TEST_CASE() [49/116]

◆ BOOST_AUTO_TEST_CASE() [50/116]

◆ BOOST_AUTO_TEST_CASE() [51/116]

◆ BOOST_AUTO_TEST_CASE() [52/116]

BOOST_AUTO_TEST_CASE ( FootprintPressFitDroppedForKicad9 )

◆ BOOST_AUTO_TEST_CASE() [53/116]

BOOST_AUTO_TEST_CASE ( FootprintTableCellKnockoutLowered )

◆ BOOST_AUTO_TEST_CASE() [54/116]

BOOST_AUTO_TEST_CASE ( FutureComponentClassSchemaBlocksWithoutMutation )

◆ BOOST_AUTO_TEST_CASE() [55/116]

◆ BOOST_AUTO_TEST_CASE() [56/116]

◆ BOOST_AUTO_TEST_CASE() [57/116]

BOOST_AUTO_TEST_CASE ( GroupDesignBlockLinkDroppedForKicad9 )

◆ BOOST_AUTO_TEST_CASE() [58/116]

BOOST_AUTO_TEST_CASE ( GroupPlacementGuardIgnoresOrdinaryGroupsAndQuotedText )

Definition at line 3304 of file test_board_downgrade.cpp.

References FindUnsupportedBoardToken(), kicad10, and kicad9.

◆ BOOST_AUTO_TEST_CASE() [59/116]

BOOST_AUTO_TEST_CASE ( GroupPlacementLinkageUsesTheSameFootprintPolicy )

◆ BOOST_AUTO_TEST_CASE() [60/116]

◆ BOOST_AUTO_TEST_CASE() [61/116]

BOOST_AUTO_TEST_CASE ( HistoricalTuningWritersRejectUnsafeDirectSerialization )

◆ BOOST_AUTO_TEST_CASE() [62/116]

BOOST_AUTO_TEST_CASE ( HistoricalWritersRejectDirectViaGeneratorsAtomically )

◆ BOOST_AUTO_TEST_CASE() [63/116]

◆ BOOST_AUTO_TEST_CASE() [64/116]

BOOST_AUTO_TEST_CASE ( InertGroupPlacementMetadataDoesNotRequireConsent )

◆ BOOST_AUTO_TEST_CASE() [65/116]

BOOST_AUTO_TEST_CASE ( InvalidDrcCommentAndUnbalancedSyntaxFailClosed )

Definition at line 1231 of file test_board_downgrade.cpp.

References FilterDrcRulesForTarget(), kicad10, and kicad9.

◆ BOOST_AUTO_TEST_CASE() [66/116]

BOOST_AUTO_TEST_CASE ( KnockoutTextBoxLoweredForKicad9 )

◆ BOOST_AUTO_TEST_CASE() [67/116]

◆ BOOST_AUTO_TEST_CASE() [68/116]

BOOST_AUTO_TEST_CASE ( LibraryFilesDowngradeFailsClosed )

◆ BOOST_AUTO_TEST_CASE() [69/116]

◆ BOOST_AUTO_TEST_CASE() [70/116]

◆ BOOST_AUTO_TEST_CASE() [71/116]

◆ BOOST_AUTO_TEST_CASE() [72/116]

BOOST_AUTO_TEST_CASE ( NativeGroupPlacementFixtureKeepsGeometryAndOwnershipForBothPolicies )

◆ BOOST_AUTO_TEST_CASE() [73/116]

BOOST_AUTO_TEST_CASE ( NativeNetChainClassMapReportsOnlyNonemptyMappings )

◆ BOOST_AUTO_TEST_CASE() [74/116]

◆ BOOST_AUTO_TEST_CASE() [75/116]

◆ BOOST_AUTO_TEST_CASE() [76/116]

BOOST_AUTO_TEST_CASE ( NewDrcConstraintsAndFunctionsAreFilteredWithoutLiteralFalsePositives )

◆ BOOST_AUTO_TEST_CASE() [77/116]

BOOST_AUTO_TEST_CASE ( NewExpressionUnitAliasIsBakedWithoutFreezingOtherVariables )

◆ BOOST_AUTO_TEST_CASE() [78/116]

BOOST_AUTO_TEST_CASE ( NewGeneratorsLoseEditabilityAndKeepCopperAndOuterGroups )

◆ BOOST_AUTO_TEST_CASE() [79/116]

BOOST_AUTO_TEST_CASE ( NewTuningBridgeDelayIsRemovedAndReportedForKicad10 )

◆ BOOST_AUTO_TEST_CASE() [80/116]

BOOST_AUTO_TEST_CASE ( NonDefaultTuningModelSettingsAreReportedForKicad10 )

◆ BOOST_AUTO_TEST_CASE() [81/116]

BOOST_AUTO_TEST_CASE ( NullFieldSlotDoesNotCrashV9Writer )

◆ BOOST_AUTO_TEST_CASE() [82/116]

BOOST_AUTO_TEST_CASE ( PadSimTypeDroppedForKicad10 )

◆ BOOST_AUTO_TEST_CASE() [83/116]

BOOST_AUTO_TEST_CASE ( PostMachiningDroppedForKicad9 )

◆ BOOST_AUTO_TEST_CASE() [84/116]

BOOST_AUTO_TEST_CASE ( PostMasterProjectSettingsReportOnlyMeaningfulLosses )

◆ BOOST_AUTO_TEST_CASE() [85/116]

BOOST_AUTO_TEST_CASE ( PressFitDroppedForKicad9 )

◆ BOOST_AUTO_TEST_CASE() [86/116]

BOOST_AUTO_TEST_CASE ( ProjectFileDowngradeForKicad10 )

◆ BOOST_AUTO_TEST_CASE() [87/116]

BOOST_AUTO_TEST_CASE ( ProjectFileDowngradeForKicad9 )

◆ BOOST_AUTO_TEST_CASE() [88/116]

◆ BOOST_AUTO_TEST_CASE() [89/116]

BOOST_AUTO_TEST_CASE ( SavedProjectTuningAndClassChoicesStillRequireConsent )

◆ BOOST_AUTO_TEST_CASE() [90/116]

BOOST_AUTO_TEST_CASE ( SaveWithTargetVersionStampsOlder )

◆ BOOST_AUTO_TEST_CASE() [91/116]

◆ BOOST_AUTO_TEST_CASE() [92/116]

◆ BOOST_AUTO_TEST_CASE() [93/116]

BOOST_AUTO_TEST_CASE ( SkipViaLoweredForKicad9 )

◆ BOOST_AUTO_TEST_CASE() [94/116]

◆ BOOST_AUTO_TEST_CASE() [95/116]

BOOST_AUTO_TEST_CASE ( SpacedTimeAndAngleUnitsAreDroppedForKicad9 )

◆ BOOST_AUTO_TEST_CASE() [96/116]

BOOST_AUTO_TEST_CASE ( StaleGroupMemberNotWrittenForV10 )

◆ BOOST_AUTO_TEST_CASE() [97/116]

◆ BOOST_AUTO_TEST_CASE() [98/116]

◆ BOOST_AUTO_TEST_CASE() [99/116]

◆ BOOST_AUTO_TEST_CASE() [100/116]

◆ BOOST_AUTO_TEST_CASE() [101/116]

BOOST_AUTO_TEST_CASE ( TitleBlockUnresolvablePropertyContextBlocksBothPolicies )

◆ BOOST_AUTO_TEST_CASE() [102/116]

BOOST_AUTO_TEST_CASE ( TransactionSymlinkReplacementLeavesLinkedSourcesUnchanged )

◆ BOOST_AUTO_TEST_CASE() [103/116]

◆ BOOST_AUTO_TEST_CASE() [104/116]

BOOST_AUTO_TEST_CASE ( UnrepresentableDrcExclusionsDropWithReports )

◆ BOOST_AUTO_TEST_CASE() [105/116]

BOOST_AUTO_TEST_CASE ( UnresolvedAffectedExpressionsBlockBothPolicies )

◆ BOOST_AUTO_TEST_CASE() [106/116]

BOOST_AUTO_TEST_CASE ( UnresolvedPropertyVariablesBlockBothPolicies )

◆ BOOST_AUTO_TEST_CASE() [107/116]

BOOST_AUTO_TEST_CASE ( UnreviewedGeneratorKindBlocksBothPolicies )

◆ BOOST_AUTO_TEST_CASE() [108/116]

◆ BOOST_AUTO_TEST_CASE() [109/116]

◆ BOOST_AUTO_TEST_CASE() [110/116]

◆ BOOST_AUTO_TEST_CASE() [111/116]

BOOST_AUTO_TEST_CASE ( VerifyGateCatchesUnsupportedTokens )

Definition at line 1088 of file test_board_downgrade.cpp.

References FindUnsupportedBoardToken(), kicad10, and kicad9.

◆ BOOST_AUTO_TEST_CASE() [112/116]

◆ BOOST_AUTO_TEST_CASE() [113/116]

BOOST_AUTO_TEST_CASE ( ViaProtectionDroppedForKicad9 )

◆ BOOST_AUTO_TEST_CASE() [114/116]

BOOST_AUTO_TEST_CASE ( WrongShapeProjectFileDoesNotThrow )

Definition at line 1464 of file test_board_downgrade.cpp.

References DowngradeProjectFileJson(), kicad10, and kicad9.

◆ BOOST_AUTO_TEST_CASE() [115/116]

◆ BOOST_AUTO_TEST_CASE() [116/116]

◆ checkFeature()

Variable Documentation

◆ kicad10

const DOWNGRADE_TARGET& kicad10 = KI_TEST::RequireDowngradeTarget( wxT( "10.0" ) )
static

Definition at line 83 of file test_board_downgrade.cpp.

◆ kicad9

const DOWNGRADE_TARGET& kicad9 = KI_TEST::RequireDowngradeTarget( wxT( "9.0" ) )
static

Definition at line 82 of file test_board_downgrade.cpp.