|
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 | SIGNALS_CLASS_COLOR_FIXTURE |
Functions | |
| BOOST_FIXTURE_TEST_CASE (NetChain_ApplyClassAndColorOverrides, SIGNALS_CLASS_COLOR_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE (NetChain_NoOverrideStaysDefault, SIGNALS_CLASS_COLOR_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE | ( | NetChain_ApplyClassAndColorOverrides | , |
| SIGNALS_CLASS_COLOR_FIXTURE | ) |
Definition at line 45 of file test_net_chains_class_color.cpp.
References KIGFX::COLOR4D::a, KIGFX::COLOR4D::b, BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), CONNECTION_GRAPH::CreateNetChainFromPotential(), dummy, KIGFX::COLOR4D::g, SCH_NETCHAIN::GetColor(), SCH_NETCHAIN::GetName(), SCH_NETCHAIN::GetNetClass(), CONNECTION_GRAPH::GetPotentialNetChains(), KI_TEST::LoadSchematic(), KIGFX::COLOR4D::r, CONNECTION_GRAPH::Recalculate(), CONNECTION_GRAPH::SetNetChainColorOverrides(), CONNECTION_GRAPH::SetNetChainNetClassOverrides(), and KIGFX::COLOR4D::UNSPECIFIED.
| BOOST_FIXTURE_TEST_CASE | ( | NetChain_NoOverrideStaysDefault | , |
| SIGNALS_CLASS_COLOR_FIXTURE | ) |
Definition at line 91 of file test_net_chains_class_color.cpp.
References BOOST_REQUIRE(), CONNECTION_GRAPH::CreateNetChainFromPotential(), dummy, SCH_NETCHAIN::GetColor(), SCH_NETCHAIN::GetNetClass(), CONNECTION_GRAPH::GetPotentialNetChains(), KI_TEST::LoadSchematic(), CONNECTION_GRAPH::Recalculate(), CONNECTION_GRAPH::SetNetChainColorOverrides(), CONNECTION_GRAPH::SetNetChainNetClassOverrides(), and KIGFX::COLOR4D::UNSPECIFIED.