|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <pcbnew_utils/board_file_utils.h>#include <algorithm>#include <fstream>#include <map>#include <memory>#include <set>#include <sstream>#include <string>#include <board.h>#include <board_design_settings.h>#include <board_stackup_manager/board_stackup.h>#include <geometry/shape_poly_set.h>#include <reporter.h>#include <pcbnew/pcb_io/odbpp/pcb_io_odbpp.h>#include "odb_test_utils.h"Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (OdbCopperLayerTypesFollowBoardSetup) | |
| BOOST_AUTO_TEST_CASE (OdbRoutLayerCarriesEveryIsland) | |
| BOOST_AUTO_TEST_CASE (OdbPlatedEdgesAreRoutPlated) | |
| BOOST_AUTO_TEST_CASE (OdbMaskPasteSilkReferenceCopper) | |
| BOOST_AUTO_TEST_CASE (OdbLayerTypeOverrides) | |
| BOOST_AUTO_TEST_CASE (OdbMatrixIdsAreUnique) | |
| BOOST_AUTO_TEST_CASE (OdbSlotsStayOnDrillAndGainRoutChains) | |
| BOOST_AUTO_TEST_CASE (OdbApiKitchenSinkMatrixReferencesResolve) | |
| BOOST_AUTO_TEST_CASE (OdbRoutDoesNotInferMissingBoardOutline) | |
| BOOST_AUTO_TEST_CASE (OdbCollidingLayerNamesKeepMatrixReferences) | |
| BOOST_AUTO_TEST_CASE | ( | OdbApiKitchenSinkMatrixReferencesResolve | ) |
Definition at line 413 of file test_odbpp_rout.cpp.
References BOOST_REQUIRE(), ExportOdb(), ODB_PRODUCT::Matrix(), and TempDir().
| BOOST_AUTO_TEST_CASE | ( | OdbCollidingLayerNamesKeepMatrixReferences | ) |
Definition at line 448 of file test_odbpp_rout.cpp.
References B_Cu, BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), PCB_IO_ODBPP::Export(), ExportOdb(), F_Cu, In1_Cu, FAB::LegacySections(), ODB_EXPORT_OPTIONS::m_sections, name, KI_TEST::SCOPED_TEMP_DIR::Path(), ReadLines(), User_1, User_2, User_3, and User_4.
| BOOST_AUTO_TEST_CASE | ( | OdbCopperLayerTypesFollowBoardSetup | ) |
Definition at line 146 of file test_odbpp_rout.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), ExportOdb(), F_Cu, In1_Cu, LT_MIXED, LT_POWER, and TempDir().
| BOOST_AUTO_TEST_CASE | ( | OdbLayerTypeOverrides | ) |
Definition at line 298 of file test_odbpp_rout.cpp.
References B_Cu, BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), Dwgs_User, PCB_IO_ODBPP::Export(), F_SilkS, In1_Cu, ODB_EXPORT_OPTIONS::m_layerOverrides, and KI_TEST::SCOPED_TEMP_DIR::Path().
| BOOST_AUTO_TEST_CASE | ( | OdbMaskPasteSilkReferenceCopper | ) |
Definition at line 239 of file test_odbpp_rout.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), ExportOdb(), and TempDir().
| BOOST_AUTO_TEST_CASE | ( | OdbMatrixIdsAreUnique | ) |
Definition at line 334 of file test_odbpp_rout.cpp.
References BOOST_REQUIRE(), ExportOdb(), ReadLines(), and TempDir().
| BOOST_AUTO_TEST_CASE | ( | OdbPlatedEdgesAreRoutPlated | ) |
Definition at line 213 of file test_odbpp_rout.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), OdbFeatureFile::CountRecordsWithFlag(), ExportOdb(), ODB_PRODUCT::LayerFile(), ReadLines(), and TempDir().
| BOOST_AUTO_TEST_CASE | ( | OdbRoutDoesNotInferMissingBoardOutline | ) |
Definition at line 432 of file test_odbpp_rout.cpp.
References BOOST_REQUIRE(), ExportOdb(), ODB_PRODUCT::LayerFile(), ReadLines(), reporter, and TempDir().
| BOOST_AUTO_TEST_CASE | ( | OdbRoutLayerCarriesEveryIsland | ) |
Definition at line 168 of file test_odbpp_rout.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), OdbFeatureFile::CountRecordsWithInteger(), ExportOdb(), ODB_PRODUCT::LayerFile(), next(), SHAPE_POLY_SET::OutlineCount(), ReadLines(), and TempDir().
| BOOST_AUTO_TEST_CASE | ( | OdbSlotsStayOnDrillAndGainRoutChains | ) |
Definition at line 374 of file test_odbpp_rout.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), OdbFeatureFile::CountRecordsWithFlag(), ExportOdb(), ODB_PRODUCT::LayerFile(), ODB_PRODUCT::Matrix(), ReadLines(), and TempDir().