|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <pcbnew_utils/board_test_utils.h>#include <algorithm>#include <memory>#include <api/api_pcb_utils.h>#include <api/api_utils.h>#include <board.h>#include <footprint.h>#include <kiid.h>#include <pad.h>#include <settings/settings_manager.h>Go to the source code of this file.
Classes | |
| struct | CROSS_PROBE_SELECTION_FIXTURE |
Functions | |
| BOOST_AUTO_TEST_CASE (SheetSelectionFindsItsFootprints) | |
| BOOST_AUTO_TEST_CASE (SiblingSheetsDoNotOverlap) | |
| BOOST_AUTO_TEST_CASE (RootSheetUuidIsIgnored) | |
| BOOST_AUTO_TEST_CASE (RootSheetSelectsTheWholeBoard) | |
| BOOST_AUTO_TEST_CASE (PinSpecResolvesToItsPad) | |
| BOOST_AUTO_TEST_CASE (SheetSpecResolvesThroughTheApi) | |
| BOOST_AUTO_TEST_CASE (SpecsResolveInRequestOrder) | |
Variables | |
| static const wxString | c_verticalSheet = wxS( "00000000-0000-0000-0000-00004b3a1333" ) |
| static const wxString | c_horizontalSheet = wxS( "00000000-0000-0000-0000-00004b3a13a4" ) |
| static const std::size_t | c_footprintsPerSheet = 29 |
| static const std::size_t | c_footprintsOnBoard = 72 |
| BOOST_AUTO_TEST_CASE | ( | PinSpecResolvesToItsPad | ) |
Definition at line 142 of file test_cross_probe_selection.cpp.
References BOOST_CHECK_EQUAL(), pad, and PCB_PAD_T.
| BOOST_AUTO_TEST_CASE | ( | RootSheetSelectsTheWholeBoard | ) |
Definition at line 132 of file test_cross_probe_selection.cpp.
References BOOST_CHECK_EQUAL(), and c_footprintsOnBoard.
| BOOST_AUTO_TEST_CASE | ( | RootSheetUuidIsIgnored | ) |
Definition at line 119 of file test_cross_probe_selection.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), c_footprintsPerSheet, and c_verticalSheet.
| BOOST_AUTO_TEST_CASE | ( | SheetSelectionFindsItsFootprints | ) |
Definition at line 87 of file test_cross_probe_selection.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), c_footprintsOnBoard, c_footprintsPerSheet, c_horizontalSheet, and c_verticalSheet.
| BOOST_AUTO_TEST_CASE | ( | SheetSpecResolvesThroughTheApi | ) |
Definition at line 161 of file test_cross_probe_selection.cpp.
References BOOST_CHECK_EQUAL(), c_footprintsPerSheet, c_verticalSheet, and kiapi::common::PackSheetPath().
| BOOST_AUTO_TEST_CASE | ( | SiblingSheetsDoNotOverlap | ) |
Definition at line 97 of file test_cross_probe_selection.cpp.
References BOOST_CHECK_EQUAL(), c_footprintsPerSheet, c_horizontalSheet, and c_verticalSheet.
| BOOST_AUTO_TEST_CASE | ( | SpecsResolveInRequestOrder | ) |
Definition at line 171 of file test_cross_probe_selection.cpp.
References BOOST_CHECK_EQUAL().
|
static |
Definition at line 44 of file test_cross_probe_selection.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().
|
static |
Definition at line 43 of file test_cross_probe_selection.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().
|
static |
Definition at line 41 of file test_cross_probe_selection.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().
|
static |
Definition at line 40 of file test_cross_probe_selection.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().