|
KiCad PCB EDA Suite
|
#include <memory>#include <boost/test/unit_test.hpp>#include <api/api_handler_sch.h>#include <api/api_utils.h>#include <api/common/commands/editor_commands.pb.h>#include <api/common/envelope.pb.h>#include <api/headless_sch_context.h>#include <api/schematic/schematic_types.pb.h>#include <schematic_utils/schematic_file_util.h>#include <settings/settings_manager.h>#include <schematic.h>#include <advanced_config.h>#include <connection_graph.h>#include <sch_label.h>#include <sch_line.h>#include <sch_screen.h>#include <sch_sheet.h>#include <set>#include <scoped_set_reset.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (RevertDocumentRejectedWithOpenCommit) | |
| BOOST_AUTO_TEST_CASE (CustomPropertyCannotDuplicateSystemProperty) | |
| BOOST_AUTO_TEST_CASE (SymbolFieldTakesPrecedenceOverCustomProperty) | |
| BOOST_AUTO_TEST_CASE (NetlistRebuildsSelectedConnectivityAndFiltersNativeItems) | |
| BOOST_AUTO_TEST_CASE (NetlistPreservesNativeHierarchyMembershipAndExcludesBuses) | |
| BOOST_AUTO_TEST_CASE (NetlistReportsRebuildFailureAndAllowsRetry) | |
| BOOST_AUTO_TEST_CASE | ( | CustomPropertyCannotDuplicateSystemProperty | ) |
Definition at line 126 of file test_sch_api_handler.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), API_HANDLER::Handle(), and result.
| BOOST_AUTO_TEST_CASE | ( | NetlistPreservesNativeHierarchyMembershipAndExcludesBuses | ) |
Definition at line 280 of file test_sch_api_handler.cpp.
References actual, KIID::AsStdString(), BOOST_REQUIRE(), BOOST_TEST_CONTEXT(), expected, ADVANCED_CFG::GetCfg(), SCH_LINE::GetStartPoint(), API_HANDLER::Handle(), EDA_ITEM::m_Uuid, model, SCH_LINE::Move(), path, result, SCH_LABEL_T, and SCH_LINE_T.
| BOOST_AUTO_TEST_CASE | ( | NetlistRebuildsSelectedConnectivityAndFiltersNativeItems | ) |
Definition at line 209 of file test_sch_api_handler.cpp.
References KIID::AsStdString(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), BOOST_TEST_CONTEXT(), ADVANCED_CFG::GetCfg(), API_HANDLER::Handle(), EDA_ITEM::m_Uuid, model, name, path, result, SCH_LABEL_T, EDA_TEXT::SetText(), and ToStdString().
| BOOST_AUTO_TEST_CASE | ( | NetlistReportsRebuildFailureAndAllowsRetry | ) |
Definition at line 388 of file test_sch_api_handler.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), ADVANCED_CFG::GetCfg(), SCH_LABEL_BASE::GetShownText(), API_HANDLER::Handle(), model, path, result, SCH_LABEL::SCH_LABEL(), SCH_LABEL_T, and source.
| BOOST_AUTO_TEST_CASE | ( | RevertDocumentRejectedWithOpenCommit | ) |
Definition at line 107 of file test_sch_api_handler.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), API_HANDLER::Handle(), and result.
| BOOST_AUTO_TEST_CASE | ( | SymbolFieldTakesPrecedenceOverCustomProperty | ) |
Definition at line 164 of file test_sch_api_handler.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), API_HANDLER::Handle(), and result.