|
KiCad PCB EDA Suite
|
Test for issue #25469: a sheet pin saved with an empty name made the whole schematic unopenable. More...
#include <boost/test/unit_test.hpp>#include <eeschema_test_utils.h>#include <sch_io/kicad_sexpr/sch_io_kicad_sexpr.h>#include <sch_screen.h>#include <sch_sheet.h>#include <sch_sheet_pin.h>#include <schematic.h>#include <settings/settings_manager.h>#include <qa_utils/wx_utils/unit_test_utils.h>#include <locale_io.h>#include <wildcards_and_files_ext.h>#include <wx/filename.h>Go to the source code of this file.
Classes | |
| struct | ISSUE25469_FIXTURE |
Functions | |
| BOOST_AUTO_TEST_CASE (LoadsSheetWithUnnamedPin) | |
Test for issue #25469: a sheet pin saved with an empty name made the whole schematic unopenable.
Loading must keep the pin so the user can rename or delete it.
Definition in file test_issue25469_empty_sheet_pin_name.cpp.
| BOOST_AUTO_TEST_CASE | ( | LoadsSheetWithUnnamedPin | ) |
Definition at line 70 of file test_issue25469_empty_sheet_pin_name.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), dummy, KI_TEST::GetEeschemaTestDataDir(), SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), FILEEXT::KiCadSchematicFileExtension, SCH_IO_KICAD_SEXPR::LoadSchematicFile(), EE_RTREE::OfType(), pin, and SCH_SHEET_T.