|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <board.h>#include <pcb_group.h>#include <pcb_track.h>#include <pcb_view.h>#include <tool/tool_manager.h>#include <tools/pcb_selection_tool.h>Go to the source code of this file.
Functions | |
| static PCB_TRACK * | addSegment (BOARD &aBoard, const VECTOR2I &aStart, const VECTOR2I &aEnd) |
| BOOST_AUTO_TEST_CASE (ExpansionStaysInsideEnteredGroup) | |
| BOOST_AUTO_TEST_CASE (ExpansionFromOutsideLeavesGroupIntact) | |
|
static |
Definition at line 40 of file test_issue24967.cpp.
References addSegment(), F_Cu, PCB_TRACK::SetEnd(), BOARD_CONNECTED_ITEM::SetLayer(), PCB_TRACK::SetStart(), and PCB_TRACK::SetWidth().
Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().
| BOOST_AUTO_TEST_CASE | ( | ExpansionFromOutsideLeavesGroupIntact | ) |
Definition at line 94 of file test_issue24967.cpp.
References BOARD::Add(), KIGFX::PCB_VIEW::Add(), addSegment(), BOOST_CHECK_EQUAL(), BOARD::BuildConnectivity(), PCB_SELECTION_TOOL::GetEnteredGroup(), group, EDA_ITEM::IsSelected(), TOOL_MANAGER::RegisterTool(), PCB_SELECTION_TOOL::selectAllConnectedTracks(), TOOL_MANAGER::SetEnvironment(), and PCB_SELECTION_TOOL::STOP_NEVER.
| BOOST_AUTO_TEST_CASE | ( | ExpansionStaysInsideEnteredGroup | ) |
Definition at line 52 of file test_issue24967.cpp.
References BOARD::Add(), KIGFX::PCB_VIEW::Add(), SELECTION_TOOL::AddItemToSel(), addSegment(), BOOST_CHECK_EQUAL(), BOARD::BuildConnectivity(), PCB_SELECTION_TOOL::EnterGroup(), PCB_SELECTION_TOOL::GetEnteredGroup(), group, EDA_ITEM::IsSelected(), TOOL_MANAGER::RegisterTool(), PCB_SELECTION_TOOL::selectAllConnectedTracks(), TOOL_MANAGER::SetEnvironment(), and PCB_SELECTION_TOOL::STOP_NEVER.