|
KiCad PCB EDA Suite
|
#include <boost/test/unit_test.hpp>#include <tool/tool_manager.h>#include <sch_commit.h>#include <sch_group.h>#include <sch_text.h>#include <sch_line.h>#include <sch_screen.h>#include <sch_label.h>#include <schematic.h>#include <connection_graph.h>#include <schematic_utils/schematic_file_util.h>#include <settings/settings_manager.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (RecursesThroughGroups) | |
| BOOST_AUTO_TEST_CASE (ClearsSelectedByDragFlag) | |
| BOOST_AUTO_TEST_CASE (CommitCanDeferConnectivityUntilExplicitRebuild) | |
| BOOST_AUTO_TEST_CASE (RevertingCleanupRestoresMergedWireBeforeItsMove) | |
| BOOST_AUTO_TEST_CASE | ( | ClearsSelectedByDragFlag | ) |
Definition at line 52 of file test_sch_commit.cpp.
References BOOST_CHECK_EQUAL(), CHT_MODIFY, COMMIT::GetStatus(), SELECTED_BY_DRAG, SCH_COMMIT::Stage(), and text.
| BOOST_AUTO_TEST_CASE | ( | CommitCanDeferConnectivityUntilExplicitRebuild | ) |
Definition at line 67 of file test_sch_commit.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), COMMIT::Empty(), SCH_ITEM::GetConnectionName(), EDA_TEXT::GetText(), GLOBAL_CLEANUP, SCH_SCREEN::Items(), KI_TEST::LoadSchematic(), COMMIT::Modify(), name, EE_RTREE::OfType(), path, SCH_COMMIT::Push(), SCH_LABEL_T, TOOL_MANAGER::SetEnvironment(), EDA_TEXT::SetText(), SKIP_CONNECTIVITY, and SKIP_UNDO.
| BOOST_AUTO_TEST_CASE | ( | RecursesThroughGroups | ) |
Definition at line 35 of file test_sch_commit.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), CHT_MODIFY, COMMIT::GetStatus(), group, RECURSE, and SCH_COMMIT::Stage().
| BOOST_AUTO_TEST_CASE | ( | RevertingCleanupRestoresMergedWireBeforeItsMove | ) |
Definition at line 101 of file test_sch_commit.cpp.
References BOOST_REQUIRE(), SCH_SCREEN::CheckIfOnDrawList(), end, SCH_SCREEN::GetConnectivityItem(), KI_TEST::LoadSchematic(), move, TOOL_MANAGER::SetEnvironment(), STRUCT_DELETED, and SCH_SCREEN::Update().