|
KiCad PCB EDA Suite
|
Test suite for import of pre-v6 binary Eagle *.brd board files. More...
#include <pcbnew_utils/board_test_utils.h>#include <pcbnew_utils/board_file_utils.h>#include <qa_utils/wx_utils/unit_test_utils.h>#include <pcbnew/pcb_io/eagle/pcb_io_eagle.h>#include <board.h>#include <footprint.h>#include <netinfo.h>#include <pcb_track.h>#include <wx/filename.h>Go to the source code of this file.
Classes | |
| struct | EAGLE_BINARY_IMPORT_FIXTURE |
Functions | |
| BOOST_AUTO_TEST_CASE (LoadBinaryV4V5) | |
| Load a v4/v5 binary board (magic 0x10 0x00) which also carries the trailing free-text and DRC sections. | |
| BOOST_AUTO_TEST_CASE (LoadBinaryV3) | |
| Load a v3 binary board (magic 0x10 0x80). | |
Test suite for import of pre-v6 binary Eagle *.brd board files.
Definition in file test_eagle_binary_import.cpp.
| BOOST_AUTO_TEST_CASE | ( | LoadBinaryV3 | ) |
Load a v3 binary board (magic 0x10 0x80).
v3 files have no DRC or free-text sections, so this exercises the graceful-fallback path where the trailing sections are absent.
Definition at line 108 of file test_eagle_binary_import.cpp.
| BOOST_AUTO_TEST_CASE | ( | LoadBinaryV4V5 | ) |
Load a v4/v5 binary board (magic 0x10 0x00) which also carries the trailing free-text and DRC sections.
This load is the smoke test: the binary stream is decoded into a synthesized XML DOM and then walked by the shared XML loader.
Definition at line 90 of file test_eagle_binary_import.cpp.
References BOOST_AUTO_TEST_CASE().