|
KiCad PCB EDA Suite
|
#include <boost/test/unit_test.hpp>#include <tool/tool_manager.h>#include <pcbnew_utils/board_test_utils.h>#include <board.h>#include <board_commit.h>#include <footprint.h>#include <pcb_shape.h>#include <pcb_text.h>#include <pcb_group.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (RecursesThroughGroups) | |
| BOOST_AUTO_TEST_CASE (MakeImageCreatesTransientCopy) | |
| BOOST_AUTO_TEST_CASE (ReturnsBoardFromManager) | |
| BOOST_AUTO_TEST_CASE (RemoveFootprintTextFromBoardEditor) | |
| BOOST_AUTO_TEST_CASE | ( | MakeImageCreatesTransientCopy | ) |
Definition at line 53 of file test_board_commit.cpp.
References BOOST_REQUIRE(), copy, BOARD_COMMIT::MakeImage(), SEGMENT, and UR_TRANSIENT.
| BOOST_AUTO_TEST_CASE | ( | RecursesThroughGroups | ) |
Definition at line 32 of file test_board_commit.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), CHT_MODIFY, COMMIT::GetStatus(), group, RECURSE, TOOL_MANAGER::RegisterTool(), SEGMENT, TOOL_MANAGER::SetEnvironment(), and BOARD_COMMIT::Stage().
| BOOST_AUTO_TEST_CASE | ( | RemoveFootprintTextFromBoardEditor | ) |
Definition at line 78 of file test_board_commit.cpp.
References BOARD::Add(), FOOTPRINT::Add(), BOOST_CHECK_EQUAL(), F_Fab, FOOTPRINT, FOOTPRINT::GraphicalItems(), BOARD_COMMIT::Push(), TOOL_MANAGER::RegisterTool(), COMMIT::Remove(), TOOL_MANAGER::SetEnvironment(), SKIP_UNDO, and text.
| BOOST_AUTO_TEST_CASE | ( | ReturnsBoardFromManager | ) |
Definition at line 65 of file test_board_commit.cpp.
References BOOST_CHECK_EQUAL(), BOARD_COMMIT::GetBoard(), TOOL_MANAGER::RegisterTool(), and TOOL_MANAGER::SetEnvironment().