|
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 <sch_netchain.h>#include <schematic.h>#include <settings/settings_manager.h>#include <locale_io.h>#include <wx/debug.h>#include <functional>#include <stdexcept>Go to the source code of this file.
Classes | |
| struct | ASSERT_HANDLER_SCOPE |
| struct | NETCHAIN_ROLLBACK_FIXTURE |
Functions | |
| void | boost_test_inject_committed_net_chain (CONNECTION_GRAPH &aGraph, std::unique_ptr< SCH_NETCHAIN > aChain) |
| BOOST_FIXTURE_TEST_CASE (NetChain_RebuildRollback_TruncatesAndRestoresOnThrow, NETCHAIN_ROLLBACK_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE (NetChain_RebuildRollback_NoGrowthStillRestoresFlagAndPotentials, NETCHAIN_ROLLBACK_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE | ( | NetChain_RebuildRollback_NoGrowthStillRestoresFlagAndPotentials | , |
| NETCHAIN_ROLLBACK_FIXTURE | ) |
Definition at line 158 of file test_net_chain_rollback.cpp.
References BOOST_CHECK_EQUAL(), BOOST_CHECK_MESSAGE(), 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_RebuildRollback_TruncatesAndRestoresOnThrow | , |
| NETCHAIN_ROLLBACK_FIXTURE | ) |
Definition at line 85 of file test_net_chain_rollback.cpp.
References BOOST_CHECK_MESSAGE(), BOOST_REQUIRE(), boost_test_inject_committed_net_chain(), dummy, CONNECTION_GRAPH::GetCommittedNetChains(), CONNECTION_GRAPH::GetNetChainByName(), KI_TEST::LoadSchematic(), CONNECTION_GRAPH::NetChainsBuilt(), CONNECTION_GRAPH::RebuildNetChainsTestHook(), and CONNECTION_GRAPH::Recalculate().
| void boost_test_inject_committed_net_chain | ( | CONNECTION_GRAPH & | aGraph, |
| std::unique_ptr< SCH_NETCHAIN > | aChain ) |
Definition at line 40 of file test_net_chain_save_root_only.cpp.
Referenced by BOOST_FIXTURE_TEST_CASE().