|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <memory>#include <set>#include <eeschema_helpers.h>#include <symbol_fields_data_model.h>#include <locale_io.h>#include <sch_commit.h>#include <sch_field.h>#include <sch_reference_list.h>#include <sch_sheet_path.h>#include <sch_symbol.h>#include <schematic.h>#include <template_fieldnames.h>#include <tool/tool_manager.h>Go to the source code of this file.
Classes | |
| struct | ISSUE25112_FIXTURE |
Functions | |
| BOOST_FIXTURE_TEST_CASE (SheetScopedFieldEditSurvivesApply, ISSUE25112_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE (SheetScopedFieldClearCanBeReverted, ISSUE25112_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE (GroupedEditStateChecksEveryItem, ISSUE25112_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE (SheetScopedVariantEditStaysOnItsPath, ISSUE25112_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE (SheetScopedBoardExclusionSurvivesApply, ISSUE25112_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE (UntouchedMissingPresetFieldRemainsAbsent, ISSUE25112_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE (ExplicitEmptyValueCreatesField, ISSUE25112_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE (ExistingEmptyFieldCanBeCleared, ISSUE25112_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE (UserAddedColumnCreatesEmptyField, ISSUE25112_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE (RevertingVariantFieldCreationRestoresAbsence, ISSUE25112_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE | ( | ExistingEmptyFieldCanBeCleared | , |
| ISSUE25112_FIXTURE | ) |
Definition at line 334 of file test_issue25112_shared_sheet_field_scope.cpp.
References BOOST_REQUIRE(), model, and USER.
| BOOST_FIXTURE_TEST_CASE | ( | ExplicitEmptyValueCreatesField | , |
| ISSUE25112_FIXTURE | ) |
Definition at line 312 of file test_issue25112_shared_sheet_field_scope.cpp.
References BOOST_REQUIRE(), SCH_FIELD::GetText(), and model.
| BOOST_FIXTURE_TEST_CASE | ( | GroupedEditStateChecksEveryItem | , |
| ISSUE25112_FIXTURE | ) |
Definition at line 193 of file test_issue25112_shared_sheet_field_scope.cpp.
References SCH_SYMBOL::AddField(), BOOST_REQUIRE(), GetDefaultFieldName(), SCH_SYMBOL::GetField(), model, REFERENCE, SCH_FIELD::SetText(), UNTRANSLATED, and USER.
| BOOST_FIXTURE_TEST_CASE | ( | RevertingVariantFieldCreationRestoresAbsence | , |
| ISSUE25112_FIXTURE | ) |
Definition at line 376 of file test_issue25112_shared_sheet_field_scope.cpp.
References BOOST_REQUIRE(), and model.
| BOOST_FIXTURE_TEST_CASE | ( | SheetScopedBoardExclusionSurvivesApply | , |
| ISSUE25112_FIXTURE | ) |
Definition at line 281 of file test_issue25112_shared_sheet_field_scope.cpp.
References BOOST_REQUIRE(), and model.
| BOOST_FIXTURE_TEST_CASE | ( | SheetScopedFieldClearCanBeReverted | , |
| ISSUE25112_FIXTURE | ) |
Definition at line 164 of file test_issue25112_shared_sheet_field_scope.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCH_FIELD::GetText(), model, SCH_FIELD::SetText(), and USER.
| BOOST_FIXTURE_TEST_CASE | ( | SheetScopedFieldEditSurvivesApply | , |
| ISSUE25112_FIXTURE | ) |
Definition at line 150 of file test_issue25112_shared_sheet_field_scope.cpp.
References BOOST_CHECK_EQUAL(), FOOTPRINT, GetDefaultFieldName(), model, and UNTRANSLATED.
| BOOST_FIXTURE_TEST_CASE | ( | SheetScopedVariantEditStaysOnItsPath | , |
| ISSUE25112_FIXTURE | ) |
Definition at line 258 of file test_issue25112_shared_sheet_field_scope.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), FOOTPRINT, GetDefaultFieldName(), model, and UNTRANSLATED.
| BOOST_FIXTURE_TEST_CASE | ( | UntouchedMissingPresetFieldRemainsAbsent | , |
| ISSUE25112_FIXTURE | ) |
Definition at line 297 of file test_issue25112_shared_sheet_field_scope.cpp.
References BOOST_REQUIRE(), and model.
| BOOST_FIXTURE_TEST_CASE | ( | UserAddedColumnCreatesEmptyField | , |
| ISSUE25112_FIXTURE | ) |
Definition at line 358 of file test_issue25112_shared_sheet_field_scope.cpp.
References BOOST_REQUIRE(), SCH_FIELD::GetText(), and model.