KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_issue24072_symbol_arc_edit_mode.cpp File Reference

Regression test for https://gitlab.com/kicad/code/kicad/-/issues/24072. More...

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (DefaultValueIsKeepCenter)
 
 BOOST_AUTO_TEST_CASE (ArcEditModeRoundTripsThroughJson)
 

Detailed Description

Regression test for https://gitlab.com/kicad/code/kicad/-/issues/24072.

The Symbol Editor uses SYMBOL_EDITOR_SETTINGS, not EESCHEMA_SETTINGS. Cycling the arc editing mode previously dereferenced a null EESCHEMA_SETTINGS pointer via SCH_BASE_FRAME::eeconfig() and segfaulted. This test verifies that the Symbol Editor settings carry an arc edit mode that can be loaded, stored, and round-tripped through the JSON parameter store.

Definition in file test_issue24072_symbol_arc_edit_mode.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/2]

◆ BOOST_AUTO_TEST_CASE() [2/2]

BOOST_AUTO_TEST_CASE ( DefaultValueIsKeepCenter )