|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <pcbnew_utils/board_test_utils.h>#include <board.h>#include <board_design_settings.h>#include <eda_pattern_match.h>#include <project/net_settings.h>#include <board_connected_item.h>#include <import_net_names.h>#include <netinfo.h>#include <reporter.h>#include <settings/settings_manager.h>#include <set>#include <tuple>Go to the source code of this file.
Classes | |
| struct | IMPORT_NET_NAMES_FIXTURE |
Functions | |
| BOOST_AUTO_TEST_CASE (RenamePreservesConnectedItemsAndBothNetIndexes) | |
| BOOST_AUTO_TEST_CASE (InvalidMappingsLeaveEveryNetUnchanged) | |
| BOOST_AUTO_TEST_CASE (SimultaneousNameSwapPreservesNetIdentity) | |
| BOOST_AUTO_TEST_CASE (ExactNetclassAssignmentsFollowRenamedNets) | |
| BOOST_AUTO_TEST_CASE (NetColorAssignmentsFollowRenamedNets) | |
| BOOST_AUTO_TEST_CASE | ( | ExactNetclassAssignmentsFollowRenamedNets | ) |
Definition at line 140 of file test_import_net_names.cpp.
References ApplyImportedNetNameMap(), BOOST_REQUIRE(), NETINFO_ITEM::GetNetClass(), name, and reporter.
| BOOST_AUTO_TEST_CASE | ( | InvalidMappingsLeaveEveryNetUnchanged | ) |
Definition at line 87 of file test_import_net_names.cpp.
References ApplyImportedNetNameMap(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), name, and reporter.
| BOOST_AUTO_TEST_CASE | ( | NetColorAssignmentsFollowRenamedNets | ) |
Definition at line 172 of file test_import_net_names.cpp.
References ApplyImportedNetNameMap(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), and reporter.
| BOOST_AUTO_TEST_CASE | ( | RenamePreservesConnectedItemsAndBothNetIndexes | ) |
Definition at line 48 of file test_import_net_names.cpp.
References ApplyImportedNetNameMap(), BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), NETINFO_ITEM::GetNetCode(), PCB_PAD_T, PCB_TRACE_T, PCB_ZONE_T, and reporter.
| BOOST_AUTO_TEST_CASE | ( | SimultaneousNameSwapPreservesNetIdentity | ) |
Definition at line 123 of file test_import_net_names.cpp.
References ApplyImportedNetNameMap(), BOOST_REQUIRE(), NETINFO_ITEM::GetNetCode(), and reporter.