|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <pcbnew_utils/board_test_utils.h>#include <diff_merge/pcb_differ.h>#include <diff_merge/kicad_diff_types.h>#include <diff_merge/kicad_merge_engine.h>#include "../../../pcbnew/diff_merge/pcb_merge_applier.h"#include <board.h>#include <settings/settings_manager.h>#include <wildcards_and_files_ext.h>#include <wx/file.h>#include <wx/filename.h>#include <wx/stdpaths.h>Go to the source code of this file.
Classes | |
| struct | CUSTOM_DRC_DIFF_MERGE_FIXTURE |
Functions | |
| BOOST_AUTO_TEST_CASE (NoSiblingFileEmitsNoDelta) | |
| BOOST_AUTO_TEST_CASE (OursAddsRulesEmitsDelta) | |
| BOOST_AUTO_TEST_CASE (DivergentRulesContentEmitsDelta) | |
| BOOST_AUTO_TEST_CASE (IdenticalRulesContentEmitsNoDelta) | |
| BOOST_AUTO_TEST_CASE (ApplierStagesOursRulesOnReport) | |
| BOOST_AUTO_TEST_CASE | ( | ApplierStagesOursRulesOnReport | ) |
Definition at line 251 of file test_custom_drc_diff_merge.cpp.
References KICAD_DIFF::PCB_MERGE_APPLIER::Apply(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), KICAD_DIFF::PCB_MERGE_APPLIER::REPORT::customDrcRules, KICAD_DIFF::PCB_MERGE_APPLIER::REPORT::customDrcRulesSet, KICAD_DIFF::PCB_DIFFER::Diff(), KICAD_DIFF::PCB_MERGE_APPLIER::GetReport(), KICAD_DIFF::KICAD_MERGE_ENGINE::Plan(), and KICAD_DIFF::PCB_MERGE_APPLIER::REPORT::projectFileTouched.
| BOOST_AUTO_TEST_CASE | ( | DivergentRulesContentEmitsDelta | ) |
Definition at line 202 of file test_custom_drc_diff_merge.cpp.
References BOOST_REQUIRE(), delta, KICAD_DIFF::PCB_DIFFER::Diff(), KICAD_DIFF::DOC_PROP_CUSTOM_RULES, findDocLevelChange(), findProperty(), and result.
| BOOST_AUTO_TEST_CASE | ( | IdenticalRulesContentEmitsNoDelta | ) |
Definition at line 225 of file test_custom_drc_diff_merge.cpp.
References KICAD_DIFF::PCB_DIFFER::Diff(), KICAD_DIFF::DOC_PROP_CUSTOM_RULES, findDocLevelChange(), findProperty(), and result.
| BOOST_AUTO_TEST_CASE | ( | NoSiblingFileEmitsNoDelta | ) |
Definition at line 166 of file test_custom_drc_diff_merge.cpp.
References BOOST_AUTO_TEST_CASE(), KICAD_DIFF::PCB_DIFFER::Diff(), KICAD_DIFF::DOC_PROP_CUSTOM_RULES, findDocLevelChange(), findProperty(), and result.
| BOOST_AUTO_TEST_CASE | ( | OursAddsRulesEmitsDelta | ) |
Definition at line 180 of file test_custom_drc_diff_merge.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), delta, KICAD_DIFF::PCB_DIFFER::Diff(), KICAD_DIFF::DOC_PROP_CUSTOM_RULES, findDocLevelChange(), findProperty(), and result.