KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_drc_stub_length.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <filesystem>
#include <fstream>
#include <base_units.h>
#include <board.h>
#include <board_design_settings.h>
#include <drc/drc_engine.h>
#include <drc/drc_item.h>
#include <footprint.h>
#include <netinfo.h>
#include <pad.h>
#include <pcb_marker.h>
#include <pcb_track.h>
#include <pcbnew/pcb_io/kicad_sexpr/pcb_io_kicad_sexpr.h>
#include <drc/drc_rule_parser.h>
#include <reporter.h>

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (StubLengthFiresOnIntermediateNetOnly)
 
 BOOST_AUTO_TEST_CASE (StubLengthQuietOnTwoNetChain)
 
 BOOST_AUTO_TEST_CASE (StubLengthIncludesPadToDie)
 
 BOOST_AUTO_TEST_CASE (StubLengthAcceptsTimeDomainUnits)
 
 BOOST_AUTO_TEST_CASE (ReturnPathDoesNotCarryTimeDomainOption)
 

Variables

static const char * BOARD_TEXT
 
static const char * DRU_TEXT
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/5]

◆ BOOST_AUTO_TEST_CASE() [2/5]

◆ BOOST_AUTO_TEST_CASE() [3/5]

◆ BOOST_AUTO_TEST_CASE() [4/5]

◆ BOOST_AUTO_TEST_CASE() [5/5]

Variable Documentation

◆ BOARD_TEXT

const char* BOARD_TEXT
static

Definition at line 48 of file test_drc_stub_length.cpp.

◆ DRU_TEXT

const char* DRU_TEXT
static
Initial value:
= R"KICAD((version 1)
(rule "StubBudget"
(condition "A.NetClass == 'Default'")
(constraint stub_length (min 0mm) (max 5mm))
)
)KICAD"

Definition at line 94 of file test_drc_stub_length.cpp.