KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_footprint.cpp File Reference
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <qa_utils/geometry/geometry.h>
#include <utility>
#include <board.h>
#include <board_commit.h>
#include <core/kicad_algo.h>
#include <core/mirror.h>
#include <embedded_files.h>
#include <geometry/shape_utils.h>
#include <footprint.h>
#include <mmh3_hash.h>
#include <pad.h>
#include <pcb_field.h>
#include <pcb_shape.h>
#include <pcbnew_utils/board_test_utils.h>
#include <tool/tool_manager.h>

Go to the source code of this file.

Functions

static bool CourtyardEqualPredicate (const SHAPE_POLY_SET &a, const SHAPE_POLY_SET &b)
 
 BOOST_AUTO_TEST_CASE (FootprintCourtyardAndHull)
 
 BOOST_AUTO_TEST_CASE (FootprintCloneSharesEmbeddedFiles)
 
 BOOST_AUTO_TEST_CASE (FootprintBoundingBoxWithoutMandatoryFields)
 
 BOOST_AUTO_TEST_CASE (FootprintUpdateFieldsReusesMandatoryFields)
 
 BOOST_AUTO_TEST_CASE (FootprintUpdateFieldsInvalidatesGeometryCache)
 
 BOOST_AUTO_TEST_CASE (FootprintUpdateFieldsRestoresMissingMandatoryField)
 
 BOOST_AUTO_TEST_CASE (FootprintRotationKeepsPolygonArcs)
 
 BOOST_AUTO_TEST_CASE (ExchangeFootprintPadOverridesFollowResetOption)
 "Update/reset clearance overrides" covers a footprint's pads, not just the footprint.
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/8]

◆ BOOST_AUTO_TEST_CASE() [2/8]

◆ BOOST_AUTO_TEST_CASE() [3/8]

◆ BOOST_AUTO_TEST_CASE() [4/8]

◆ BOOST_AUTO_TEST_CASE() [5/8]

◆ BOOST_AUTO_TEST_CASE() [6/8]

BOOST_AUTO_TEST_CASE ( FootprintUpdateFieldsInvalidatesGeometryCache )

◆ BOOST_AUTO_TEST_CASE() [7/8]

BOOST_AUTO_TEST_CASE ( FootprintUpdateFieldsRestoresMissingMandatoryField )

◆ BOOST_AUTO_TEST_CASE() [8/8]

◆ CourtyardEqualPredicate()

static bool CourtyardEqualPredicate ( const SHAPE_POLY_SET & a,
const SHAPE_POLY_SET & b )
static