|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <tool/tool_manager.h>#include <pcbnew_utils/board_test_utils.h>#include <board.h>#include <board_commit.h>#include <constraints/pcb_constraint.h>Go to the source code of this file.
Classes | |
| struct | COMMIT_FIXTURE |
Functions | |
| BOOST_FIXTURE_TEST_CASE (AddPushThenRemovePush, COMMIT_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE (AddRevertLeavesNothing, COMMIT_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE (ModifyRevertRestoresValue, COMMIT_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE | ( | AddPushThenRemovePush | , |
| COMMIT_FIXTURE | ) |
Definition at line 46 of file test_constraint_commit.cpp.
References COMMIT::Add(), BOOST_CHECK_EQUAL(), EDA_ITEM::m_Uuid, PARALLEL, BOARD_COMMIT::Push(), and COMMIT::Remove().
| BOOST_FIXTURE_TEST_CASE | ( | AddRevertLeavesNothing | , |
| COMMIT_FIXTURE | ) |
Definition at line 68 of file test_constraint_commit.cpp.
References COMMIT::Add(), HORIZONTAL, and BOARD_COMMIT::Revert().
| BOOST_FIXTURE_TEST_CASE | ( | ModifyRevertRestoresValue | , |
| COMMIT_FIXTURE | ) |
Definition at line 82 of file test_constraint_commit.cpp.
References COMMIT::Add(), BOOST_REQUIRE(), FIXED_LENGTH, PCB_CONSTRAINT::GetValue(), PCB_CONSTRAINT::HasValue(), COMMIT::Modify(), BOARD_COMMIT::Push(), BOARD_COMMIT::Revert(), and PCB_CONSTRAINT::SetValue().