Seth Hillbrand
6b915049d1
Check singular arcs connection
Even if there are no other segments in the line chain, we still should
check for arc connections in cases of individual arcs on a line chain
2 years ago
Seth Hillbrand
9e48b388fe
Add additional QA sliver check
2 years ago
Seth Hillbrand
96a34e5b57
Consolidate Maximum clearance calculation
We were calculating the same thing in three locations and we missed
adding the clearance from the footprints in, resulting in bad fills and
missed drc errors (see QA addition)
2 years ago
Seth Hillbrand
45ed38a63b
Update qa tests to use new zone fill algo
2 years ago
Seth Hillbrand
998e749918
Move some DRC regression tests
The RegressionZoneFillTests handle issues that are resolved by the zone
filler, so Clipper2 problematic fill belongs there. Otherwise, the
remaining tests should not refill the zones before running DRC because
we expect the DRC to catch errors without needing a refill
2 years ago
Marek Roszko
8d4db2edf5
Move tests around
3 years ago
Marek Roszko
aacc9746e3
Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere
3 years ago
Jeff Young
64a6fc0fd4
Push UNITS_PROVIDER down into a low-level mixin.
This allows us to also construct cheap UNIT_PROVIDERs for specific
tasks when necessary.
3 years ago
Marek Roszko
66e8931405
Remove IU_PER_MM thats standalone
3 years ago
Mark Roszko
b00178adb3
Nuke base_units from orbit
3 years ago
Jeff Young
1f347582f8
Introduce new marker type so we can track DRC errors on the drawing sheet.
Fixes https://gitlab.com/kicad/code/kicad/issues/12221
3 years ago
Sylwester Kocjan
0d64fc8c09
qa: move unittests to the separate directory
4 years ago
jean-pierre charras
3e4fa8143a
QA test: fix incorrect call to BOOST_TEST_MESSGE.
It expects a C string, not a wxString.
4 years ago
Jeff Young
2172810600
Performance: better sharing of zone fills.
4 years ago
Jeff Young
3deaf902bb
Retire the V5 zone fill algorithm.
Fixes https://gitlab.com/kicad/code/kicad/issues/10578
4 years ago
Marek Roszko
c4c56de708
Neurotically update position wxPoint usages
4 years ago
Jeff Young
ab583a32f9
Better layer handling for DRC markers.
Fixes https://gitlab.com/kicad/code/kicad/issues/10126
4 years ago
Jeff Young
e6ca9837a2
Clear numbers from non-numberable pads and don't run DRC on them.
This was also the last straw on the misnamed PAD::GetName() and
PAD::SetName(), which are now PAD::GetNumber() and PAD::SetNumber().
Fixes https://gitlab.com/kicad/code/kicad/issues/9017
4 years ago
Jeff Young
c5e195bdff
Cleanup (includes and formatting).
4 years ago
Jeff Young
c00f4ed5d2
Add regression tests for track cleaner.
4 years ago
Jeff Young
878538abff
Run each Boost test with it's own fixture.
4 years ago
Jeff Young
faa1ff4ec6
Add false-negative DRC tests (and fix first bug found by them).
4 years ago
Jeff Young
bceb3794f8
Remove ZONE_FILLER_TOOL since it's not really necessary.
It was causing intermittent failures on GTK. We'll no doubt want
tools in the QA framework at some point, but probably not necessary
for 6.0....
4 years ago
Seth Hillbrand
5155093ec0
Fix compile issue on gcc
4 years ago
Jeff Young
8d6cd4ad99
Add a bunch more zone fill and DRC regression tests.
Also tries to fix a compile issue on gcc.
4 years ago
Jeff Young
b8bb04c432
Release project before potentially reloading project and board.
4 years ago
Jeff Young
8c69a856fc
Add zone filler tests.
One test has pads of a bunch of different shapes and provokes some
errors to make sure they're caught.
The others are all past issues with the zone filler to make sure we
don't suffer any regressions. (They should all just pass with no DRC
errors.)
4 years ago