|
KiCad PCB EDA Suite
|
The 3D model export job settings must survive a real save/load cycle through a .kicad_jobset on disk. More...
Public Member Functions | |
| JOB_EXPORT_PCB_3D_TEST_FIXTURE () | |
| ~JOB_EXPORT_PCB_3D_TEST_FIXTURE () | |
| JOB_EXPORT_PCB_3D * | loadFilteredJob (JOBSET &aJobset) |
| The reporter's second job, "3D model export (resistors only)". | |
| wxString | jobsetPath () const |
| wxString | jobsetContents () const |
Public Attributes | |
| fs::path | m_tempDir |
| fs::path | m_jobsetPath |
The 3D model export job settings must survive a real save/load cycle through a .kicad_jobset on disk.
An unmapped field is invisible in memory: the dialog reads it back from the still live job object and only a reload exposes the loss.
Regression tests for https://gitlab.com/kicad/code/kicad/-/issues/25107
Definition at line 43 of file test_job_export_pcb_3d.cpp.
|
inline |
Definition at line 46 of file test_job_export_pcb_3d.cpp.
References KIID::AsString(), BOOST_REQUIRE(), KI_TEST::GetTestDataRootDir(), m_jobsetPath, and m_tempDir.
|
inline |
Definition at line 59 of file test_job_export_pcb_3d.cpp.
References m_tempDir.
|
inline |
Definition at line 79 of file test_job_export_pcb_3d.cpp.
References jobsetPath(), and SafeReadFile().
|
inline |
Definition at line 77 of file test_job_export_pcb_3d.cpp.
References m_jobsetPath.
Referenced by jobsetContents().
|
inline |
The reporter's second job, "3D model export (resistors only)".
Definition at line 66 of file test_job_export_pcb_3d.cpp.
References BOOST_REQUIRE(), JOBSET::GetJobs(), and JSON_SETTINGS::LoadFromFile().
| fs::path JOB_EXPORT_PCB_3D_TEST_FIXTURE::m_jobsetPath |
Definition at line 82 of file test_job_export_pcb_3d.cpp.
Referenced by JOB_EXPORT_PCB_3D_TEST_FIXTURE(), and jobsetPath().
| fs::path JOB_EXPORT_PCB_3D_TEST_FIXTURE::m_tempDir |
Definition at line 81 of file test_job_export_pcb_3d.cpp.
Referenced by JOB_EXPORT_PCB_3D_TEST_FIXTURE(), and ~JOB_EXPORT_PCB_3D_TEST_FIXTURE().