|
KiCad PCB EDA Suite
|
#include <boost/test/unit_test.hpp>#include <pcbnew/pcb_io/kicad_sexpr/pcb_io_kicad_sexpr.h>#include <board.h>#include <footprint.h>#include <pad.h>#include <pcb_track.h>#include <qa_utils/wx_utils/unit_test_utils.h>#include <pcbnew_utils/board_file_utils.h>#include <pcbnew_utils/board_test_utils.h>#include <wx/filename.h>#include <filesystem>Go to the source code of this file.
Classes | |
| struct | SIGNAL_PAD_FIXTURE |
Functions | |
| BOOST_AUTO_TEST_CASE (SignalTerminalPadsRoundTrip) | |
| BOOST_AUTO_TEST_CASE (SingleNetSignalNamePersists) | |
| BOOST_AUTO_TEST_CASE (SignalsSurviveBuildListOfNets) | |
| BOOST_AUTO_TEST_CASE | ( | SignalsSurviveBuildListOfNets | ) |
Definition at line 150 of file test_net_chain_terminal_pads.cpp.
References BOOST_CHECK_EQUAL(), name, PCB_TRACK::SetEnd(), BOARD_CONNECTED_ITEM::SetNetCode(), and PCB_TRACK::SetStart().
| BOOST_AUTO_TEST_CASE | ( | SignalTerminalPadsRoundTrip | ) |
Definition at line 43 of file test_net_chain_terminal_pads.cpp.
References FOOTPRINT::Add(), KIID::AsString(), BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), BOOST_TEST_MESSAGE(), CIRCLE, F_Cu, FOOTPRINT, NETINFO_ITEM::GetNetChain(), PAD::GetPosition(), NETINFO_ITEM::GetTerminalPad(), EDA_ITEM::m_Uuid, PAD, pad, PCB_TRACK::SetEnd(), PAD::SetFrontShape(), BOARD_CONNECTED_ITEM::SetNet(), NETINFO_ITEM::SetNetChain(), BOARD_CONNECTED_ITEM::SetNetCode(), PAD::SetNumber(), PAD::SetPosition(), FOOTPRINT::SetReference(), PAD::SetSize(), PCB_TRACK::SetStart(), and NETINFO_ITEM::SetTerminalPad().
| BOOST_AUTO_TEST_CASE | ( | SingleNetSignalNamePersists | ) |
Definition at line 131 of file test_net_chain_terminal_pads.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), NETINFO_ITEM::GetNetChain(), PCB_TRACK::SetEnd(), NETINFO_ITEM::SetNetChain(), BOARD_CONNECTED_ITEM::SetNetCode(), and PCB_TRACK::SetStart().