|
KiCad PCB EDA Suite
|
Tests for PROJECT_FILE class. More...
#include <qa_utils/wx_utils/unit_test_utils.h>#include <project/project_file.h>#include <wildcards_and_files_ext.h>#include <filesystem>Go to the source code of this file.
Classes | |
| class | PROJECT_FILE_TEST_FIXTURE |
Functions | |
| BOOST_AUTO_TEST_CASE (SaveAsUpdatesTopLevelSheetNames) | |
| Test that SaveAs updates top-level sheet names when they match the old project name. | |
Tests for PROJECT_FILE class.
Definition in file test_project_file.cpp.
| BOOST_AUTO_TEST_CASE | ( | SaveAsUpdatesTopLevelSheetNames | ) |
Test that SaveAs updates top-level sheet names when they match the old project name.
Regression test for https://gitlab.com/kicad/code/kicad/-/issues/22853
Definition at line 65 of file test_project_file.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), TOP_LEVEL_SHEET_INFO::filename, PROJECT_FILE::GetTopLevelSheets(), name, TOP_LEVEL_SHEET_INFO::name, FILEEXT::ProjectFileExtension, PROJECT_FILE::SaveAs(), and TOP_LEVEL_SHEET_INFO::uuid.