|
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 <schematic.h>#include <sch_netchain.h>#include <sch_sheet.h>#include <settings/settings_manager.h>#include <locale_io.h>Go to the source code of this file.
Classes | |
| struct | NETCHAIN_RECALC_REFRESH_FIXTURE |
Functions | |
| BOOST_FIXTURE_TEST_CASE (NetChain_RefreshCommittedChainAcrossUnconditionalRecalc, NETCHAIN_RECALC_REFRESH_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE (NetChain_RefreshPreservesOverridesOnCommittedChain, NETCHAIN_RECALC_REFRESH_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE (NetChain_RefreshPreservesTerminalPinOverride, NETCHAIN_RECALC_REFRESH_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE | ( | NetChain_RefreshCommittedChainAcrossUnconditionalRecalc | , |
| NETCHAIN_RECALC_REFRESH_FIXTURE | ) |
Definition at line 53 of file test_net_chain_recalc_refresh.cpp.
References BOOST_CHECK_EQUAL(), BOOST_CHECK_MESSAGE(), BOOST_REQUIRE(), CONNECTION_GRAPH::CreateNetChainFromPotential(), dummy, CONNECTION_GRAPH::GetNetChainByName(), SCH_NETCHAIN::GetNets(), CONNECTION_GRAPH::GetPotentialNetChains(), SCH_NETCHAIN::GetSymbols(), SCH_NETCHAIN::GetTerminalRef(), KI_TEST::LoadSchematic(), and CONNECTION_GRAPH::Recalculate().
| BOOST_FIXTURE_TEST_CASE | ( | NetChain_RefreshPreservesOverridesOnCommittedChain | , |
| NETCHAIN_RECALC_REFRESH_FIXTURE | ) |
Definition at line 122 of file test_net_chain_recalc_refresh.cpp.
References KIGFX::COLOR4D::b, BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), CONNECTION_GRAPH::CreateNetChainFromPotential(), dummy, KIGFX::COLOR4D::g, SCH_NETCHAIN::GetColor(), CONNECTION_GRAPH::GetNetChainByName(), SCH_NETCHAIN::GetNetClass(), CONNECTION_GRAPH::GetPotentialNetChains(), KI_TEST::LoadSchematic(), KIGFX::COLOR4D::r, CONNECTION_GRAPH::Recalculate(), SCH_NETCHAIN::SetColor(), SCH_NETCHAIN::SetNetClass(), and KIGFX::COLOR4D::UNSPECIFIED.
| BOOST_FIXTURE_TEST_CASE | ( | NetChain_RefreshPreservesTerminalPinOverride | , |
| NETCHAIN_RECALC_REFRESH_FIXTURE | ) |
Definition at line 162 of file test_net_chain_recalc_refresh.cpp.
References KIID::AsString(), BOOST_CHECK_MESSAGE(), BOOST_REQUIRE(), CONNECTION_GRAPH::CreateNetChainFromPotential(), dummy, CONNECTION_GRAPH::GetNetChainByName(), CONNECTION_GRAPH::GetPotentialNetChains(), SCH_NETCHAIN::GetTerminalPinA(), SCH_NETCHAIN::GetTerminalPinB(), KI_TEST::LoadSchematic(), niluuid, CONNECTION_GRAPH::Recalculate(), and CONNECTION_GRAPH::ReplaceNetChainTerminalPin().