|
KiCad PCB EDA Suite
|
#include <boost/test/unit_test.hpp>#include <qa_utils/wx_utils/unit_test_utils.h>#include <schematic_utils/schematic_file_util.h>#include <connection_graph.h>#include <connectivity/conn_netchain_input.h>#include <sch_netchain.h>#include <sch_label.h>#include <sch_screen.h>#include <sch_symbol.h>#include <schematic.h>#include <settings/settings_manager.h>#include <locale_io.h>#include <algorithm>#include <functional>#include <stdexcept>Go to the source code of this file.
Classes | |
| struct | NETCHAIN_ROLLBACK_FIXTURE |
Functions | |
| BOOST_FIXTURE_TEST_CASE (NetChain_RebuildFailureDiscardsCandidate, NETCHAIN_ROLLBACK_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE (NetChain_RebuildFailureLeavesResetGraphUnbuilt, NETCHAIN_ROLLBACK_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE (NetChain_FailedRefreshPreservesCommittedPayload, NETCHAIN_ROLLBACK_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE (NetChain_RebuildPublishesExistingAndNewChains, NETCHAIN_ROLLBACK_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE | ( | NetChain_FailedRefreshPreservesCommittedPayload | , |
| NETCHAIN_ROLLBACK_FIXTURE | ) |
Definition at line 154 of file test_net_chain_rollback.cpp.
References BOOST_REQUIRE(), SCH_ITEM::Connection(), SCH_NETCHAIN::GetNets(), SCH_NETCHAIN::GetSymbols(), KI_TEST::LoadSchematic(), path, CONNECTION_GRAPH::RebuildNetChainsTestHook(), SCH_LABEL_T, and EDA_TEXT::SetText().
| BOOST_FIXTURE_TEST_CASE | ( | NetChain_RebuildFailureDiscardsCandidate | , |
| NETCHAIN_ROLLBACK_FIXTURE | ) |
Definition at line 56 of file test_net_chain_rollback.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), dummy, CONNECTION_GRAPH::GetCommittedNetChains(), CONNECTION_GRAPH::GetNetChainByName(), KI_TEST::LoadSchematic(), name, CONNECTION_GRAPH::NetChainsBuilt(), path, CONNECTION_GRAPH::RebuildNetChainsTestHook(), CONNECTION_GRAPH::Recalculate(), and SCH_SYMBOL_T.
| BOOST_FIXTURE_TEST_CASE | ( | NetChain_RebuildFailureLeavesResetGraphUnbuilt | , |
| NETCHAIN_ROLLBACK_FIXTURE | ) |
Definition at line 119 of file test_net_chain_rollback.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), dummy, CONNECTION_GRAPH::GetCommittedNetChains(), CONNECTION_GRAPH::GetPotentialNetChains(), KI_TEST::LoadSchematic(), CONNECTION_GRAPH::NetChainsBuilt(), CONNECTION_GRAPH::RebuildNetChainsTestHook(), and CONNECTION_GRAPH::Recalculate().
| BOOST_FIXTURE_TEST_CASE | ( | NetChain_RebuildPublishesExistingAndNewChains | , |
| NETCHAIN_ROLLBACK_FIXTURE | ) |
Definition at line 213 of file test_net_chain_rollback.cpp.
References BOOST_REQUIRE(), KI_TEST::LoadSchematic(), and CONNECTION_GRAPH::RebuildNetChainsTestHook().