|
KiCad PCB EDA Suite
|
#include <boost/test/unit_test.hpp>#include <filesystem>#include <fstream>#include <memory>#include <sstream>#include <string>#include <system_error>#include <board.h>#include <board_commit.h>#include <footprint.h>#include <layer_ids.h>#include <locale_io.h>#include <pcb_shape.h>#include <pcb_track.h>#include <zone.h>#include <pcbnew_utils/board_file_utils.h>#include <pcbnew_utils/board_test_utils.h>#include <specctra_import_export/specctra.h>#include <tool/tool_manager.h>#include <reporter.h>#include <ranges>#include <wx/filename.h>#include <wx/string.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (SpecctraExportQuoteInField) | |
| BOOST_AUTO_TEST_CASE (SpecctraExportDuplicateEmptyRefs) | |
| BOOST_AUTO_TEST_CASE (SpecctraExportRotatedFootprintKeepout) | |
| BOOST_AUTO_TEST_CASE (SpecctraImportAllegroPolyWire) | |
| BOOST_AUTO_TEST_CASE (SpecctraImportSkipsInvalidWireLayer) | |
| BOOST_AUTO_TEST_CASE (SpecctraDsnExportParseable) | |
| BOOST_AUTO_TEST_CASE (SpecctraDsnExportContent) | |
| BOOST_AUTO_TEST_CASE (SpecctraExportReporterCapturesOutlineWarning) | |
| BOOST_AUTO_TEST_CASE | ( | SpecctraDsnExportContent | ) |
Definition at line 356 of file test_specctra_export.cpp.
References BOOST_CHECK(), BOOST_REQUIRE(), and DSN::ExportBoardToSpecctraFile().
| BOOST_AUTO_TEST_CASE | ( | SpecctraDsnExportParseable | ) |
Definition at line 335 of file test_specctra_export.cpp.
References BOOST_CHECK(), DSN::ExportBoardToSpecctraFile(), DSN::SPECCTRA_DB::GetPCB(), DSN::SPECCTRA_DB::LoadPCB(), and IO_ERROR::What().
| BOOST_AUTO_TEST_CASE | ( | SpecctraExportDuplicateEmptyRefs | ) |
Definition at line 166 of file test_specctra_export.cpp.
References BOOST_CHECK(), and DSN::ExportBoardToSpecctraFile().
| BOOST_AUTO_TEST_CASE | ( | SpecctraExportQuoteInField | ) |
Definition at line 144 of file test_specctra_export.cpp.
References BOOST_CHECK(), BOOST_REQUIRE(), and DSN::ExportBoardToSpecctraFile().
| BOOST_AUTO_TEST_CASE | ( | SpecctraExportReporterCapturesOutlineWarning | ) |
Definition at line 387 of file test_specctra_export.cpp.
References BOOST_CHECK(), DSN::ExportBoardToSpecctraFile(), and reporter.
| BOOST_AUTO_TEST_CASE | ( | SpecctraExportRotatedFootprintKeepout | ) |
Definition at line 196 of file test_specctra_export.cpp.
References BOARD::Add(), FOOTPRINT::Add(), ANGLE_90, ZONE::AppendCorner(), BOOST_REQUIRE(), Edge_Cuts, DSN::ExportBoardToSpecctraFile(), F_Cu, FOOTPRINT, image, pcbIUScale, SEGMENT, ZONE::SetDoNotAllowTracks(), ZONE::SetDoNotAllowVias(), PCB_SHAPE::SetEnd(), ZONE::SetIsRuleArea(), PCB_SHAPE::SetLayer(), ZONE::SetLayer(), FOOTPRINT::SetOrientation(), FOOTPRINT::SetPosition(), FOOTPRINT::SetReference(), and PCB_SHAPE::SetStart().
| BOOST_AUTO_TEST_CASE | ( | SpecctraImportAllegroPolyWire | ) |
Definition at line 250 of file test_specctra_export.cpp.
References BOOST_CHECK_EQUAL(), and F_Cu.
| BOOST_AUTO_TEST_CASE | ( | SpecctraImportSkipsInvalidWireLayer | ) |
Definition at line 286 of file test_specctra_export.cpp.
References BOOST_CHECK_EQUAL(), and F_Cu.