Mikolaj Wielgus
71bfbfaa70
Test SCH_PIN rotation and mirroring
4 years ago
Mikolaj Wielgus
2e1862de1c
Run AutoAutoplaceFields() in SCH_SHEET constructor
A constructor should create a fully initialized object.
4 years ago
Mikolaj Wielgus
65dad31d48
Test SCH_SHEET rotation and mirroring
4 years ago
Seth Hillbrand
694bea187e
Explicitly build nets when running test boards
Suggested by @craftyjon , this builds the list of nets needed for DRC
engine before running QA
4 years ago
Mikolaj Wielgus
65af3a8568
Make sheet pin positions invariant to four rotations more often
4 years ago
Mikolaj Wielgus
4b87c4c21c
Test SCH_SHEET_PIN rotation
Also remove useless variables and memory leaks in tests.
4 years ago
Mikolaj Wielgus
513aba1552
Clean includes in EDA_RECT test
4 years ago
Mikolaj Wielgus
152a583863
Generic SCH_ITEM tests
4 years ago
Mikolaj Wielgus
22de7256ae
Make sure all KICAD_T values are correct with a test
4 years ago
jean-pierre charras
7bd2073bc0
QA test: fix a not working test on msys2
KIID::SeedGenerator( 0l ) worked, but did not give same values for KIID
than calculated from another platform.
4 years ago
Jon Evans
1f27fff1ea
Explicitly build connectivity for board after loading in QA
4 years ago
Jon Evans
08cb573e11
Do not propagate bus entries across buses and wires at the same point
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9678
4 years ago
Jon Evans
fa5f8cae96
Fix missing rename from ba6ae4fa
4 years ago
Jon Evans
b4342d813b
Fix SHAPE_LINE_CHAIN::Slice when end is an arc followed by a point
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9770
4 years ago
Jeff Young
ba6ae4fa9b
Kicad has many plugins. This one is for the pcb.
4 years ago
Jon Evans
1e8284bc1a
Add ability to seed the KIID generator
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9689
4 years ago
Roberto Fernandez Bautista
8f1126bdfc
Fix qa test utility GEOM_TEST::IsOutlineValid
4 years ago
Roberto Fernandez Bautista
389cb7d4bc
Add SHAPE_LINE_CHAIN tests for arcs with shared points
4 years ago
Roberto Fernandez Bautista
17407b850c
Add qa tests for SHAPE_POLY_SET arcs that wrap around from end to start
4 years ago
jean-pierre charras
3495135b08
Fix compil issue in QA (missing function)
4 years ago
Roberto Fernandez Bautista
3f60765016
Fix incorrect tolerance applied to CollideArcToPolygonApproximation qa test
4 years ago
Roberto Fernandez Bautista
d47bd3a04d
Rewrite broken collision routine SHAPE_ARC::Collide( SEG& aSeg )
4 years ago
Roberto Fernandez Bautista
9b43689a76
Add SHAPE_ARC to SEG collision test cases
4 years ago
Roberto Fernandez Bautista
ad3b4f25c2
Add tests for shape_line_chain collision containing arcs
4 years ago
Jeff Young
92e2f51f57
Fix duplicate UUIDs in test cases.
4 years ago
Mikolaj Wielgus
e1cc7cfbe0
Change wire width from 5 mils back to 6 mils
These were remnants of https://gitlab.com/kicad/code/kicad/-/issues/7865
4 years ago
Mikolaj Wielgus
0260961fe3
Add test for EDA_RECT::Inflate
4 years ago
Johannes Pfister
64f77b3596
PNS: Add support for 90-degree corner modes
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6902
4 years ago
Jeff Young
eaf10a04dd
Improved naming.
4 years ago
Peter Montgomery
71b07b59c5
Pcbnew: Added "All Items" clear/set to "Filter Selection" dialog
4 years ago
Floris Lambrechts
f72f637a06
pcbnew: Add basic Python unit tests for CONNECTIVITY_DATA
4 years ago
jean-pierre charras
c4e775c694
Fix bug in qa, drc_proto.h (link issue).
A virtual pure function was called inside drc_proto.h.
4 years ago
Jeff Young
81e72bafd7
Fix test case.
4 years ago
Jeff Young
b52529521e
Replace individual LIB_* shapes with LIB_SHAPE (based on EDA_SHAPE).
Also moves to more capable FILL_T model that can be shared.
4 years ago
Jeff Young
9b9e379aa0
Overhaul arc internal model to not over-specify information.
4 years ago
Seth Hillbrand
9a8d1246cc
We don't keep a CHANGELOG.TXT
Direct interested readers to AUTHORS.TXT instead.
4 years ago
Seth Hillbrand
548e5f49bd
Clean up unused variable usage
Unused variables in function calls can be commented out. Unused
return variables get a new routine `ignore_unused()` that silences the
warnings with zero overhead.
4 years ago
Jeff Young
701623b50e
Fix compile error in mocks.
4 years ago
Roberto Fernandez Bautista
4abee7c2eb
Fix SHAPE_LINE_CHAIN::Split when inserting a point on an arc
Ensure the arc is split into two at the point specified.
Partly fixes https://gitlab.com/kicad/code/kicad/-/issues/9023
Additional work required to ensure that the shove state is preserved.
4 years ago
Jeff Young
bf145dd633
Confine allow-locked-pad-selection-even-when-filtered to single-select.
Also make sure text in a locked footprint is not selected if the locked
items filter is unset.
Fixes https://gitlab.com/kicad/code/kicad/issues/9227
4 years ago
Roberto Fernandez Bautista
dc1fd3d9ba
PNS test app: Add logging information for curved track routing
4 years ago
Jeff Young
b84d1456d5
KIFACE_I -> KIFACE_BASE.
4 years ago
Seth Hillbrand
60a593b44b
Fix defines for qa mock
4 years ago
Jeff Young
a397e85589
Implement PTH/NPTH/courtyard collision tests.
Fixes https://gitlab.com/kicad/code/kicad/issues/9081
4 years ago
Seth Hillbrand
8a305eec32
Remove broken RefDesStringCompare
This function attempted a poor-man's natural compare but it assumed
specific structure of the string. This broke for strings with
numberings that looked like decimals.
Instead, we use our natural string comparison function and remove the
references to this older function and its similar elements.
Fixes https://gitlab.com/kicad/code/kicad/issues/9067
4 years ago
Seth Hillbrand
3a7721d41c
Remove now-invalid mock call
4 years ago
Roberto Fernandez Bautista
ed39b33d74
Fix edge case in CIRCLE::Intersect that caused a divide-by-zero crash
Also add some additional test cases.
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
1e23ce1c95
Pull some fixes back from 7.0.
1) An earlier 6.0 fix to apply pad clearance overrides to NPTH pads
got broken, so this replaces it.
2) Allow min/max/opt to be set by different rules.
3) Fixes a bug where board minimum enforcement over a local override
didn't get the right message text.
4 years ago
Jeff Young
1a252b4f96
Add a compile error for ill-defined rules, and more performance.
Also adds const-safety to GetBoard().
4 years ago