|
KiCad PCB EDA Suite
|
#include <boost/test/unit_test.hpp>#include <local_history.h>#include <pgm_base.h>#include <sch_screen.h>#include <sch_sheet.h>#include <schematic.h>#include <settings/common_settings.h>#include <settings/settings_manager.h>#include <wildcards_and_files_ext.h>#include <vector>#include <wx/filename.h>#include <wx/stdpaths.h>Go to the source code of this file.
Classes | |
| struct | SCOPED_SETTING_OVERRIDE< T > |
| struct | HISTORY_AUTOSAVE_FIXTURE |
Functions | |
| BOOST_FIXTURE_TEST_CASE (SavesLegacySheetIntoHistoryPath, HISTORY_AUTOSAVE_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE (CleanSheetStillSavedWhenLocalHistoryEnabled, HISTORY_AUTOSAVE_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE | ( | CleanSheetStillSavedWhenLocalHistoryEnabled | , |
| HISTORY_AUTOSAVE_FIXTURE | ) |
Definition at line 102 of file test_history_autosave_legacy.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), COMMON_SETTINGS::AUTO_BACKUP::enabled, COMMON_SETTINGS::AUTO_BACKUP::format, PGM_BASE::GetCommonSettings(), SCH_SHEET::GetScreen(), INCREMENTAL, COMMON_SETTINGS::m_Backup, Pgm(), BASE_SCREEN::SetContentModified(), SCH_SCREEN::SetFileName(), and SCH_SHEET::SetFileName().
| BOOST_FIXTURE_TEST_CASE | ( | SavesLegacySheetIntoHistoryPath | , |
| HISTORY_AUTOSAVE_FIXTURE | ) |
Definition at line 72 of file test_history_autosave_legacy.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_SHEET::GetScreen(), FILEEXT::LegacySchematicFileExtension, SCH_SCREEN::SetFileName(), and SCH_SHEET::SetFileName().