|
KiCad PCB EDA Suite
|
Public Member Functions | |
| DRC_EXCLUSION_REGRESSION_FIXTURE () | |
| std::string | generate_uuid () |
| bool | SaveBoardToFile (BOARD *board, const wxString &filename) |
| wxString | stageBoard (const wxString &aBoardNameStem, FileCleaner &aCleaner) |
| void | loadBoardAndVerifyInitialExclusions (const wxString &aBoardNameStem, int aExpectedInitialExclusions) |
| void | createAndVerifyInitialExclusionMarkers () |
| int | createAndVerifyAdditionalUnconnectedExclusions (int aAdditionalExclusions, int aInitialExclusions) |
| void | runDrcOnBoard () |
| void | saveBoardAndProjectToTempFiles (const wxString &aBoardNameStem, FileCleaner &aCleaner, wxString &aTempBoardFullPath, wxString &aTempProjectFullPath, wxString &aTempBoardStemName, bool aCopyBoardVerbatim=false) |
| void | reloadBoardAndVerifyExclusions (const wxString &aTempBoardStemName, int aExpectedExclusions) |
Public Attributes | |
| FileCleaner | m_tempFileCleaner |
| SETTINGS_MANAGER | m_settingsManager |
| std::unique_ptr< BOARD > | m_board |
| Folder in the test data, relative to it, that holds this test's private copy of the board. | |
| wxString | m_stagedDir |
Definition at line 107 of file test_drc_unconnected_items_exclusion_loss.cpp.
|
inline |
Definition at line 109 of file test_drc_unconnected_items_exclusion_loss.cpp.
References DRC_EXCLUSION_BASE_FIXTURE::DRC_EXCLUSION_BASE_FIXTURE().
|
inherited |
Definition at line 193 of file test_drc_unconnected_items_exclusion_loss.cpp.
References BOOST_CHECK_EQUAL(), BOOST_TEST_MESSAGE(), DRC_ITEM::Create(), DRCE_UNCONNECTED_ITEMS, generate_uuid(), m_board, BOARD_DESIGN_SETTINGS::m_DrcExclusions, and MARKER_BASE::SetExcluded().
|
inherited |
Definition at line 170 of file test_drc_unconnected_items_exclusion_loss.cpp.
References BOOST_CHECK_EQUAL(), BOOST_TEST_MESSAGE(), PCB_MARKER::FromProto(), DRC_EXCLUSION::GetComment(), m_board, BOARD_DESIGN_SETTINGS::m_DrcExclusions, MARKER_BASE::SetExcluded(), and DRC_EXCLUSION::ToProto().
|
inherited |
Definition at line 125 of file test_drc_unconnected_items_exclusion_loss.cpp.
Referenced by createAndVerifyAdditionalUnconnectedExclusions().
|
inherited |
Definition at line 154 of file test_drc_unconnected_items_exclusion_loss.cpp.
References BOOST_CHECK_EQUAL(), BOOST_TEST_MESSAGE(), KI_TEST::LoadBoard(), m_board, BOARD_DESIGN_SETTINGS::m_DrcExclusions, and m_settingsManager.
|
inherited |
Definition at line 272 of file test_drc_unconnected_items_exclusion_loss.cpp.
References BOOST_CHECK_EQUAL(), BOOST_TEST_MESSAGE(), KI_TEST::LoadBoard(), m_board, BOARD_DESIGN_SETTINGS::m_DrcExclusions, and m_settingsManager.
|
inherited |
Definition at line 227 of file test_drc_unconnected_items_exclusion_loss.cpp.
References BOOST_TEST_MESSAGE(), DRC_ENGINE::InitEngine(), m_board, BOARD_DESIGN_SETTINGS::m_DRCEngine, MM, and DRC_ENGINE::RunTests().
|
inherited |
Definition at line 240 of file test_drc_unconnected_items_exclusion_loss.cpp.
References FileCleaner::AddFile(), KI_TEST::GetPcbnewTestDataDir(), m_board, m_settingsManager, m_stagedDir, and SaveBoardToFile().
|
inherited |
Definition at line 289 of file test_drc_unconnected_items_exclusion_loss.cpp.
References BOOST_TEST_MESSAGE(), PCB_IO_MGR::FindPlugin(), PCB_IO_MGR::KICAD_SEXP, and IO_ERROR::What().
Referenced by saveBoardAndProjectToTempFiles().
|
inherited |
Definition at line 131 of file test_drc_unconnected_items_exclusion_loss.cpp.
References FileCleaner::AddDir(), BOOST_REQUIRE(), KI_TEST::GetPcbnewTestDataDir(), m_stagedDir, and source.
|
inherited |
Folder in the test data, relative to it, that holds this test's private copy of the board.
Definition at line 101 of file test_drc_unconnected_items_exclusion_loss.cpp.
Referenced by createAndVerifyAdditionalUnconnectedExclusions(), createAndVerifyInitialExclusionMarkers(), DRC_EXCLUSION_SAVE_FIXTURE::DRC_EXCLUSION_SAVE_FIXTURE(), loadBoardAndVerifyInitialExclusions(), reloadBoardAndVerifyExclusions(), runDrcOnBoard(), and saveBoardAndProjectToTempFiles().
|
inherited |
Definition at line 100 of file test_drc_unconnected_items_exclusion_loss.cpp.
Referenced by loadBoardAndVerifyInitialExclusions(), reloadBoardAndVerifyExclusions(), and saveBoardAndProjectToTempFiles().
|
inherited |
Definition at line 104 of file test_drc_unconnected_items_exclusion_loss.cpp.
Referenced by saveBoardAndProjectToTempFiles(), and stageBoard().
|
inherited |
Definition at line 99 of file test_drc_unconnected_items_exclusion_loss.cpp.