KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_match_properties.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <board.h>
#include <footprint.h>
#include <pad.h>
#include <pcb_barcode.h>
#include <pcb_dimension.h>
#include <pcb_group.h>
#include <pcb_reference_image.h>
#include <pcb_shape.h>
#include <pcb_table.h>
#include <pcb_tablecell.h>
#include <pcb_target.h>
#include <pcb_text.h>
#include <pcb_textbox.h>
#include <pcb_track.h>
#include <properties/property_mgr.h>
#include <tools/match_properties.h>
#include <zone.h>

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (CompatibleFamiliesAndTargets)
 
 BOOST_AUTO_TEST_CASE (UnrelatedKindsAreNotCompatible)
 
 BOOST_AUTO_TEST_CASE (CommonPropertyCopiesAcrossKinds)
 
 BOOST_AUTO_TEST_CASE (CommonPropertyCopiesWithinOneKind)
 
 BOOST_AUTO_TEST_CASE (CrossKindCopyIgnoresFamilyOnlyKeys)
 
 BOOST_AUTO_TEST_CASE (CommonKeysReplaceTheFamilyKeysTheyCover)
 
 BOOST_AUTO_TEST_CASE (KeysAreCanonicalAndLabelsAreFriendly)
 
 BOOST_AUTO_TEST_CASE (FamilyAndPropertyLabelsSplitTheKey)
 
 BOOST_AUTO_TEST_CASE (ConnectedItemsOfferTheirLayer)
 
 BOOST_AUTO_TEST_CASE (LayerIsNotSharedWithConnectedItems)
 
 BOOST_AUTO_TEST_CASE (FillIsNotSharedWhereItCannotApply)
 
 BOOST_AUTO_TEST_CASE (DefaultKeysAreAllSafe)
 
 BOOST_AUTO_TEST_CASE (AnyEnabledForMatchesOnlyTheItemsOwnFamily)
 
 BOOST_AUTO_TEST_CASE (CopyIgnoresEnabledKeysOutsideTheCatalog)
 
 BOOST_AUTO_TEST_CASE (CopyLeavesTheSourceUntouched)
 
 BOOST_AUTO_TEST_CASE (CopyTableCellTextProperties)
 
 BOOST_AUTO_TEST_CASE (CopySafeProperties)
 
 BOOST_AUTO_TEST_CASE (CopyDoesNotCountIdenticalValuesAsChanges)
 
 BOOST_AUTO_TEST_CASE (CopyRejectsIncompatibleItemsWithoutMutation)
 
 BOOST_AUTO_TEST_CASE (CopyZonePropertiesStagesHatchedModeBeforeHatchProperties)
 
 BOOST_AUTO_TEST_CASE (CopyZonePropertiesFromSolidModeSkipsUnavailableHatchProperties)
 
 BOOST_AUTO_TEST_CASE (CoupledPropertiesValidateAgainstFinalState)
 
 BOOST_AUTO_TEST_CASE (EveryFamilyAdvertisesSomething)
 
 BOOST_AUTO_TEST_CASE (ZoneAndRuleAreaKeysDoNotOverlap)
 
 BOOST_AUTO_TEST_CASE (CopyableFlagExcludesIdentityGeometryAndConnectivity)
 
 BOOST_AUTO_TEST_CASE (RelatedItemsAreNotCompatible)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/26]

BOOST_AUTO_TEST_CASE ( AnyEnabledForMatchesOnlyTheItemsOwnFamily )

◆ BOOST_AUTO_TEST_CASE() [2/26]

BOOST_AUTO_TEST_CASE ( CommonKeysReplaceTheFamilyKeysTheyCover )

◆ BOOST_AUTO_TEST_CASE() [3/26]

BOOST_AUTO_TEST_CASE ( CommonPropertyCopiesAcrossKinds )

◆ BOOST_AUTO_TEST_CASE() [4/26]

BOOST_AUTO_TEST_CASE ( CommonPropertyCopiesWithinOneKind )

◆ BOOST_AUTO_TEST_CASE() [5/26]

BOOST_AUTO_TEST_CASE ( CompatibleFamiliesAndTargets )

◆ BOOST_AUTO_TEST_CASE() [6/26]

◆ BOOST_AUTO_TEST_CASE() [7/26]

BOOST_AUTO_TEST_CASE ( CopyableFlagExcludesIdentityGeometryAndConnectivity )

◆ BOOST_AUTO_TEST_CASE() [8/26]

BOOST_AUTO_TEST_CASE ( CopyDoesNotCountIdenticalValuesAsChanges )

◆ BOOST_AUTO_TEST_CASE() [9/26]

BOOST_AUTO_TEST_CASE ( CopyIgnoresEnabledKeysOutsideTheCatalog )

◆ BOOST_AUTO_TEST_CASE() [10/26]

BOOST_AUTO_TEST_CASE ( CopyLeavesTheSourceUntouched )

◆ BOOST_AUTO_TEST_CASE() [11/26]

BOOST_AUTO_TEST_CASE ( CopyRejectsIncompatibleItemsWithoutMutation )

◆ BOOST_AUTO_TEST_CASE() [12/26]

BOOST_AUTO_TEST_CASE ( CopySafeProperties )

◆ BOOST_AUTO_TEST_CASE() [13/26]

BOOST_AUTO_TEST_CASE ( CopyTableCellTextProperties )

◆ BOOST_AUTO_TEST_CASE() [14/26]

BOOST_AUTO_TEST_CASE ( CopyZonePropertiesFromSolidModeSkipsUnavailableHatchProperties )

◆ BOOST_AUTO_TEST_CASE() [15/26]

BOOST_AUTO_TEST_CASE ( CopyZonePropertiesStagesHatchedModeBeforeHatchProperties )

◆ BOOST_AUTO_TEST_CASE() [16/26]

BOOST_AUTO_TEST_CASE ( CoupledPropertiesValidateAgainstFinalState )

◆ BOOST_AUTO_TEST_CASE() [17/26]

BOOST_AUTO_TEST_CASE ( CrossKindCopyIgnoresFamilyOnlyKeys )

◆ BOOST_AUTO_TEST_CASE() [18/26]

BOOST_AUTO_TEST_CASE ( DefaultKeysAreAllSafe )

◆ BOOST_AUTO_TEST_CASE() [19/26]

BOOST_AUTO_TEST_CASE ( EveryFamilyAdvertisesSomething )

◆ BOOST_AUTO_TEST_CASE() [20/26]

BOOST_AUTO_TEST_CASE ( FamilyAndPropertyLabelsSplitTheKey )

◆ BOOST_AUTO_TEST_CASE() [21/26]

BOOST_AUTO_TEST_CASE ( FillIsNotSharedWhereItCannotApply )

◆ BOOST_AUTO_TEST_CASE() [22/26]

BOOST_AUTO_TEST_CASE ( KeysAreCanonicalAndLabelsAreFriendly )

◆ BOOST_AUTO_TEST_CASE() [23/26]

BOOST_AUTO_TEST_CASE ( LayerIsNotSharedWithConnectedItems )

◆ BOOST_AUTO_TEST_CASE() [24/26]

BOOST_AUTO_TEST_CASE ( RelatedItemsAreNotCompatible )

◆ BOOST_AUTO_TEST_CASE() [25/26]

BOOST_AUTO_TEST_CASE ( UnrelatedKindsAreNotCompatible )

Definition at line 71 of file test_match_properties.cpp.

References MATCH_PROPERTIES_CATALOG::Compatible(), text, and via.

◆ BOOST_AUTO_TEST_CASE() [26/26]

BOOST_AUTO_TEST_CASE ( ZoneAndRuleAreaKeysDoNotOverlap )