KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_pdf_output_path.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <qa_utils/file_utils.h>
#include <filesystem>
#include <fstream>
#include <functional>
#include <memory>
#include <wx/string.h>
#include <cli/exit_codes.h>
#include <jobs/job_export_pcb_pdf.h>
#include <pcbnew_jobs_handler.h>
#include <pcbnew_utils/board_file_utils.h>

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (ExportPdfSingleDocumentOutputPath)
 
 BOOST_AUTO_TEST_CASE (ExportPdfSingleDocumentTrailingDisabledLayers)
 
static std::string plotOneLayerToPdf (const std::string &aBoardFile, PCB_LAYER_ID aLayer, const std::string &aTag, const std::function< void(JOB_EXPORT_PCB_PDF *)> &aConfigure={})
 
 BOOST_AUTO_TEST_CASE (ExportPdfFrontPageBookmarksOnlyFrontFootprints)
 
 BOOST_AUTO_TEST_CASE (ExportPdfBackPageBookmarksOnlyBackFootprints)
 
 BOOST_AUTO_TEST_CASE (ExportPdfBoardOutlinePageBookmarksNoFootprints)
 
 BOOST_AUTO_TEST_CASE (ExportPdfFabPageSkipsHiddenDoNotPopulateFootprints)
 
 BOOST_AUTO_TEST_CASE (ExportPdfInnerLayerPageSkipsSurfaceMountFootprints)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/7]

BOOST_AUTO_TEST_CASE ( ExportPdfBackPageBookmarksOnlyBackFootprints )

Definition at line 166 of file test_pdf_output_path.cpp.

References B_Fab, and plotOneLayerToPdf().

◆ BOOST_AUTO_TEST_CASE() [2/7]

BOOST_AUTO_TEST_CASE ( ExportPdfBoardOutlinePageBookmarksNoFootprints )

Definition at line 178 of file test_pdf_output_path.cpp.

References Edge_Cuts, and plotOneLayerToPdf().

◆ BOOST_AUTO_TEST_CASE() [3/7]

BOOST_AUTO_TEST_CASE ( ExportPdfFabPageSkipsHiddenDoNotPopulateFootprints )

Definition at line 191 of file test_pdf_output_path.cpp.

References F_Fab, and plotOneLayerToPdf().

◆ BOOST_AUTO_TEST_CASE() [4/7]

BOOST_AUTO_TEST_CASE ( ExportPdfFrontPageBookmarksOnlyFrontFootprints )

Definition at line 154 of file test_pdf_output_path.cpp.

References F_Fab, and plotOneLayerToPdf().

◆ BOOST_AUTO_TEST_CASE() [5/7]

BOOST_AUTO_TEST_CASE ( ExportPdfInnerLayerPageSkipsSurfaceMountFootprints )

Definition at line 210 of file test_pdf_output_path.cpp.

References In1_Cu, and plotOneLayerToPdf().

◆ BOOST_AUTO_TEST_CASE() [6/7]

◆ BOOST_AUTO_TEST_CASE() [7/7]

◆ plotOneLayerToPdf()

static std::string plotOneLayerToPdf ( const std::string & aBoardFile,
PCB_LAYER_ID aLayer,
const std::string & aTag,
const std::function< void(JOB_EXPORT_PCB_PDF *)> & aConfigure = {} )
static