|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <connectivity/conn_navigation.h>#include <connectivity/conn_facade.h>#include <schematic_utils/schematic_file_util.h>#include <schematic.h>#include <settings/settings_manager.h>#include <advanced_config.h>#include <connection_graph.h>#include <sch_item.h>#include <sch_label.h>#include <sch_line.h>#include <sch_screen.h>#include <sch_sheet.h>#include <sch_symbol.h>#include <algorithm>#include <set>#include <scoped_set_reset.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (AliasMemberQueriesMatchNativeMembership) | |
| BOOST_AUTO_TEST_CASE (SharedScreenLocalNetsKeepTheirInstanceMembership) | |
| BOOST_AUTO_TEST_CASE (UnprefixedAliasAndExpandedBusReachTheSamePhysicalItems) | |
| BOOST_AUTO_TEST_CASE (StaleRootPreservesLiveChildMembership) | |
| BOOST_AUTO_TEST_CASE (SharedScreenGlobalNetKeepsBothSheetRows) | |
| BOOST_AUTO_TEST_CASE (BusHighlightAndCrossProbeResolveMembersWithoutLegacyRows) | |
| BOOST_AUTO_TEST_CASE (DisplayingSharedScreenReferencesPreservesPublishedConnectivity) | |
| BOOST_AUTO_TEST_CASE (NetclassAssignmentCandidatesUsePublishedNets) | |
| BOOST_AUTO_TEST_CASE | ( | AliasMemberQueriesMatchNativeMembership | ) |
Definition at line 42 of file test_connectivity_navigation.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), ADVANCED_CFG::GetCfg(), KI_TEST::LoadSchematic(), ADVANCED_CFG::m_ConnectivityEngine, name, SCH_CONNECTIVITY::NAVIGATION_QUERY::NetItems(), SCH_CONNECTIVITY::NAVIGATION_QUERY::NetNames(), path, and SCH_LABEL_T.
| BOOST_AUTO_TEST_CASE | ( | BusHighlightAndCrossProbeResolveMembersWithoutLegacyRows | ) |
Definition at line 226 of file test_connectivity_navigation.cpp.
References BOOST_REQUIRE(), ADVANCED_CFG::GetCfg(), SCH_ITEM::GetConnectionName(), KI_TEST::LoadSchematic(), SCH_CONNECTIVITY::NAVIGATION_QUERY::NetItems(), SCH_LABEL_T, and SCH_CONNECTIVITY::NAVIGATION_QUERY::SignalNames().
| BOOST_AUTO_TEST_CASE | ( | DisplayingSharedScreenReferencesPreservesPublishedConnectivity | ) |
Definition at line 262 of file test_connectivity_navigation.cpp.
References BOOST_REQUIRE(), copy, expected, ADVANCED_CFG::GetCfg(), KI_TEST::LoadSchematic(), name, SCH_CONNECTIVITY::NAVIGATION_QUERY::NetItems(), SCH_CONNECTIVITY::NAVIGATION_QUERY::NetNames(), path, SCH_SYMBOL_T, and SCH_SYMBOL::SetRef().
| BOOST_AUTO_TEST_CASE | ( | NetclassAssignmentCandidatesUsePublishedNets | ) |
Definition at line 303 of file test_connectivity_navigation.cpp.
References actual, SCH_SCREEN::Append(), BOOST_REQUIRE(), expected, ADVANCED_CFG::GetCfg(), group, SCH_SCREEN::Items(), KI_TEST::LoadSchematic(), EDA_ITEM::m_Uuid, SCH_LABEL_BASE::Move(), SCH_LINE::Move(), EE_RTREE::OfType(), SCH_LABEL_T, SCH_LINE_T, and EDA_TEXT::SetText().
| BOOST_AUTO_TEST_CASE | ( | SharedScreenGlobalNetKeepsBothSheetRows | ) |
Definition at line 185 of file test_connectivity_navigation.cpp.
References BOOST_REQUIRE(), copy, ADVANCED_CFG::GetCfg(), SCH_ITEM::GetConnectionName(), KI_TEST::LoadSchematic(), name, SCH_CONNECTIVITY::NAVIGATION_QUERY::NetItems(), result, and SCH_GLOBAL_LABEL_T.
| BOOST_AUTO_TEST_CASE | ( | SharedScreenLocalNetsKeepTheirInstanceMembership | ) |
Definition at line 91 of file test_connectivity_navigation.cpp.
References BOOST_REQUIRE(), copy, ADVANCED_CFG::GetCfg(), SCH_ITEM::GetConnectionName(), KI_TEST::LoadSchematic(), name, SCH_CONNECTIVITY::NAVIGATION_QUERY::NetItems(), path, result, and SCH_LABEL_T.
| BOOST_AUTO_TEST_CASE | ( | StaleRootPreservesLiveChildMembership | ) |
Definition at line 165 of file test_connectivity_navigation.cpp.
References BOOST_REQUIRE(), expected, ADVANCED_CFG::GetCfg(), KI_TEST::LoadSchematic(), name, SCH_CONNECTIVITY::NAVIGATION_QUERY::NetItems(), and SCH_CONNECTIVITY::NAVIGATION_QUERY::NetNames().
| BOOST_AUTO_TEST_CASE | ( | UnprefixedAliasAndExpandedBusReachTheSamePhysicalItems | ) |
Definition at line 136 of file test_connectivity_navigation.cpp.
References BOOST_REQUIRE(), ADVANCED_CFG::GetCfg(), KI_TEST::LoadSchematic(), and SCH_CONNECTIVITY::NAVIGATION_QUERY::NetItems().